Home
last modified time | relevance | path

Searched refs:WAPI_CERT (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java449 config.allowedKeyManagement.set(KeyMgmt.WAPI_CERT); in testGetSsidAndSecurityTypeString()
450 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WAPI_CERT], in testGetSsidAndSecurityTypeString()
518 config.allowedKeyManagement.set(KeyMgmt.WAPI_CERT); in testGetNetworkKeyString()
519 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WAPI_CERT], in testGetNetworkKeyString()
731 assertEquals(KeyMgmt.WAPI_CERT, configuration.getAuthType()); in testGetAuthType()
868 config.allowedKeyManagement.set(KeyMgmt.WAPI_CERT); in testGetProfileKeyString()
870 assertEquals(createProfileKey(mSsid, KeyMgmt.strings[KeyMgmt.WAPI_CERT], TEST_PACKAGE_NAME, in testGetProfileKeyString()
873 assertEquals(createProfileKey(mSsid, KeyMgmt.strings[KeyMgmt.WAPI_CERT], TEST_PACKAGE_NAME, in testGetProfileKeyString()
1083 new Pair<>(KeyMgmt.WAPI_CERT, SECURITY_TYPE_WAPI_CERT), in testLegacyConfigurationConversion()
1150 new Pair<>(KeyMgmt.WAPI_CERT, SECURITY_TYPE_WAPI_CERT), in testSetSecurityParamsByAllowedKeyManagement()
DWifiNetworkSuggestionTest.java633 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in testWifiNetworkSuggestionBuilderForWapiCertNetwork()
642 .get(WifiConfiguration.KeyMgmt.WAPI_CERT)); in testWifiNetworkSuggestionBuilderForWapiCertNetwork()
649 assertEquals(WifiEnterpriseConfig.Eap.WAPI_CERT, in testWifiNetworkSuggestionBuilderForWapiCertNetwork()
664 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in testWifiNetworkSuggestionBuilderForWapiCertAutoNetwork()
672 .get(WifiConfiguration.KeyMgmt.WAPI_CERT)); in testWifiNetworkSuggestionBuilderForWapiCertAutoNetwork()
679 assertEquals(WifiEnterpriseConfig.Eap.WAPI_CERT, in testWifiNetworkSuggestionBuilderForWapiCertAutoNetwork()
DSecurityParamsTest.java209 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.WAPI_CERT}; in testWapiCertCreator()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java135 WAPI_CERT,
216 public static final int WAPI_CERT = 14; field in WifiConfiguration.KeyMgmt
699 if (allowedKeyManagement.get(KeyMgmt.WAPI_CERT)) { in convertLegacyFieldsToSecurityParamsIfNeeded()
3233 if (allowedKeyManagement.get(KeyMgmt.WAPI_CERT)) { in getKeyIdForCredentials()
3234 keyMgmt += KeyMgmt.strings[KeyMgmt.WAPI_CERT]; in getKeyIdForCredentials()
3320 } else if (allowedKeyManagement.get(KeyMgmt.WAPI_CERT)) { in getAuthType()
3321 return KeyMgmt.WAPI_CERT; in getAuthType()
3392 } else if (allowedKeyManagement.get(KeyMgmt.WAPI_CERT)) { in getSsidAndSecurityTypeString()
3393 key = SSID + KeyMgmt.strings[KeyMgmt.WAPI_CERT]; in getSsidAndSecurityTypeString()
3906 } else if (allowedKeyManagement.get(KeyMgmt.WAPI_CERT)) { in getDefaultSecurityType()
[all …]
DSecurityParams.java372 || mAllowedKeyManagement.get(KeyMgmt.WAPI_CERT); in isEnterpriseSecurityType()
752 params.mAllowedKeyManagement.set(KeyMgmt.WAPI_CERT); in createWapiCertParams()
DWifiEnterpriseConfig.java406 public static final int WAPI_CERT = 8; field in WifiEnterpriseConfig.Eap
553 case Eap.WAPI_CERT: in setEapMethod()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java258 WifiEnterpriseConfig.Eap.WAPI_CERT); in loadWifiConfiguration()
470 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.WAPI_CERT) { in saveWifiConfiguration()
883 case WifiConfiguration.KeyMgmt.WAPI_CERT: in wifiConfigurationToSupplicantKeyMgmtMask()
885 .WAPI_CERT; in wifiConfigurationToSupplicantKeyMgmtMask()
1189 .WAPI_CERT, bitset, WifiConfiguration.KeyMgmt.WAPI_CERT); in supplicantToWifiConfigurationKeyMgmtMask()
DWifiBackupRestore.java664 WifiConfiguration.KeyMgmt.WAPI_CERT); in createWifiConfiguration()
DWifiMetrics.java668 case WifiEnterpriseConfig.Eap.WAPI_CERT: in getEapMethodProto()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java202 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in generateWifiConfig()
517 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in createWapiCertNetwork()
DWifiConfigurationUtilTest.java1191 EnterpriseConfig eapConfig1 = new EnterpriseConfig(WifiEnterpriseConfig.Eap.WAPI_CERT) in testEnterpriseConfigWapiCertChanged()
1193 EnterpriseConfig eapConfig2 = new EnterpriseConfig(WifiEnterpriseConfig.Eap.WAPI_CERT) in testEnterpriseConfigWapiCertChanged()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt422 field @Deprecated public static final int WAPI_CERT = 14; // 0xe
Dcurrent.txt276 field public static final int WAPI_CERT = 8; // 0x8