Searched refs:getLegacyInt (Results 1 – 9 of 9) sorted by relevance
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A 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
|
H A D | NetworkRanker.java | 347 offerIntScore = contestant.getScore().getLegacyInt(); in mightBeatByLegacyInt() 349 return championScore.getLegacyInt() < offerIntScore; in mightBeatByLegacyInt()
|
H A D | NetworkAgentInfo.java | 924 return mScore.getLegacyInt(); in getCurrentScore()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiScoreReportTest.java | 251 return networkScore.getLegacyInt() == score; in verifySentNetworkScore() 355 assertEquals(WifiScoreReport.LINGERING_SCORE, networkScore.getLegacyInt()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 511 assertEquals(score, ns.getLegacyInt()); in giveUpOnBadRssiWhenDataIsNotMoving() 940 assertEquals(ConnectedScore.WIFI_MAX_SCORE, score.getLegacyInt()); in testFrameworkGetsUpdatesScore() 952 assertEquals(ConnectedScore.WIFI_MAX_SCORE, score.getLegacyInt()); in testFrameworkGetsUpdatesScore() 965 assertEquals(score.getLegacyInt(), 49); in testFrameworkGetsUpdatesScore() 978 assertEquals(score.getLegacyInt(), 59); in testFrameworkGetsUpdatesScore() 1359 assertEquals(51, ns.getLegacyInt()); in verifyNudCheckAndScoreIfToggleOffForAospScorer() 1385 assertEquals(51, ns.getLegacyInt()); in verifyNudCheckAndScoreIfScoringDisabledForAospScorer() 1506 assertEquals(60, ns.getLegacyInt()); in testFrameworkGetsNotifiedOfUpdatedStatus() [all …]
|
/aosp12/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
H A D | VcnNetworkProviderTest.java | 90 score.getLegacyInt() == Vcn.getNetworkScore().getLegacyInt() in verifyRegisterAndGetOfferCallback()
|
/aosp12/packages/modules/Connectivity/framework/src/android/net/ |
H A D | NetworkScore.java | 107 public int getLegacyInt() { in getLegacyInt() method in NetworkScore
|
/aosp12/frameworks/libs/net/common/device/android/net/ |
H A D | NetworkFactoryLegacyImpl.java | 365 setScoreFilter(score.getLegacyInt()); in setScoreFilter()
|
/aosp12/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
H A D | NetworkAgentWrapper.java | 209 final int newLegacyScore = mScore.getLegacyInt() + change; in adjustScore()
|
/aosp12/packages/modules/Connectivity/framework/api/ |
H A D | system-current.txt | 347 method public int getLegacyInt();
|