Home
last modified time | relevance | path

Searched refs:PairwiseCipher (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/
DSecurityParams.java25 import android.net.wifi.WifiConfiguration.PairwiseCipher;
474 if (pc < PairwiseCipher.strings.length) { in toString()
475 sbuf.append(PairwiseCipher.strings[pc]); in toString()
651 params.mAllowedPairwiseCiphers.set(PairwiseCipher.CCMP); in createWpaWpa2EnterpriseParams()
652 params.mAllowedPairwiseCiphers.set(PairwiseCipher.TKIP); in createWpaWpa2EnterpriseParams()
682 params.mAllowedPairwiseCiphers.set(PairwiseCipher.CCMP); in createPasspointParams()
700 params.mAllowedPairwiseCiphers.set(PairwiseCipher.CCMP); in createEnhancedOpenParams()
701 params.mAllowedPairwiseCiphers.set(PairwiseCipher.GCMP_128); in createEnhancedOpenParams()
702 params.mAllowedPairwiseCiphers.set(PairwiseCipher.GCMP_256); in createEnhancedOpenParams()
737 params.mAllowedPairwiseCiphers.set(PairwiseCipher.CCMP); in createOsenParams()
[all …]
DWifiConfiguration.java302 public static class PairwiseCipher { class in WifiConfiguration
303 private PairwiseCipher() { } in PairwiseCipher() method in WifiConfiguration.PairwiseCipher
3067 if (pc < PairwiseCipher.strings.length) { in toString()
3068 sbuf.append(PairwiseCipher.strings[pc]); in toString()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java28 import android.net.wifi.WifiConfiguration.PairwiseCipher;
157 PairwiseCipher.CCMP, PairwiseCipher.GCMP_128, PairwiseCipher.GCMP_256}; in testEnhancedOpenCreator()
212 int[] expectedAllowedPairwiseCiphers = new int[] {PairwiseCipher.SMS4}; in testWapiCertCreator()
230 int[] expectedAllowedPairwiseCiphers = new int[] {PairwiseCipher.SMS4}; in testWapiPskCreator()
268 PairwiseCipher.GCMP_128, PairwiseCipher.GCMP_256}; in testWpa3Enterprise192BitCreator()
289 PairwiseCipher.CCMP, PairwiseCipher.GCMP_256}; in testWpa3EnterpriseCreator()
308 PairwiseCipher.CCMP, PairwiseCipher.GCMP_128, PairwiseCipher.GCMP_256}; in testWpa3PersonalCreator()
353 allowedPairwiseCiphers.set(PairwiseCipher.CCMP); in testCommonSetterGetter()
354 allowedPairwiseCiphers.set(PairwiseCipher.TKIP); in testCommonSetterGetter()
370 assertTrue(params.getAllowedPairwiseCiphers().get(PairwiseCipher.CCMP)); in testCommonSetterGetter()
[all …]
DWifiConfigurationTest.java46 import android.net.wifi.WifiConfiguration.PairwiseCipher;
567 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)); in testSetSecurityParamsForSae()
568 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForSae()
586 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)); in testSetSecurityParamsForOwe()
587 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForOwe()
607 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForSuiteB()
627 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)); in testSetSecurityParamsForWpa3Enterprise()
628 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForWpa3Enterprise()
947 PairwiseCipher.CCMP, PairwiseCipher.TKIP, in testAddSecurityTypes()
948 PairwiseCipher.GCMP_128, PairwiseCipher.GCMP_256, in testAddSecurityTypes()
[all …]
DWifiNetworkSuggestionTest.java617 .get(WifiConfiguration.PairwiseCipher.SMS4)); in testWifiNetworkSuggestionBuilderForWapiPskNetwork()
644 .get(WifiConfiguration.PairwiseCipher.SMS4)); in testWifiNetworkSuggestionBuilderForWapiCertNetwork()
674 .get(WifiConfiguration.PairwiseCipher.SMS4)); in testWifiNetworkSuggestionBuilderForWapiCertAutoNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java436 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in createNetworkForConfigurationWithUnsupportedTag()
437 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in createNetworkForConfigurationWithUnsupportedTag()
489 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
490 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1119 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in createNetworkForConfigurationWithV1_0Data()
1120 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in createNetworkForConfigurationWithV1_0Data()
DSupplicantStaNetworkHalTest.java1119 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.GCMP_256); in testWifiConfigurationSaveLoad()
1124 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.SMS4); in testWifiConfigurationSaveLoad()
1129 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.GCMP_128); in testWifiConfigurationSaveLoad()
1347 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_128) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
1355 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.SMS4) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
1363 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
1371 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)) { in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
DNetworkListStoreDataTest.java823 .get(WifiConfiguration.PairwiseCipher.GCMP_256)); in fixSaeNetworkWithLegacySecurity()
DWifiConfigurationUtilTest.java623 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP + 4); in testValidateNegativeCases_InvalidPairwiseCipher()
DWifiNetworkSuggestionsManagerTest.java1074 legacyConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java1044 case WifiConfiguration.PairwiseCipher.NONE: in wifiConfigurationToSupplicantPairwiseCipherMask()
1047 case WifiConfiguration.PairwiseCipher.TKIP: in wifiConfigurationToSupplicantPairwiseCipherMask()
1050 case WifiConfiguration.PairwiseCipher.CCMP: in wifiConfigurationToSupplicantPairwiseCipherMask()
1053 case WifiConfiguration.PairwiseCipher.GCMP_256: in wifiConfigurationToSupplicantPairwiseCipherMask()
1065 case WifiConfiguration.PairwiseCipher.SMS4: in wifiConfigurationToSupplicantPairwiseCipherMask()
1073 case WifiConfiguration.PairwiseCipher.GCMP_128: in wifiConfigurationToSupplicantPairwiseCipherMask()
1303 WifiConfiguration.PairwiseCipher.NONE); in supplicantToWifiConfigurationPairwiseCipherMask()
1306 WifiConfiguration.PairwiseCipher.TKIP); in supplicantToWifiConfigurationPairwiseCipherMask()
1309 WifiConfiguration.PairwiseCipher.CCMP); in supplicantToWifiConfigurationPairwiseCipherMask()
1313 WifiConfiguration.PairwiseCipher.GCMP_256); in supplicantToWifiConfigurationPairwiseCipherMask()
[all …]
DWifiBackupDataV1Parser.java281 > WifiConfiguration.PairwiseCipher.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
283 WifiConfiguration.PairwiseCipher.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
DWifiConfigurationUtil.java591 WifiConfiguration.PairwiseCipher.strings.length)) { in validateBitSets()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java243 wifiConf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in updateForWPAConfiguration()
244 wifiConf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in updateForWPAConfiguration()
/packages/modules/Wifi/framework/api/
Dcurrent.txt190 @Deprecated public static class WifiConfiguration.PairwiseCipher {
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1562 Landroid/net/wifi/WifiConfiguration$PairwiseCipher;-><init>()V