Home
last modified time | relevance | path

Searched refs:getLegacyInt (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java160 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
DNetworkRanker.java347 offerIntScore = contestant.getScore().getLegacyInt(); in mightBeatByLegacyInt()
349 return championScore.getLegacyInt() < offerIntScore; in mightBeatByLegacyInt()
DNetworkAgentInfo.java924 return mScore.getLegacyInt(); in getCurrentScore()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java251 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/
DNetworkScore.java107 public int getLegacyInt() { in getLegacyInt() method in NetworkScore
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java209 final int newLegacyScore = mScore.getLegacyInt() + change; in adjustScore()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt347 method public int getLegacyInt();