/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 89 public final boolean meteredHint; field in ScoredNetwork 129 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint) { in ScoredNetwork() argument 130 this(networkKey, rssiCurve, meteredHint, null /* attributes */); in ScoredNetwork() 147 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint, in ScoredNetwork() argument 151 this.meteredHint = meteredHint; in ScoredNetwork() 162 meteredHint = (in.readByte() == 1); in ScoredNetwork() 180 out.writeByte((byte) (meteredHint ? 1 : 0)); in writeToParcel() 193 && Objects.equals(meteredHint, that.meteredHint) in equals() 220 return Objects.hash(networkKey, rssiCurve, meteredHint, attributes); in hashCode() 229 ", meteredHint=" + meteredHint); in toString()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 106 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 110 mWifiConfig.meteredHint = false; in testGetMeteredLabel_returnsCorrectValues() 114 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 118 mWifiConfig.meteredHint = false; in testGetMeteredLabel_returnsCorrectValues() 122 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 129 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues() 133 mWifiConfig.meteredHint = false; in testIsMeteredOverridden_returnsCorrectValues() 137 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues() 141 mWifiConfig.meteredHint = false; in testIsMeteredOverridden_returnsCorrectValues() 145 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScoredNetworkEvaluator.java | 285 mEphemeralConfig.meteredHint)); in getCandidateConfiguration() 293 mEphemeralConfig.meteredHint = mScoreCache.getMeteredHint(mScanResultCandidate); in getCandidateConfiguration() 313 mEphemeralConfig.meteredHint)); in getCandidateConfiguration()
|
D | WifiNetworkHistory.java | 212 + Boolean.toString(config.meteredHint) + NL); in writeKnownNetworkHistory() 424 config.meteredHint = Boolean.parseBoolean(value); in readNetworkHistory()
|
D | WifiConfigManager.java | 868 internalConfig.meteredHint = externalConfig.meteredHint; in mergeWithInternalWifiConfiguration()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 669 public boolean meteredHint; field in WifiConfiguration 701 if (config != null && config.meteredHint) { in isMetered() 1518 meteredHint = false; in WifiConfiguration() 1624 if (this.meteredHint) sbuf.append(" meteredHint"); in toString() 1627 || this.ephemeral || this.meteredHint || this.useExternalScores) { in toString() 2060 meteredHint = source.meteredHint; in WifiConfiguration() 2131 dest.writeInt(meteredHint ? 1 : 0); in writeToParcel() 2196 config.meteredHint = in.readInt() != 0;
|
D | WifiInfo.java | 364 public void setMeteredHint(boolean meteredHint) { in setMeteredHint() argument 365 mMeteredHint = meteredHint; in setMeteredHint()
|
D | WifiNetworkScoreCache.java | 167 return network != null && network.meteredHint; in getMeteredHint()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 363 int networkId, ScanDetail scanDetail, boolean meteredHint) { in setupEphemeralNetwork() argument 371 config.meteredHint = meteredHint; in setupEphemeralNetwork()
|
D | WifiConfigurationTestUtil.java | 499 assertEquals(expected.meteredHint, actual.meteredHint); in assertConfigurationEqualForConfigStore() 527 assertEquals(expected.meteredHint, actual.meteredHint); in assertConfigurationEqualForConfigManagerAddOrUpdate()
|
D | ScoredNetworkEvaluatorTest.java | 305 assertEquals(meteredHints[1], candidate.meteredHint); in testEvaluateNetworks_chooseEphemeralNetworkBecauseOfNoSavedNetwork() 345 assertEquals(meteredHints[1], candidate.meteredHint); in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork() 600 assertEquals(meteredHints[1], candidate.meteredHint); in testEvaluateNetworks_chooseActiveEphemeralNetwork()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 186 assertTrue(newNetwork.meteredHint); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 212 assertTrue(newNetwork.meteredHint); in shouldWriteAndReadFromParcelWithoutBundle()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 209 || (config.meteredHint && !isMeteredOverridden(config))) { in getMeteredLabel()
|
D | AccessPoint.java | 575 mIsScoredNetworkMetered |= score.meteredHint; in updateMetered() 583 mIsScoredNetworkMetered |= score.meteredHint; in updateMetered() 897 if (config != null && (WifiUtils.isMeteredOverridden(config) || config.meteredHint)) { in getSettingsSummary()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 450 XmlUtil.writeNextValue(out, XML_TAG_METERED_HINT, configuration.meteredHint); in writeToXmlForConfigStore() 598 configuration.meteredHint = (boolean) value; in parseFromXml()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 204 configuration.meteredHint = true; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 275 configuration.meteredHint = true;
|
/frameworks/base/api/ |
D | system-current.txt | 3153 field public final boolean meteredHint; 3395 field public boolean meteredHint;
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 25805 Landroid/net/ScoredNetwork;->meteredHint:Z 26900 Landroid/net/wifi/WifiConfiguration;->meteredHint:Z
|