Home
last modified time | relevance | path

Searched refs:allowedPairwiseCiphers (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java307 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()
DWifiConfigurationUtil.java394 if (!Objects.equals(existingConfig.allowedPairwiseCiphers, in hasCredentialChanged()
395 newConfig.allowedPairwiseCiphers)) { in hasCredentialChanged()
661 if (!validateBitSet(config.allowedPairwiseCiphers, in validateBitSets()
664 + config.allowedPairwiseCiphers); in validateBitSets()
DSupplicantStaNetworkHalAidlImpl.java414 BitSet allowedPairwiseCiphers = NativeUtil.getOptimalPairwiseCiphersForConfig( in saveWifiConfiguration() local
416 if (allowedPairwiseCiphers.cardinality() != 0 in saveWifiConfiguration()
418 allowedPairwiseCiphers))) { in saveWifiConfiguration()
706 BitSet allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in saveSuiteBConfig() local
707 if (allowedPairwiseCiphers.cardinality() != 0 in saveSuiteBConfig()
709 allowedPairwiseCiphers))) { in saveSuiteBConfig()
DSupplicantStaNetworkHalHidlImpl.java366 BitSet allowedPairwiseCiphers = NativeUtil.getOptimalPairwiseCiphersForConfig( in saveWifiConfiguration() local
368 if (allowedPairwiseCiphers.cardinality() != 0 in saveWifiConfiguration()
370 allowedPairwiseCiphers))) { in saveWifiConfiguration()
647 BitSet allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in saveSuiteBConfig() local
648 if (allowedPairwiseCiphers.cardinality() != 0 in saveSuiteBConfig()
650 allowedPairwiseCiphers))) { in saveSuiteBConfig()
DWifiMetrics.java6271 info.allowedPairwiseCiphers = bitSetToInt(config.allowedPairwiseCiphers); in createConfigInfo()
6588 .append(" allowed_pairwise_ciphers=").append(info.allowedPairwiseCiphers) in configInfoToString()
DClientModeImpl.java3301 tmp.allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in handleNetworkConnectionEventInfo()
/packages/modules/Connectivity/tests/cts/multidevices/snippet/
DConnectivityMultiDevicesSnippet.kt104 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP) in connectToWifi()
105 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP) in connectToWifi()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java356 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()
DWifiConfigurationTest.java683 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()
DWifiNetworkSuggestionTest.java621 assertTrue(suggestion.wifiConfiguration.allowedPairwiseCiphers in testWifiNetworkSuggestionBuilderForWapiPskNetwork()
648 assertTrue(suggestion.wifiConfiguration.allowedPairwiseCiphers in testWifiNetworkSuggestionBuilderForWapiCertNetwork()
678 assertTrue(suggestion.wifiConfiguration.allowedPairwiseCiphers in testWifiNetworkSuggestionBuilderForWapiCertAutoNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java496 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()
DSupplicantStaNetworkHalHidlImplTest.java1312 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.GCMP_256); in testWifiConfigurationSaveLoad()
1317 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.SMS4); in testWifiConfigurationSaveLoad()
1322 config.allowedPairwiseCiphers.clear(WifiConfiguration.PairwiseCipher.GCMP_128); in testWifiConfigurationSaveLoad()
1537 BitSet allowedPairwiseCiphers = config.getDefaultSecurityParams() in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue() local
1540 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_128) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
1548 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.SMS4) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
1556 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256) in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
1564 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)) { in putAllSupportingPairwiseCiphersAndReturnExpectedHalCiphersValue()
DSupplicantStaNetworkHalAidlImplTest.java1124 BitSet allowedPairwiseCiphers = config.getDefaultSecurityParams() in getExpectedPairwiseCiphers() local
1127 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_128)) { in getExpectedPairwiseCiphers()
1131 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.SMS4)) { in getExpectedPairwiseCiphers()
1135 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.GCMP_256)) { in getExpectedPairwiseCiphers()
1139 if (allowedPairwiseCiphers.get(WifiConfiguration.PairwiseCipher.CCMP)) { in getExpectedPairwiseCiphers()
DWifiConfigurationTestUtil.java735 assertEquals(expected.allowedPairwiseCiphers, actual.allowedPairwiseCiphers); in assertCommonConfigurationElementsEqual()
DNetworkListStoreDataTest.java1014 assertTrue(retrievedNetworkList.get(0).allowedPairwiseCiphers in fixSaeNetworkWithLegacySecurity()
DWifiConfigurationUtilTest.java755 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP + 4); in testValidateNegativeCases_InvalidPairwiseCipher()
DWifiMetricsTest.java3576 config.allowedPairwiseCiphers = intToBitSet(TEST_ALLOWED_PAIRWISE_CIPHERS); in createComplexWifiConfig()
3595 assertEquals(config.allowedPairwiseCiphers, intToBitSet(info.allowedPairwiseCiphers)); in assertConfigInfoEqualsWifiConfig()
DWifiConfigManagerTest.java2095 network.allowedPairwiseCiphers.clear(); in testUpdateSingleNetworkWithNullValues()
2129 network.allowedPairwiseCiphers.clear(); in testUpdateSingleNetworkWithNullValues()
DWifiNetworkSuggestionsManagerTest.java1112 legacyConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java722 if (allowedPairwiseCiphers.get(PairwiseCipher.TKIP)) return false; in isWpa3EnterpriseConfiguration()
1312 public BitSet allowedPairwiseCiphers; field in WifiConfiguration
3345 allowedPairwiseCiphers = new BitSet(); in WifiConfiguration()
3583 for (int pc = 0; pc < this.allowedPairwiseCiphers.size(); pc++) { in toString()
3584 if (this.allowedPairwiseCiphers.get(pc)) { in toString()
4087 allowedPairwiseCiphers = (BitSet) source.allowedPairwiseCiphers.clone(); in WifiConfiguration()
4205 writeBitSet(dest, allowedPairwiseCiphers); in writeToParcel()
4308 config.allowedPairwiseCiphers = readBitSet(in);
DSecurityParams.java233 config.allowedPairwiseCiphers = (BitSet) mAllowedPairwiseCiphers.clone(); in updateLegacyWifiConfiguration()
/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/service/java/com/android/server/wifi/util/
DXmlUtil.java597 configuration.allowedPairwiseCiphers.toByteArray()); in writeCommonElementsToXml()
933 byte[] allowedPairwiseCiphers = (byte[]) value; in parseFromXml()
934 configuration.allowedPairwiseCiphers = in parseFromXml()
935 BitSet.valueOf(allowedPairwiseCiphers); in parseFromXml()
/packages/modules/Wifi/framework/api/
Dcurrent.txt199 field @Deprecated @NonNull public java.util.BitSet allowedPairwiseCiphers;