Searched refs:getLegacyInt (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | FullScore.java | 160 return withPolicies(score.getLegacyInt(), score.getPolicies(), in fromNetworkScore() 204 final boolean invincible = score.getLegacyInt() > NetworkRanker.LEGACY_INT_MAX; in makeProspectiveScore() 205 return withPolicies(score.getLegacyInt(), score.getPolicies(), KEEP_CONNECTED_NONE, in makeProspectiveScore() 273 public int getLegacyInt() { in getLegacyInt() method in FullScore 274 return getLegacyInt(false /* pretendValidated */); in getLegacyInt() 278 return getLegacyInt(true /* pretendValidated */); in getLegacyIntAsValidated() 288 private int getLegacyInt(boolean pretendValidated) { in getLegacyInt() method in FullScore
|
D | NetworkRanker.java | 347 offerIntScore = contestant.getScore().getLegacyInt(); in mightBeatByLegacyInt() 349 return championScore.getLegacyInt() < offerIntScore; in mightBeatByLegacyInt()
|
D | NetworkAgentInfo.java | 924 return mScore.getLegacyInt(); in getCurrentScore()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreReportTest.java | 251 return networkScore.getLegacyInt() == score; in verifySentNetworkScore() 306 assertNotEquals(WifiScoreReport.LINGERING_SCORE, networkScore.getLegacyInt()); in mbbNetworkForceKeepUp() 319 assertNotEquals(WifiScoreReport.LINGERING_SCORE, networkScore.getLegacyInt()); in mbbNetworkForceKeepUp() 341 assertNotEquals(WifiScoreReport.LINGERING_SCORE, networkScore.getLegacyInt()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 355 assertEquals(WifiScoreReport.LINGERING_SCORE, networkScore.getLegacyInt()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 377 assertNotEquals(WifiScoreReport.LINGERING_SCORE, networkScore.getLegacyInt()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 410 assertEquals(WifiScoreReport.LINGERING_SCORE, networkScore.getLegacyInt()); in testExternalScorerWhileLingering_sendLingeringScore() 425 return ns.getLegacyInt() == 49 && ns.isExiting() && ns.isTransportPrimary(); in testExternalScorerWhileLingering_sendLingeringScore() 511 assertEquals(score, ns.getLegacyInt()); in giveUpOnBadRssiWhenDataIsNotMoving() 940 assertEquals(ConnectedScore.WIFI_MAX_SCORE, score.getLegacyInt()); in testFrameworkGetsUpdatesScore() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkScore.java | 107 public int getLegacyInt() { in getLegacyInt() method in NetworkScore
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 209 final int newLegacyScore = mScore.getLegacyInt() + change; in adjustScore()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 347 method public int getLegacyInt();
|