/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 90 public final boolean meteredHint; field in ScoredNetwork 130 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint) { in ScoredNetwork() argument 131 this(networkKey, rssiCurve, meteredHint, null /* attributes */); in ScoredNetwork() 148 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint, in ScoredNetwork() argument 152 this.meteredHint = meteredHint; in ScoredNetwork() 163 meteredHint = (in.readByte() == 1); in ScoredNetwork() 181 out.writeByte((byte) (meteredHint ? 1 : 0)); in writeToParcel() 194 && Objects.equals(meteredHint, that.meteredHint) in equals() 221 return Objects.hash(networkKey, rssiCurve, meteredHint, attributes); in hashCode() 231 ", meteredHint=" + meteredHint); in toString()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 107 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 111 mWifiConfig.meteredHint = false; in testGetMeteredLabel_returnsCorrectValues() 115 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 119 mWifiConfig.meteredHint = false; in testGetMeteredLabel_returnsCorrectValues() 123 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 130 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues() 134 mWifiConfig.meteredHint = false; in testIsMeteredOverridden_returnsCorrectValues() 138 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues() 142 mWifiConfig.meteredHint = false; in testIsMeteredOverridden_returnsCorrectValues() 146 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScoredNetworkEvaluator.java | 291 mEphemeralConfig.meteredHint)); in getCandidateConfiguration() 301 mEphemeralConfig.meteredHint = mScoreCache.getMeteredHint(mScanResultCandidate); in getCandidateConfiguration() 326 mEphemeralConfig.meteredHint)); in getCandidateConfiguration()
|
D | WifiConfigManager.java | 1050 internalConfig.meteredHint = externalConfig.meteredHint; in mergeWithInternalWifiConfiguration()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 905 public boolean meteredHint; field in WifiConfiguration 937 if (config != null && config.meteredHint) { in isMetered() 1787 meteredHint = false; in WifiConfiguration() 1900 if (this.meteredHint) sbuf.append(" meteredHint"); in toString() 1904 || this.fromWifiNetworkSpecifier || this.meteredHint || this.useExternalScores) { in toString() 2415 meteredHint = source.meteredHint; in WifiConfiguration() 2494 dest.writeInt(meteredHint ? 1 : 0); in writeToParcel() 2567 config.meteredHint = in.readInt() != 0;
|
D | WifiInfo.java | 489 public void setMeteredHint(boolean meteredHint) { in setMeteredHint() argument 490 mMeteredHint = meteredHint; in setMeteredHint()
|
D | WifiNetworkScoreCache.java | 169 return network != null && network.meteredHint; in getMeteredHint()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 380 int networkId, ScanDetail scanDetail, boolean meteredHint) { in setupEphemeralNetwork() argument 389 config.meteredHint = meteredHint; in setupEphemeralNetwork()
|
D | ScoredNetworkEvaluatorTest.java | 313 assertEquals(meteredHints[1], candidate.meteredHint); in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable() 354 assertEquals(meteredHints[1], candidate.meteredHint); in testEvaluateNetworks_chooseEphemeralNetworkBecauseOfNoSavedNetwork() 398 assertEquals(meteredHints[1], candidate.meteredHint); in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork() 673 assertEquals(meteredHints[1], candidate.meteredHint); in testEvaluateNetworks_chooseActiveEphemeralNetwork()
|
D | WifiConfigurationTestUtil.java | 592 assertEquals(expected.meteredHint, actual.meteredHint); in assertConfigurationEqualForConfigStore() 622 assertEquals(expected.meteredHint, actual.meteredHint); in assertConfigurationEqualForConfigManagerAddOrUpdate()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 192 assertTrue(newNetwork.meteredHint); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 218 assertTrue(newNetwork.meteredHint); in shouldWriteAndReadFromParcelWithoutBundle()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 210 || (config.meteredHint && !isMeteredOverridden(config))) { in getMeteredLabel()
|
D | AccessPoint.java | 644 mIsScoredNetworkMetered |= score.meteredHint; in updateMetered() 653 mIsScoredNetworkMetered |= score.meteredHint; in updateMetered() 1214 if (mConfig != null && (WifiUtils.isMeteredOverridden(mConfig) || mConfig.meteredHint)) { in getSettingsSummary()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 497 XmlUtil.writeNextValue(out, XML_TAG_METERED_HINT, configuration.meteredHint); in writeToXmlForConfigStore() 664 configuration.meteredHint = (boolean) value; in parseFromXml()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 231 configuration.meteredHint = true; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 303 configuration.meteredHint = true; 532 config.meteredHint = true;
|
/frameworks/base/api/ |
D | system-current.txt | 4736 field public final boolean meteredHint; 5351 field @Deprecated public boolean meteredHint;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4736 field public final boolean meteredHint; 5257 field @Deprecated public boolean meteredHint;
|