Home
last modified time | relevance | path

Searched refs:IsValidProtectMode (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/common/
H A Dwifi_protect_manager_test.cpp46 EXPECT_TRUE(WifiProtectManager::IsValidProtectMode(WifiProtectMode::WIFI_PROTECT_FULL));
47 EXPECT_TRUE(WifiProtectManager::IsValidProtectMode(WifiProtectMode::WIFI_PROTECT_SCAN_ONLY));
48 … EXPECT_TRUE(WifiProtectManager::IsValidProtectMode(WifiProtectMode::WIFI_PROTECT_FULL_HIGH_PERF));
49 …EXPECT_TRUE(WifiProtectManager::IsValidProtectMode(WifiProtectMode::WIFI_PROTECT_FULL_LOW_LATENCY)…
54 EXPECT_FALSE(WifiProtectManager::IsValidProtectMode(static_cast<WifiProtectMode>(100)));
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_protect_manager.h48 static bool IsValidProtectMode(const WifiProtectMode &protectMode);
H A Dwifi_protect_manager.cpp63 bool WifiProtectManager::IsValidProtectMode(const WifiProtectMode &protectMode) in IsValidProtectMode() function in OHOS::Wifi::WifiProtectManager
157 if (!IsValidProtectMode(protectMode) || name.empty()) { in GetNearlyProtectMode()