Home
last modified time | relevance | path

Searched refs:KEEP_CONNECTED_NONE (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt21 import android.net.NetworkScore.KEEP_CONNECTED_NONE in <lambda>()
65 val ns = FullScore(50, 0L /* policy */, KEEP_CONNECTED_NONE) in <lambda>()
69 val vpnNs = FullScore(101, 0L /* policy */, KEEP_CONNECTED_NONE).withPolicies(vpn = true) in <lambda>()
88 val string = FullScore(10, 0L /* policy */, KEEP_CONNECTED_NONE) in <lambda>()
112 val ns = FullScore(50, 0L /* policy */, KEEP_CONNECTED_NONE) in <lambda>()
DNetworkOfferTest.kt22 import android.net.NetworkScore.KEEP_CONNECTED_NONE
45 val score = FullScore(50, POLICY_NONE, KEEP_CONNECTED_NONE) in testOfferNeededUnneeded()
DNetworkRankerTest.kt22 import android.net.NetworkScore.KEEP_CONNECTED_NONE in <lambda>()
37 policies.fold(0L) { acc, e -> acc or (1L shl e) }, KEEP_CONNECTED_NONE) in <lambda>()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkScore.java46 KEEP_CONNECTED_NONE,
54 public static final int KEEP_CONNECTED_NONE = 0; field in NetworkScore
220 private int mKeepConnectedReason = KEEP_CONNECTED_NONE;
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java23 import static android.net.NetworkScore.KEEP_CONNECTED_NONE;
205 return withPolicies(score.getLegacyInt(), score.getPolicies(), KEEP_CONNECTED_NONE, in makeProspectiveScore()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java323 assertEquals(NetworkScore.KEEP_CONNECTED_NONE, networkScore.getKeepConnectedReason()); in mbbNetworkForceKeepUp()
344 assertEquals(NetworkScore.KEEP_CONNECTED_NONE, networkScore.getKeepConnectedReason()); in calculateAndReportScoreWhileLingering_sendLingeringScore()
358 assertEquals(NetworkScore.KEEP_CONNECTED_NONE, networkScore.getKeepConnectedReason()); in calculateAndReportScoreWhileLingering_sendLingeringScore()
380 assertEquals(NetworkScore.KEEP_CONNECTED_NONE, networkScore.getKeepConnectedReason()); in calculateAndReportScoreWhileLingering_sendLingeringScore()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java970 : NetworkScore.KEEP_CONNECTED_NONE; in getScoreBuilder()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt353 field public static final int KEEP_CONNECTED_NONE = 0; // 0x0
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java4076 || nai.getScore().getKeepConnectedReason() != NetworkScore.KEEP_CONNECTED_NONE) { in unneeded()