Home
last modified time | relevance | path

Searched refs:allowedProtocols (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java231 if (config.allowedProtocols.length() in clearAnyKnownIssuesInParsedConfiguration()
233 config.allowedProtocols.clear( in clearAnyKnownIssuesInParsedConfiguration()
235 config.allowedProtocols.length()); in clearAnyKnownIssuesInParsedConfiguration()
327 byte[] allowedProtocols = (byte[]) value; in parseWifiConfigurationFromXmlInternal()
328 configuration.allowedProtocols = BitSet.valueOf(allowedProtocols); in parseWifiConfigurationFromXmlInternal()
DWifiConfigurationUtil.java290 if (!Objects.equals(existingConfig.allowedProtocols, newConfig.allowedProtocols)) { in hasCredentialChanged()
485 if (!validateBitSet(config.allowedProtocols, in validateBitSets()
488 + config.allowedProtocols); in validateBitSets()
DWifiConfigManager.java997 if (externalConfig.allowedProtocols != null in mergeWithInternalWifiConfiguration()
998 && !externalConfig.allowedProtocols.isEmpty()) { in mergeWithInternalWifiConfiguration()
999 internalConfig.allowedProtocols = (BitSet) externalConfig.allowedProtocols.clone(); in mergeWithInternalWifiConfiguration()
1068 configuration.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in setDefaultsInWifiConfiguration()
1069 configuration.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in setDefaultsInWifiConfiguration()
DSupplicantStaNetworkHal.java225 config.allowedProtocols = in loadWifiConfiguration()
367 if (config.allowedProtocols.cardinality() != 0 in saveWifiConfiguration()
368 && !setProto(wifiConfigurationToSupplicantProtoMask(config.allowedProtocols))) { in saveWifiConfiguration()
DWifiMetrics.java3841 info.allowedProtocols = bitSetToInt(config.allowedProtocols); in createConfigInfo()
4081 .append(" allowed_protocols=").append(info.allowedProtocols) in configInfoToString()
DSupplicantStaIfaceHal.java3021 newWifiConfiguration.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in onDppSuccessConfigReceived()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java106 config.allowedProtocols.set(Protocol.WPA); in getConfig()
114 config.allowedProtocols.set(Protocol.RSN); in getConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java972 BitSet allowedProtocols = new BitSet(); in getWifiConfigWithUserCredential() local
973 allowedProtocols.set(WifiConfiguration.Protocol.RSN); in getWifiConfigWithUserCredential()
1011 assertEquals(allowedProtocols, wifiConfig.allowedProtocols); in getWifiConfigWithUserCredential()
1038 BitSet allowedProtocols = new BitSet(); in getWifiConfigWithCertCredential() local
1039 allowedProtocols.set(WifiConfiguration.Protocol.RSN); in getWifiConfigWithCertCredential()
1081 assertEquals(allowedProtocols, wifiConfig.allowedProtocols); in getWifiConfigWithCertCredential()
1107 BitSet allowedProtocols = new BitSet(); in getWifiConfigWithSimCredential() local
1108 allowedProtocols.set(WifiConfiguration.Protocol.RSN); in getWifiConfigWithSimCredential()
1136 assertEquals(allowedProtocols, wifiConfig.allowedProtocols); in getWifiConfigWithSimCredential()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java386 allowedProtocols.clear(); in setSecurityParams()
573 public BitSet allowedProtocols; field in WifiConfiguration
1769 allowedProtocols = new BitSet(); in WifiConfiguration()
1924 for (int p = 0; p < this.allowedProtocols.size(); p++) { in toString()
1925 if (this.allowedProtocols.get(p)) { in toString()
2389 allowedProtocols = (BitSet) source.allowedProtocols.clone(); in WifiConfiguration()
2474 writeBitSet(dest, allowedProtocols); in writeToParcel()
2548 config.allowedProtocols = readBitSet(in);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java342 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedTag()
343 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedTag()
395 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
396 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
973 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithV1_0Data()
974 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithV1_0Data()
DWifiConfigurationTestUtil.java558 assertEquals(expected.allowedProtocols, actual.allowedProtocols); in assertCommonConfigurationElementsEqual()
659 assertEquals(expected.allowedProtocols, actual.allowedProtocols); in assertConfigurationEqualForSupplicant()
DWifiConfigManagerTest.java1453 network.allowedProtocols.clear(); in testUpdateSingleNetworkWithNullValues()
1801 assertFalse(pskNetwork.allowedProtocols.get(WifiConfiguration.Protocol.OSEN)); in testUpdateProtocolsClearsHasEverConnected()
1802 pskNetwork.allowedProtocols.set(WifiConfiguration.Protocol.OSEN); in testUpdateProtocolsClearsHasEverConnected()
4676 if (configuration.allowedProtocols.isEmpty()) { in setDefaults()
4677 configuration.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in setDefaults()
4678 configuration.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in setDefaults()
DWifiConfigurationUtilTest.java506 config.allowedProtocols.set(3); in testValidateNegativeCases_InvalidProtocol()
DWifiMetricsTest.java2369 config.allowedProtocols = intToBitSet(TEST_ALLOWED_PROTOCOLS); in createComplexWifiConfig()
2387 assertEquals(config.allowedProtocols, intToBitSet(info.allowedProtocols)); in assertConfigInfoEqualsWifiConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java437 configuration.allowedProtocols.toByteArray()); in writeCommonElementsToXml()
603 byte[] allowedProtocols = (byte[]) value; in parseFromXml()
604 configuration.allowedProtocols = BitSet.valueOf(allowedProtocols); in parseFromXml()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java409 wifiConfig.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in getWifiConfig()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17909 field public java.util.BitSet allowedProtocols;
/frameworks/base/non-updatable-api/
Dcurrent.txt29906 field @Deprecated @NonNull public java.util.BitSet allowedProtocols;
/frameworks/base/api/
Dcurrent.txt30050 field @Deprecated @NonNull public java.util.BitSet allowedProtocols;