Searched refs:meteredHint (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 53 public final boolean meteredHint; field in ScoredNetwork 83 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint) { in ScoredNetwork() argument 86 this.meteredHint = meteredHint; in ScoredNetwork() 96 meteredHint = in.readByte() != 0; in ScoredNetwork() 113 out.writeByte((byte) (meteredHint ? 1 : 0)); in writeToParcel() 125 && Objects.equals(meteredHint, that.meteredHint); in equals() 130 return Objects.hash(networkKey, rssiCurve, meteredHint); in hashCode() 136 + ",meteredHint=" + meteredHint + "]"; in toString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkScoreCache.java | 118 return network != null && network.meteredHint; in getMeteredHint() 183 + ", meteredHint=" + scoredNetwork.meteredHint); in dump()
|
D | WifiNetworkHistory.java | 218 + Boolean.toString(config.meteredHint) + NL); in writeKnownNetworkHistory() 432 config.meteredHint = Boolean.parseBoolean(value); in readNetworkHistory()
|
D | WifiQualifiedNetworkSelector.java | 904 unTrustedNetworkCandidate.meteredHint = in getExternalScoreCandidate() 913 unTrustedNetworkCandidate.meteredHint)); in getExternalScoreCandidate()
|
D | WifiConfigManager.java | 1617 return config != null && config.meteredHint; in getMeteredHint() 1981 currentConfig.meteredHint = config.meteredHint; in addOrUpdateNetworkNative()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 690 public boolean meteredHint; field in WifiConfiguration 1345 meteredHint = false; in WifiConfiguration() 1446 if (this.meteredHint) sbuf.append(" meteredHint"); in toString() 1449 || this.ephemeral || this.meteredHint || this.useExternalScores) { in toString() 1873 meteredHint = source.meteredHint; in WifiConfiguration() 1954 dest.writeInt(meteredHint ? 1 : 0); in writeToParcel() 2025 config.meteredHint = in.readInt() != 0;
|
D | WifiInfo.java | 438 public void setMeteredHint(boolean meteredHint) { in setMeteredHint() argument 439 mMeteredHint = meteredHint; in setMeteredHint()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 881 final boolean meteredHint = info.getMeteredHint(); 886 if (policy == null && meteredHint) { 889 policy = newWifiPolicy(template, meteredHint); 895 policy.metered = meteredHint;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiQualifiedNetworkSelectorTest.java | 1681 assertEquals(meteredHints[1], candidate.meteredHint); in selectQualifiedNetworkChoosesEphemeral() 1903 assertEquals(meteredHints[0], candidate.meteredHint); in selectQualifiedNetworkDoesNotChooseDeletedEphemeral()
|
/frameworks/base/api/ |
D | system-current.txt | 25732 field public final boolean meteredHint;
|