Searched refs:rssiCurve (Results 1 – 7 of 7) 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/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 144 return network != null && network.rssiCurve != null; in hasScoreCurve() 151 if (network != null && network.rssiCurve != null) { in getNetworkScore() 152 score = network.rssiCurve.lookupScore(result.level); in getNetworkScore() 176 if (network != null && network.rssiCurve != null) { in getNetworkScore() 177 score = network.rssiCurve.lookupScore(result.level, isActiveNetwork); in getNetworkScore()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 348 RssiCurve rssiCurve; in configureScoreCache() local 359 rssiCurve = new RssiCurve(-100, 100, new byte[] {rssiScore}); in configureScoreCache() 361 rssiCurve = new RssiCurve(-80, 20, new byte[] {-10, 0, 10, 20, 30, 40}); in configureScoreCache() 363 ScoredNetwork scoredNetwork = new ScoredNetwork(ntwkKey, rssiCurve, meteredHints[i]); in configureScoreCache()
|
/frameworks/base/api/ |
D | system-current.txt | 4738 field public final android.net.RssiCurve rssiCurve;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4738 field public final android.net.RssiCurve rssiCurve;
|