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.java412 if (!Objects.equals(existingConfig.allowedPairwiseCiphers, in hasCredentialChanged()
413 newConfig.allowedPairwiseCiphers)) { in hasCredentialChanged()
682 if (!validateBitSet(config.allowedPairwiseCiphers, in validateBitSets()
685 + config.allowedPairwiseCiphers); in validateBitSets()
DSupplicantStaNetworkHalAidlImpl.java416 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()
DSupplicantStaNetworkHalHidlImpl.java367 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()
DWifiMetrics.java6446 info.allowedPairwiseCiphers = bitSetToInt(config.allowedPairwiseCiphers); in createConfigInfo()
6773 .append(" allowed_pairwise_ciphers=").append(info.allowedPairwiseCiphers) in configInfoToString()
DClientModeImpl.java3335 tmp.allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in handleNetworkConnectionEventInfo()
/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/Connectivity/tests/cts/multidevices/snippet/
DConnectivityMultiDevicesSnippet.kt134 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/
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.java1335 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()
DSupplicantStaNetworkHalAidlImplTest.java1143 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()
DWifiConfigurationTestUtil.java735 assertEquals(expected.allowedPairwiseCiphers, actual.allowedPairwiseCiphers); in assertCommonConfigurationElementsEqual()
DNetworkListStoreDataTest.java1014 assertTrue(retrievedNetworkList.get(0).allowedPairwiseCiphers in fixSaeNetworkWithLegacySecurity()
DWifiConfigurationUtilTest.java761 config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP + 4); in testValidateNegativeCases_InvalidPairwiseCipher()
DWifiMetricsTest.java3632 config.allowedPairwiseCiphers = intToBitSet(TEST_ALLOWED_PAIRWISE_CIPHERS); in createComplexWifiConfig()
3651 assertEquals(config.allowedPairwiseCiphers, intToBitSet(info.allowedPairwiseCiphers)); in assertConfigInfoEqualsWifiConfig()
DWifiConfigManagerTest.java2101 network.allowedPairwiseCiphers.clear(); in testUpdateSingleNetworkWithNullValues()
2135 network.allowedPairwiseCiphers.clear(); in testUpdateSingleNetworkWithNullValues()
DWifiNetworkSuggestionsManagerTest.java1066 legacyConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java724 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);
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.java602 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/
Dcurrent.txt226 field @Deprecated @NonNull public java.util.BitSet allowedPairwiseCiphers;