/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 108 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NONE; in testGetMeteredLabel_returnsCorrectValues() 112 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testGetMeteredLabel_returnsCorrectValues() 116 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testGetMeteredLabel_returnsCorrectValues() 120 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testGetMeteredLabel_returnsCorrectValues() 124 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testGetMeteredLabel_returnsCorrectValues() 131 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NONE; in testIsMeteredOverridden_returnsCorrectValues() 135 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testIsMeteredOverridden_returnsCorrectValues() 139 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testIsMeteredOverridden_returnsCorrectValues() 143 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testIsMeteredOverridden_returnsCorrectValues() 147 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testIsMeteredOverridden_returnsCorrectValues()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 924 public int meteredOverride = METERED_OVERRIDE_NONE; field in WifiConfiguration 941 && config.meteredOverride == WifiConfiguration.METERED_OVERRIDE_METERED) { in isMetered() 945 && config.meteredOverride == WifiConfiguration.METERED_OVERRIDE_NOT_METERED) { in isMetered() 1788 meteredOverride = METERED_OVERRIDE_NONE; in WifiConfiguration() 1907 if (this.meteredOverride != METERED_OVERRIDE_NONE) { in toString() 1908 sbuf.append(" meteredOverride ").append(meteredOverride).append("\n"); in toString() 2416 meteredOverride = source.meteredOverride; in WifiConfiguration() 2495 dest.writeInt(meteredOverride); in writeToParcel() 2568 config.meteredOverride = in.readInt();
|
D | WifiNetworkSuggestion.java | 356 wifiConfiguration.meteredOverride = in buildWifiConfiguration()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkSuggestionTest.java | 62 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 89 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 116 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 573 assertEquals(expected.meteredOverride, actual.meteredOverride); in assertConfigurationEqualForBackup() 593 assertEquals(expected.meteredOverride, actual.meteredOverride); in assertConfigurationEqualForConfigStore() 623 assertEquals(expected.meteredOverride, actual.meteredOverride); in assertConfigurationEqualForConfigManagerAddOrUpdate()
|
D | NetworkListStoreDataTest.java | 253 openNetwork.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in getTestNetworksConfig()
|
D | NetworkSuggestionEvaluatorTest.java | 727 configs[i].meteredOverride = meteredness[i] in buildNetworkSuggestions()
|
D | WifiBackupRestoreTest.java | 1016 config.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in createNetworkForConfigurationWithV1_1Data()
|
D | WifiNetworkSuggestionsManagerTest.java | 397 networkSuggestion.wifiConfiguration.meteredOverride = in testAddNetworkSuggestionsFailureOnInPlaceModification()
|
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyManager.aidl | 68 void setWifiMeteredOverride(String networkId, int meteredOverride); in setWifiMeteredOverride() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 209 if (config.meteredOverride == WifiConfiguration.METERED_OVERRIDE_METERED in getMeteredLabel() 217 return config.meteredOverride != WifiConfiguration.METERED_OVERRIDE_NONE; in isMeteredOverridden()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerShellCommand.java | 331 if (arg == null || config.meteredOverride == match) { in listWifiNetworks() 334 pw.println(overrideToString(config.meteredOverride)); in listWifiNetworks()
|
D | NetworkPolicyManagerService.java | 2423 config.meteredOverride = policy.metered in upgradeWifiMeteredOverrideAL() 3008 public void setWifiMeteredOverride(String networkId, int meteredOverride) { in setWifiMeteredOverride() argument 3016 config.meteredOverride = meteredOverride; in setWifiMeteredOverride()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 467 XmlUtil.writeNextValue(out, XML_TAG_METERED_OVERRIDE, configuration.meteredOverride); in writeToXmlForBackup() 498 XmlUtil.writeNextValue(out, XML_TAG_METERED_OVERRIDE, configuration.meteredOverride); in writeToXmlForConfigStore() 667 configuration.meteredOverride = (int) value; in parseFromXml()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 347 configuration.meteredOverride = (int) value; in parseWifiConfigurationFromXmlInternal()
|
D | WifiConfigManager.java | 1051 internalConfig.meteredOverride = externalConfig.meteredOverride; in mergeWithInternalWifiConfiguration()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 1021 assertEquals(WifiConfiguration.METERED_OVERRIDE_METERED, wifiConfig.meteredOverride); in getWifiConfigWithUserCredential() 1090 assertEquals(WifiConfiguration.METERED_OVERRIDE_METERED, wifiConfig.meteredOverride); in getWifiConfigWithCertCredential() 1143 assertEquals(WifiConfiguration.METERED_OVERRIDE_NONE, wifiConfig.meteredOverride); in getWifiConfigWithSimCredential()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 401 wifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in getWifiConfig()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47159 Landroid/net/wifi/WifiConfiguration;->meteredOverride:I
|