Searched refs:rssiCurve (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 80 public final RssiCurve rssiCurve; field in ScoredNetwork 113 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve) { in ScoredNetwork() argument 114 this(networkKey, rssiCurve, false /* meteredHint */); 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 151 this.rssiCurve = rssiCurve; in ScoredNetwork() 159 rssiCurve = RssiCurve.CREATOR.createFromParcel(in); in ScoredNetwork() 161 rssiCurve = null; in ScoredNetwork() 175 if (rssiCurve != null) { in writeToParcel() [all …]
|
D | RssiCurve.java | 179 RssiCurve rssiCurve = (RssiCurve) o; in equals() 181 return start == rssiCurve.start && in equals() 182 bucketWidth == rssiCurve.bucketWidth && in equals() 183 Arrays.equals(rssiBuckets, rssiCurve.rssiBuckets) && in equals() 184 activeNetworkRssiBoost == rssiCurve.activeNetworkRssiBoost; in equals()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 189 assertEquals(CURVE.start, newNetwork.rssiCurve.start); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 190 assertEquals(CURVE.bucketWidth, newNetwork.rssiCurve.bucketWidth); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 191 assertTrue(Arrays.equals(CURVE.rssiBuckets, newNetwork.rssiCurve.rssiBuckets)); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 215 assertEquals(CURVE.start, newNetwork.rssiCurve.start); in shouldWriteAndReadFromParcelWithoutBundle() 216 assertEquals(CURVE.bucketWidth, newNetwork.rssiCurve.bucketWidth); in shouldWriteAndReadFromParcelWithoutBundle() 217 assertTrue(Arrays.equals(CURVE.rssiBuckets, newNetwork.rssiCurve.rssiBuckets)); in shouldWriteAndReadFromParcelWithoutBundle()
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 143 return network != null && network.rssiCurve != null; in hasScoreCurve() 150 if (network != null && network.rssiCurve != null) { in getNetworkScore() 151 score = network.rssiCurve.lookupScore(result.level); in getNetworkScore() 175 if (network != null && network.rssiCurve != null) { in getNetworkScore() 176 score = network.rssiCurve.lookupScore(result.level, isActiveNetwork); in getNetworkScore()
|
/frameworks/base/core/api/ |
D | system-current.txt | 7486 field public final android.net.RssiCurve rssiCurve;
|