Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java245 wifiConf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP); in updateForWPAConfiguration()
246 wifiConf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); in updateForWPAConfiguration()
256 wifiConf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40); in updateForWEPConfiguration()
257 wifiConf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104); in updateForWEPConfiguration()
258 wifiConf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP); in updateForWEPConfiguration()
259 wifiConf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); in updateForWEPConfiguration()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java492 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40); in createNetworkForConfigurationWithUnsupportedTag()
493 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104); in createNetworkForConfigurationWithUnsupportedTag()
494 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP); in createNetworkForConfigurationWithUnsupportedTag()
495 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); in createNetworkForConfigurationWithUnsupportedTag()
545 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
546 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
547 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
548 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1247 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40); in createNetworkForConfigurationWithV1_0Data()
1248 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104); in createNetworkForConfigurationWithV1_0Data()
[all …]
DSupplicantStaNetworkHalHidlImplTest.java1336 config.allowedGroupCiphers.clear(WifiConfiguration.GroupCipher.GCMP_256); in testWifiConfigurationSaveLoad()
1341 config.allowedGroupCiphers.clear(WifiConfiguration.GroupCipher.SMS4); in testWifiConfigurationSaveLoad()
1346 config.allowedGroupCiphers.clear(WifiConfiguration.GroupCipher.GCMP_128); in testWifiConfigurationSaveLoad()
1599 BitSet allowedGroupCiphers = config.getDefaultSecurityParams().getAllowedGroupCiphers(); in putAllSupportingGroupCiphersAndReturnExpectedHalCiphersValue() local
1602 if (allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_128) in putAllSupportingGroupCiphersAndReturnExpectedHalCiphersValue()
1610 if (allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_256) in putAllSupportingGroupCiphersAndReturnExpectedHalCiphersValue()
1618 if (allowedGroupCiphers.get(WifiConfiguration.GroupCipher.CCMP)) { in putAllSupportingGroupCiphersAndReturnExpectedHalCiphersValue()
DSupplicantStaNetworkHalAidlImplTest.java1169 BitSet allowedGroupCiphers = config.getDefaultSecurityParams().getAllowedGroupCiphers(); in getExpectedGroupCiphers() local
1171 if (allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_128)) { in getExpectedGroupCiphers()
1175 if (allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_256)) { in getExpectedGroupCiphers()
1179 if (allowedGroupCiphers.get(WifiConfiguration.GroupCipher.CCMP)) { in getExpectedGroupCiphers()
DWifiConfigurationTestUtil.java734 assertEquals(expected.allowedGroupCiphers, actual.allowedGroupCiphers); in assertCommonConfigurationElementsEqual()
DNetworkListStoreDataTest.java1016 assertTrue(retrievedNetworkList.get(0).allowedGroupCiphers in fixSaeNetworkWithLegacySecurity()
DWifiConfigurationUtilTest.java746 config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.GTK_NOT_USED + 4); in testValidateNegativeCases_InvalidGroupCipher()
DWifiMetricsTest.java3633 config.allowedGroupCiphers = intToBitSet(TEST_ALLOWED_GROUP_CIPHERS); in createComplexWifiConfig()
3652 assertEquals(config.allowedGroupCiphers, intToBitSet(info.allowedGroupCiphers)); in assertConfigInfoEqualsWifiConfig()
DWifiConfigManagerTest.java2102 network.allowedGroupCiphers.clear(); in testUpdateSingleNetworkWithNullValues()
2136 network.allowedGroupCiphers.clear(); in testUpdateSingleNetworkWithNullValues()
DWifiNetworkSuggestionsManagerTest.java1067 legacyConfig.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java300 if (config.allowedGroupCiphers.length() in clearAnyKnownIssuesInParsedConfiguration()
302 config.allowedGroupCiphers.clear( in clearAnyKnownIssuesInParsedConfiguration()
304 config.allowedGroupCiphers.length()); in clearAnyKnownIssuesInParsedConfiguration()
395 byte[] allowedGroupCiphers = (byte[]) value; in parseWifiConfigurationFromXmlInternal()
396 configuration.allowedGroupCiphers = BitSet.valueOf(allowedGroupCiphers); in parseWifiConfigurationFromXmlInternal()
DWifiConfigurationUtil.java416 if (!Objects.equals(existingConfig.allowedGroupCiphers, in hasCredentialChanged()
417 newConfig.allowedGroupCiphers)) { in hasCredentialChanged()
675 if (!validateBitSet(config.allowedGroupCiphers, in validateBitSets()
678 + config.allowedGroupCiphers); in validateBitSets()
DSupplicantStaNetworkHalAidlImpl.java407 BitSet allowedGroupCiphers = NativeUtil.getOptimalGroupCiphersForConfig( in saveWifiConfiguration() local
409 if (allowedGroupCiphers.cardinality() != 0 in saveWifiConfiguration()
411 allowedGroupCiphers)))) { in saveWifiConfiguration()
700 BitSet allowedGroupCiphers = securityParams.getAllowedGroupCiphers(); in saveSuiteBConfig() local
701 if (allowedGroupCiphers.cardinality() != 0 in saveSuiteBConfig()
703 allowedGroupCiphers))) { in saveSuiteBConfig()
DSupplicantStaNetworkHalHidlImpl.java358 BitSet allowedGroupCiphers = NativeUtil.getOptimalGroupCiphersForConfig( in saveWifiConfiguration() local
360 if (allowedGroupCiphers.cardinality() != 0 in saveWifiConfiguration()
362 allowedGroupCiphers)))) { in saveWifiConfiguration()
640 BitSet allowedGroupCiphers = securityParams.getAllowedGroupCiphers(); in saveSuiteBConfig() local
641 if (allowedGroupCiphers.cardinality() != 0 in saveSuiteBConfig()
643 allowedGroupCiphers))) { in saveSuiteBConfig()
DWifiMetrics.java6447 info.allowedGroupCiphers = bitSetToInt(config.allowedGroupCiphers); in createConfigInfo()
6774 .append(" allowed_group_ciphers=").append(info.allowedGroupCiphers) in configInfoToString()
DClientModeImpl.java3336 tmp.allowedGroupCiphers = securityParams.getAllowedGroupCiphers(); in handleNetworkConnectionEventInfo()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java360 BitSet allowedGroupCiphers = new BitSet(); in testCommonSetterGetter() local
361 allowedGroupCiphers.set(GroupCipher.CCMP); in testCommonSetterGetter()
362 allowedGroupCiphers.set(GroupCipher.TKIP); in testCommonSetterGetter()
363 allowedGroupCiphers.set(GroupCipher.WEP40); in testCommonSetterGetter()
364 allowedGroupCiphers.set(GroupCipher.WEP104); in testCommonSetterGetter()
377 assertEquals(allowedGroupCiphers, params.getAllowedGroupCiphers()); in testCommonSetterGetter()
DWifiNetworkSpecifierTest.java175 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
209 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi()
247 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
285 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBEccCerts()
317 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetwork()
351 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetwork()
386 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetworkWith192BitApi()
421 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
DWifiNetworkSuggestionTest.java306 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
341 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi()
380 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
419 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts()
452 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetwork()
488 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetworWith192BitApi()
523 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetwork()
559 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
623 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWapiPskNetwork()
650 assertTrue(suggestion.wifiConfiguration.allowedGroupCiphers in testWifiNetworkSuggestionBuilderForWapiCertNetwork()
[all …]
DWifiConfigurationTest.java685 assertTrue(config.allowedGroupCiphers.get(WifiConfiguration.GroupCipher.CCMP)); in testSetSecurityParamsForSae()
686 assertTrue(config.allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_256)); in testSetSecurityParamsForSae()
704 assertTrue(config.allowedGroupCiphers.get(WifiConfiguration.GroupCipher.CCMP)); in testSetSecurityParamsForOwe()
705 assertTrue(config.allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_256)); in testSetSecurityParamsForOwe()
724 assertTrue(config.allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_256)); in testSetSecurityParamsForSuiteB()
745 assertTrue(config.allowedGroupCiphers.get(WifiConfiguration.GroupCipher.CCMP)); in testSetSecurityParamsForWpa3Enterprise()
746 assertTrue(config.allowedGroupCiphers.get(WifiConfiguration.GroupCipher.GCMP_256)); in testSetSecurityParamsForWpa3Enterprise()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java725 if (allowedGroupCiphers.get(GroupCipher.TKIP)) return false; in isWpa3EnterpriseConfiguration()
1324 public BitSet allowedGroupCiphers; field in WifiConfiguration
3352 allowedGroupCiphers = new BitSet(); in WifiConfiguration()
3601 for (int gc = 0; gc < this.allowedGroupCiphers.size(); gc++) { in toString()
3602 if (this.allowedGroupCiphers.get(gc)) { in toString()
4097 allowedGroupCiphers = (BitSet) source.allowedGroupCiphers.clone(); in WifiConfiguration()
4215 writeBitSet(dest, allowedGroupCiphers); in writeToParcel()
4318 config.allowedGroupCiphers = readBitSet(in);
DSecurityParams.java234 config.allowedGroupCiphers = (BitSet) mAllowedGroupCiphers.clone(); in updateLegacyWifiConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java599 configuration.allowedGroupCiphers.toByteArray()); in writeCommonElementsToXml()
934 byte[] allowedGroupCiphers = (byte[]) value; in parseFromXml()
935 configuration.allowedGroupCiphers = BitSet.valueOf(allowedGroupCiphers); in parseFromXml()
/packages/modules/Wifi/framework/api/
Dcurrent.txt223 field @Deprecated @NonNull public java.util.BitSet allowedGroupCiphers;