Home
last modified time | relevance | path

Searched refs:keyMgmtMask (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkConnectionEventInfo.java32 public final BitSet keyMgmtMask; field in NetworkConnectionEventInfo
35 boolean isFilsConnection, BitSet keyMgmtMask) { in NetworkConnectionEventInfo() argument
40 this.keyMgmtMask = keyMgmtMask; in NetworkConnectionEventInfo()
50 + ", keyMgmtMask=" + keyMgmtMask in toString()
DSupplicantStaNetworkHalAidlImpl.java252 BitSet keyMgmtMask = HalAidlUtil.supplicantToWifiConfigurationKeyMgmtMask( in loadWifiConfiguration() local
254 keyMgmtMask = removeFastTransitionFlags(keyMgmtMask); in loadWifiConfiguration()
255 keyMgmtMask = removeSha256KeyMgmtFlags(keyMgmtMask); in loadWifiConfiguration()
256 keyMgmtMask = removePskSaeUpgradableTypeFlags(keyMgmtMask); in loadWifiConfiguration()
257 config.setSecurityParams(keyMgmtMask); in loadWifiConfiguration()
259 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA256), in loadWifiConfiguration()
260 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA384)); in loadWifiConfiguration()
1418 private boolean setKeyMgmt(int keyMgmtMask) { in setKeyMgmt() argument
1425 mISupplicantStaNetwork.setKeyMgmt(keyMgmtMask); in setKeyMgmt()
DSupplicantStaNetworkHalHidlImpl.java220 BitSet keyMgmtMask = supplicantToWifiConfigurationKeyMgmtMask(mKeyMgmtMask); in loadWifiConfiguration() local
221 keyMgmtMask = removeFastTransitionFlags(keyMgmtMask); in loadWifiConfiguration()
222 keyMgmtMask = removeSha256KeyMgmtFlags(keyMgmtMask); in loadWifiConfiguration()
223 keyMgmtMask = removePskSaeUpgradableTypeFlags(keyMgmtMask); in loadWifiConfiguration()
224 config.setSecurityParams(keyMgmtMask); in loadWifiConfiguration()
226 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA256), in loadWifiConfiguration()
227 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA384)); in loadWifiConfiguration()
1520 private boolean setKeyMgmt(int keyMgmtMask) { in setKeyMgmt() argument
1534 status = iSupplicantStaNetworkV13.setKeyMgmt_1_3(keyMgmtMask); in setKeyMgmt()
1539 status = iSupplicantStaNetworkV12.setKeyMgmt_1_2(keyMgmtMask); in setKeyMgmt()
[all …]
DSupplicantStaIfaceCallbackAidlImpl.java173 stateChangeData.keyMgmtMask, stateChangeData.frequencyMhz); in onSupplicantStateChanged()
184 BitSet keyMgmtMask = null; in handleSupplicantStateChangedEvent() local
187 keyMgmtMask = HalAidlUtil.supplicantToWifiConfigurationKeyMgmtMask( in handleSupplicantStateChangedEvent()
192 keyMgmtMask = null; in handleSupplicantStateChangedEvent()
199 + ", frameworkKeyMgmtMask=" + keyMgmtMask in handleSupplicantStateChangedEvent()
216 wifiSsid, bssidStr, keyMgmtMask); in handleSupplicantStateChangedEvent()
DWifiMonitor.java603 WifiSsid ssid, String bssid, BitSet keyMgmtMask) { in broadcastNetworkConnectionEvent() argument
605 new NetworkConnectionEventInfo(networkId, ssid, bssid, filsHlpSent, keyMgmtMask)); in broadcastNetworkConnectionEvent()
DSupplicantStaIfaceHalHidlImpl.java3029 Mutable<Integer> keyMgmtMask = new Mutable<>(0); in getKeyMgmtCapabilities_1_3() local
3050 keyMgmtMask.value = keyMgmtMaskInternal; in getKeyMgmtCapabilities_1_3()
3057 return keyMgmtMask.value; in getKeyMgmtCapabilities_1_3()
3063 Mutable<Integer> keyMgmtMask = new Mutable<>(0); in getKeyMgmtCapabilities() local
3066 keyMgmtMask.value = getKeyMgmtCapabilities_1_3(ifaceName); in getKeyMgmtCapabilities()
3090 keyMgmtMask.value = keyMgmtMaskInternal; in getKeyMgmtCapabilities()
3102 return keyMgmtMask.value; in getKeyMgmtCapabilities()
DClientModeImpl.java3292 if (config != null && connectionInfo.keyMgmtMask != null) { in handleNetworkConnectionEventInfo()
3303 tmp.setSecurityParams(connectionInfo.keyMgmtMask); in handleNetworkConnectionEventInfo()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaNetworkHalHidlImplTest.java460 assertTrue((mSupplicantVariables.keyMgmtMask & android.hardware.wifi.supplicant.V1_3 in testTLSWifiEnterpriseConfigWithFilsEapErp()
810 assertTrue((mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.FT_PSK) in testAddFtPskFlags()
835 assertTrue((mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.FT_EAP) in testAddFtEapFlags()
859 assertTrue((mSupplicantVariables.keyMgmtMask in testAddPskSha256Flags()
885 assertTrue((mSupplicantVariables.keyMgmtMask in testAddEapSha256Flags()
909 assertFalse((mSupplicantVariables.keyMgmtMask in testAddPskSha256FlagsHal1_1OrLower()
927 assertFalse((mSupplicantVariables.keyMgmtMask in testAddEapSha256FlagsHal1_1OrLower()
967 (mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported()
969 (mSupplicantVariables.keyMgmtMask & android.hardware.wifi.supplicant.V1_2 in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported()
994 (mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsNotSupported()
[all …]
DSupplicantStaNetworkHalAidlImplTest.java345 assertTrue((mSupplicantVariables.keyMgmtMask & KeyMgmtMask.FILS_SHA256) in testTLSWifiEnterpriseConfigWithFilsEapErp()
622 assertTrue((mSupplicantVariables.keyMgmtMask & KeyMgmtMask.FT_PSK) in testAddFtPskFlags()
645 assertTrue((mSupplicantVariables.keyMgmtMask & KeyMgmtMask.FT_EAP) in testAddFtEapFlags()
667 assertTrue((mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK_SHA256) in testAddPskSha256Flags()
689 assertTrue((mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_EAP_SHA256) in testAddEapSha256Flags()
710 assertEquals(KeyMgmtMask.WPA_PSK, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported()
711 assertEquals(KeyMgmtMask.SAE, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.SAE)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported()
734 assertEquals(KeyMgmtMask.WPA_PSK, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK)); in testPmfDisabledWhenAutoUpgradeOffloadIsSupportedAndSaeSelected()
735 assertEquals(KeyMgmtMask.SAE, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.SAE)); in testPmfDisabledWhenAutoUpgradeOffloadIsSupportedAndSaeSelected()
753 assertEquals(0, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK)); in testPmfEnabledWhenAutoUpgradeOffloadNotSupportedAndSaeSelected()
[all …]
DWifiMonitorTest.java502 assertEquals(akm, info.keyMgmtMask); in testBroadcastNetworkConnectionEventWithAkm()
DSupplicantStaIfaceHalAidlImplTest.java1044 stateChangeData.keyMgmtMask = android.hardware.wifi.supplicant.KeyMgmtMask.WPA_PSK; in testStateChangeToCompleted()