/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 307 if (config.allowedPairwiseCiphers.length() in clearAnyKnownIssuesInParsedConfiguration() 309 config.allowedPairwiseCiphers.clear( in clearAnyKnownIssuesInParsedConfiguration() 311 config.allowedPairwiseCiphers.length()); in clearAnyKnownIssuesInParsedConfiguration() 399 byte[] allowedPairwiseCiphers = (byte[]) value; in parseWifiConfigurationFromXmlInternal() 400 configuration.allowedPairwiseCiphers = in parseWifiConfigurationFromXmlInternal() 401 BitSet.valueOf(allowedPairwiseCiphers); in parseWifiConfigurationFromXmlInternal()
|
D | WifiConfigurationUtil.java | 412 if (!Objects.equals(existingConfig.allowedPairwiseCiphers, in hasCredentialChanged() 413 newConfig.allowedPairwiseCiphers)) { in hasCredentialChanged() 682 if (!validateBitSet(config.allowedPairwiseCiphers, in validateBitSets() 685 + config.allowedPairwiseCiphers); in validateBitSets()
|
D | SupplicantStaNetworkHalAidlImpl.java | 416 BitSet allowedPairwiseCiphers = NativeUtil.getOptimalPairwiseCiphersForConfig( in saveWifiConfiguration() local 418 if (allowedPairwiseCiphers.cardinality() != 0 in saveWifiConfiguration() 420 allowedPairwiseCiphers))) { in saveWifiConfiguration() 708 BitSet allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in saveSuiteBConfig() local 709 if (allowedPairwiseCiphers.cardinality() != 0 in saveSuiteBConfig() 711 allowedPairwiseCiphers))) { in saveSuiteBConfig()
|
D | SupplicantStaNetworkHalHidlImpl.java | 367 BitSet allowedPairwiseCiphers = NativeUtil.getOptimalPairwiseCiphersForConfig( in saveWifiConfiguration() local 369 if (allowedPairwiseCiphers.cardinality() != 0 in saveWifiConfiguration() 371 allowedPairwiseCiphers))) { in saveWifiConfiguration() 648 BitSet allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in saveSuiteBConfig() local 649 if (allowedPairwiseCiphers.cardinality() != 0 in saveSuiteBConfig() 651 allowedPairwiseCiphers))) { in saveSuiteBConfig()
|
D | WifiMetrics.java | 6446 info.allowedPairwiseCiphers = bitSetToInt(config.allowedPairwiseCiphers); in createConfigInfo() 6773 .append(" allowed_pairwise_ciphers=").append(info.allowedPairwiseCiphers) in configInfoToString()
|
D | ClientModeImpl.java | 3335 tmp.allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in handleNetworkConnectionEventInfo()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SecurityParamsTest.java | 356 BitSet allowedPairwiseCiphers = new BitSet(); in testCommonSetterGetter() local 357 allowedPairwiseCiphers.set(PairwiseCipher.CCMP); in testCommonSetterGetter() 358 allowedPairwiseCiphers.set(PairwiseCipher.TKIP); in testCommonSetterGetter() 373 assertEquals(allowedPairwiseCiphers, params.getAllowedPairwiseCiphers()); in testCommonSetterGetter()
|
D | WifiConfigurationTest.java | 683 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)); in testSetSecurityParamsForSae() 684 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForSae() 702 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)); in testSetSecurityParamsForOwe() 703 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForOwe() 723 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForSuiteB() 743 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)); in testSetSecurityParamsForWpa3Enterprise() 744 assertTrue(config.allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)); in testSetSecurityParamsForWpa3Enterprise()
|
D | WifiNetworkSuggestionTest.java | 621 assertTrue(suggestion.wifiConfiguration.allowedPairwiseCiphers in testWifiNetworkSuggestionBuilderForWapiPskNetwork() 648 assertTrue(suggestion.wifiConfiguration.allowedPairwiseCiphers in testWifiNetworkSuggestionBuilderForWapiCertNetwork() 678 assertTrue(suggestion.wifiConfiguration.allowedPairwiseCiphers in testWifiNetworkSuggestionBuilderForWapiCertAutoNetwork()
|
/packages/modules/Connectivity/tests/cts/multidevices/snippet/ |
D | ConnectivityMultiDevicesSnippet.kt | 134 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP) in connectToWifi() 135 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP) in connectToWifi()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBackupRestoreTest.java | 496 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in createNetworkForConfigurationWithUnsupportedTag() 497 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in createNetworkForConfigurationWithUnsupportedTag() 549 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore() 550 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore() 1251 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in createNetworkForConfigurationWithV1_0Data() 1252 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in createNetworkForConfigurationWithV1_0Data()
|
D | SupplicantStaNetworkHalHidlImplTest.java | 1335 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.GCMP_256); in testWifiConfigurationSaveLoad() 1340 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.SMS4); in testWifiConfigurationSaveLoad() 1345 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.GCMP_128); in testWifiConfigurationSaveLoad() 1560 BitSet allowedPairwiseCiphers = config.getDefaultSecurityParams() in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue() local 1563 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_128) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue() 1571 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.SMS4) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue() 1579 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue() 1587 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)) { in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
|
D | SupplicantStaNetworkHalAidlImplTest.java | 1143 BitSet allowedPairwiseCiphers = config.getDefaultSecurityParams() in getExpectedPairwiseCiphers() local 1146 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_128)) { in getExpectedPairwiseCiphers() 1150 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.SMS4)) { in getExpectedPairwiseCiphers() 1154 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)) { in getExpectedPairwiseCiphers() 1158 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)) { in getExpectedPairwiseCiphers()
|
D | WifiConfigurationTestUtil.java | 735 assertEquals(expected.allowedPairwiseCiphers, actual.allowedPairwiseCiphers); in assertCommonConfigurationElementsEqual()
|
D | NetworkListStoreDataTest.java | 1014 assertTrue(retrievedNetworkList.get(0).allowedPairwiseCiphers in fixSaeNetworkWithLegacySecurity()
|
D | WifiConfigurationUtilTest.java | 761 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP + 4); in testValidateNegativeCases_InvalidPairwiseCipher()
|
D | WifiMetricsTest.java | 3632 config.allowedPairwiseCiphers = intToBitSet(TEST_ALLOWED_PAIRWISE_CIPHERS); in createComplexWifiConfig() 3651 assertEquals(config.allowedPairwiseCiphers, intToBitSet(info.allowedPairwiseCiphers)); in assertConfigInfoEqualsWifiConfig()
|
D | WifiConfigManagerTest.java | 2101 network.allowedPairwiseCiphers.clear(); in testUpdateSingleNetworkWithNullValues() 2135 network.allowedPairwiseCiphers.clear(); in testUpdateSingleNetworkWithNullValues()
|
D | WifiNetworkSuggestionsManagerTest.java | 1066 legacyConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiConfiguration.java | 724 if (allowedPairwiseCiphers.get(PairwiseCipher.TKIP)) return false; in isWpa3EnterpriseConfiguration() 1317 public BitSet allowedPairwiseCiphers; field in WifiConfiguration 3351 allowedPairwiseCiphers = new BitSet(); in WifiConfiguration() 3589 for (int pc = 0; pc < this.allowedPairwiseCiphers.size(); pc++) { in toString() 3590 if (this.allowedPairwiseCiphers.get(pc)) { in toString() 4096 allowedPairwiseCiphers = (BitSet) source.allowedPairwiseCiphers.clone(); in WifiConfiguration() 4214 writeBitSet(dest, allowedPairwiseCiphers); in writeToParcel() 4317 config.allowedPairwiseCiphers = readBitSet(in);
|
D | SecurityParams.java | 233 config.allowedPairwiseCiphers = (BitSet) mAllowedPairwiseCiphers.clone(); in updateLegacyWifiConfiguration()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 243 wifiConf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in updateForWPAConfiguration() 244 wifiConf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in updateForWPAConfiguration()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 602 configuration.allowedPairwiseCiphers.toByteArray()); in writeCommonElementsToXml() 938 byte[] allowedPairwiseCiphers = (byte[]) value; in parseFromXml() 939 configuration.allowedPairwiseCiphers = in parseFromXml() 940 BitSet.valueOf(allowedPairwiseCiphers); in parseFromXml()
|
/packages/modules/Wifi/framework/api/ |
D | current.txt | 226 field @Deprecated @NonNull public java.util.BitSet allowedPairwiseCiphers;
|