Searched refs:IsValidProtectMode (Results 1 – 3 of 3) sorted by relevance
46 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)));
48 static bool IsValidProtectMode(const WifiProtectMode &protectMode);
63 bool WifiProtectManager::IsValidProtectMode(const WifiProtectMode &protectMode) in IsValidProtectMode() function in OHOS::Wifi::WifiProtectManager157 if (!IsValidProtectMode(protectMode) || name.empty()) { in GetNearlyProtectMode()