Home
last modified time | relevance | path

Searched refs:allowedProtocols (Results 1 – 16 of 16) 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()
326 byte[] allowedProtocols = (byte[]) value; in parseWifiConfigurationFromXml()
327 configuration.allowedProtocols = BitSet.valueOf(allowedProtocols); in parseWifiConfigurationFromXml()
DWifiConfigurationUtil.java235 if (!Objects.equals(existingConfig.allowedProtocols, newConfig.allowedProtocols)) { in hasCredentialChanged()
381 if (!validateBitSet(config.allowedProtocols, in validateBitSets()
384 + config.allowedProtocols); in validateBitSets()
DWifiConfigManager.java821 if (externalConfig.allowedProtocols != null in mergeWithInternalWifiConfiguration()
822 && !externalConfig.allowedProtocols.isEmpty()) { in mergeWithInternalWifiConfiguration()
823 internalConfig.allowedProtocols = (BitSet) externalConfig.allowedProtocols.clone(); in mergeWithInternalWifiConfiguration()
883 configuration.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in setDefaultsInWifiConfiguration()
884 configuration.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in setDefaultsInWifiConfiguration()
DWifiMetrics.java2693 info.allowedProtocols = bitSetToInt(config.allowedProtocols); in createConfigInfo()
2910 .append(" allowed_protocols=").append(info.allowedProtocols) in configInfoToString()
DSupplicantStaNetworkHal.java220 config.allowedProtocols = in loadWifiConfiguration()
332 if (config.allowedProtocols.cardinality() != 0 in saveWifiConfiguration()
333 && !setProto(wifiConfigurationToSupplicantProtoMask(config.allowedProtocols))) { in saveWifiConfiguration()
/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/base/wifi/java/android/net/wifi/
DWifiConfiguration.java387 public BitSet allowedProtocols; field in WifiConfiguration
1506 allowedProtocols = new BitSet(); in WifiConfiguration()
1645 for (int p = 0; p < this.allowedProtocols.size(); p++) { in toString()
1646 if (this.allowedProtocols.get(p)) { in toString()
2040 allowedProtocols = (BitSet) source.allowedProtocols.clone(); in WifiConfiguration()
2116 writeBitSet(dest, allowedProtocols); in writeToParcel()
2182 config.allowedProtocols = readBitSet(in);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java466 assertEquals(expected.allowedProtocols, actual.allowedProtocols); in assertCommonConfigurationElementsEqual()
559 assertEquals(expected.allowedProtocols, actual.allowedProtocols); in assertConfigurationEqualForSupplicant()
DWifiBackupRestoreTest.java279 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedTag()
280 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedTag()
332 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
333 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
DWifiConfigManagerTest.java1022 network.allowedProtocols.clear(); in testUpdateSingleNetworkWithNullValues()
1339 assertFalse(pskNetwork.allowedProtocols.get(WifiConfiguration.Protocol.OSEN)); in testUpdateProtocolsClearsHasEverConnected()
1340 pskNetwork.allowedProtocols.set(WifiConfiguration.Protocol.OSEN); in testUpdateProtocolsClearsHasEverConnected()
3613 if (configuration.allowedProtocols.isEmpty()) { in setDefaults()
3614 configuration.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in setDefaults()
3615 configuration.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in setDefaults()
DWifiMetricsTest.java1861 config.allowedProtocols = intToBitSet(TEST_ALLOWED_PROTOCOLS); in createComplexWifiConfig()
1879 assertEquals(config.allowedProtocols, intToBitSet(info.allowedProtocols)); in assertConfigInfoEqualsWifiConfig()
DWifiConfigurationUtilTest.java449 config.allowedProtocols.set(3); in testValidateNegativeCases_InvalidProtocol()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java399 configuration.allowedProtocols.toByteArray()); in writeCommonElementsToXml()
548 byte[] allowedProtocols = (byte[]) value; in parseFromXml()
549 configuration.allowedProtocols = BitSet.valueOf(allowedProtocols); in parseFromXml()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17909 field public java.util.BitSet allowedProtocols;
/frameworks/base/config/
Dhiddenapi-public-dex.txt26884 Landroid/net/wifi/WifiConfiguration;->allowedProtocols:Ljava/util/BitSet;
/frameworks/base/api/
Dcurrent.txt27993 field public java.util.BitSet allowedProtocols;