diff --git a/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.cpp b/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.cpp index 82957b244..7d84e088d 100644 --- a/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.cpp +++ b/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.cpp @@ -26,6 +26,7 @@ DEFINE_WIFILOG_HOTSPOT_LABEL("WifiDeviceMgrServiceImpl"); namespace OHOS { namespace Wifi { + const std::string EXTENSION_BACKUP = "backup"; const std::string EXTENSION_RESTORE = "restore"; std::mutex WifiDeviceMgrServiceImpl::g_instanceLock; diff --git a/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.h b/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.h index 2160b6d4f..ae4362d9d 100644 --- a/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.h +++ b/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/wifi_device_mgr_service_impl.h @@ -25,6 +25,7 @@ namespace OHOS { namespace Wifi { + enum ServiceRunningState { STATE_NOT_START, STATE_RUNNING diff --git a/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_config_file_impl.h b/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_config_file_impl.h index 3674de228..6592f6c57 100644 --- a/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_config_file_impl.h +++ b/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_config_file_impl.h @@ -28,6 +28,7 @@ namespace OHOS { namespace Wifi { + constexpr int WIFI_CONFIG_FILE_LINE_MAX_LENGTH = 4096; /** * @Description Remove head and tail space diff --git a/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_settings.cpp b/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_settings.cpp index 2e10775e3..38eccc1b3 100644 --- a/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_settings.cpp +++ b/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/wifi_settings.cpp @@ -36,6 +36,7 @@ namespace OHOS { namespace Wifi { + #ifdef DTFUZZ_TEST static WifiSettings* gWifiSettings = nullptr; #endif