Home
last modified time | relevance | path

Searched refs:g_mapSecTypeToKeyMgmt (Results 1 – 2 of 2) sorted by relevance

/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
Dwifi_c_hotspot.cpp61 static std::map<WifiSecurityType, OHOS::Wifi::KeyMgmt> g_mapSecTypeToKeyMgmt = { variable
69 … std::map<WifiSecurityType, OHOS::Wifi::KeyMgmt>::iterator iter = g_mapSecTypeToKeyMgmt.find(key); in GetKeyMgmtFromSecurityType()
70 return iter == g_mapSecTypeToKeyMgmt.end() ? OHOS::Wifi::KeyMgmt::NONE : iter->second; in GetKeyMgmtFromSecurityType()
75 for (auto& each : g_mapSecTypeToKeyMgmt) { in GetSecurityTypeFromKeyMgmt()
86 … std::map<WifiSecurityType, OHOS::Wifi::KeyMgmt>::iterator iter = g_mapSecTypeToKeyMgmt.find(key); in IsSecurityTypeSupported()
87 return iter != g_mapSecTypeToKeyMgmt.end(); in IsSecurityTypeSupported()
/foundation/communication/wifi/wifi/frameworks/js/napi/src/
Dwifi_napi_hotspot.cpp29 std::map<SecTypeJs, KeyMgmt> g_mapSecTypeToKeyMgmt = { variable
80 std::map<SecTypeJs, KeyMgmt>::iterator iter = g_mapSecTypeToKeyMgmt.find(SecTypeJs(secType)); in GetKeyMgmtFromJsSecurityType()
81 return iter == g_mapSecTypeToKeyMgmt.end() ? KeyMgmt::NONE : iter->second; in GetKeyMgmtFromJsSecurityType()
86 for (auto& each : g_mapSecTypeToKeyMgmt) { in GetJsSecurityTypeFromKeyMgmt()
96 return g_mapSecTypeToKeyMgmt.find(SecTypeJs(secType)) != g_mapSecTypeToKeyMgmt.end(); in IsSecTypeSupported()