Searched refs:meteredHint (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 92 public final boolean meteredHint; field in ScoredNetwork 132 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint) { in ScoredNetwork() argument 133 this(networkKey, rssiCurve, meteredHint, null /* attributes */); in ScoredNetwork() 150 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint, in ScoredNetwork() argument 154 this.meteredHint = meteredHint; in ScoredNetwork() 165 meteredHint = (in.readByte() == 1); in ScoredNetwork() 183 out.writeByte((byte) (meteredHint ? 1 : 0)); in writeToParcel() 196 && Objects.equals(meteredHint, that.meteredHint) in equals() 223 return Objects.hash(networkKey, rssiCurve, meteredHint, attributes); in hashCode() 233 ", meteredHint=" + meteredHint); in toString()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 115 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 119 mWifiConfig.meteredHint = false; in testGetMeteredLabel_returnsCorrectValues() 123 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 127 mWifiConfig.meteredHint = false; in testGetMeteredLabel_returnsCorrectValues() 131 mWifiConfig.meteredHint = true; in testGetMeteredLabel_returnsCorrectValues() 138 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues() 142 mWifiConfig.meteredHint = false; in testIsMeteredOverridden_returnsCorrectValues() 146 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues() 150 mWifiConfig.meteredHint = false; in testIsMeteredOverridden_returnsCorrectValues() 154 mWifiConfig.meteredHint = true; in testIsMeteredOverridden_returnsCorrectValues()
|
/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/wifi/java/src/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 168 return network != null && network.meteredHint; in getMeteredHint()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | UtilsTest.java | 279 config.meteredHint = false; in testGetMeteredDescription_noOverrideNoHint_returnEmptyString() 306 config.meteredHint = true; in testGetMeteredDescription__meteredHintTrueAndOverrideNone_returnMetered() 321 config.meteredHint = true; in testGetMeteredDescription__meteredHintTrueAndOverrideMetered_returnMetered() 336 config.meteredHint = true; in testGetMeteredDescription__meteredHintTrueAndOverrideNotMetered_returnUnmetered()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.kt | 376 config.meteredHint && !isMeteredOverridden( in <lambda>()
|
D | AccessPoint.java | 674 mIsScoredNetworkMetered |= score.meteredHint; in updateMetered() 683 mIsScoredNetworkMetered |= score.meteredHint; in updateMetered() 1234 if (mConfig != null && (WifiUtils.isMeteredOverridden(mConfig) || mConfig.meteredHint)) { in getSettingsSummary()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | PasspointWifiEntry.java | 284 || (mWifiConfig != null && mWifiConfig.meteredHint); in isMetered()
|
D | StandardWifiEntry.java | 276 || (mTargetWifiConfig != null && mTargetWifiConfig.meteredHint); in isMetered()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 315 configuration.meteredHint = true; 502 config.meteredHint = true;
|
/frameworks/base/core/api/ |
D | system-current.txt | 9736 field @Deprecated public final boolean meteredHint;
|