Home
last modified time | relevance | path

Searched refs:POLICY_EVER_USER_SELECTED (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt33 import com.android.server.connectivity.FullScore.POLICY_EVER_USER_SELECTED in <lambda>()
121 assertFalse(ns.hasPolicy(POLICY_EVER_USER_SELECTED)) in <lambda>()
125 assertTrue(ns.withPolicies(onceChosen = true).hasPolicy(POLICY_EVER_USER_SELECTED)) in <lambda>()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java69 public static final int POLICY_EVER_USER_SELECTED = 60; field in FullScore
279 | (everUserSelected ? 1L << POLICY_EVER_USER_SELECTED : 0) in withPolicies()
DNetworkRanker.java32 import static com.android.server.connectivity.FullScore.POLICY_EVER_USER_SELECTED;
263 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_EVER_USER_SELECTED) in getBestNetworkByPolicy()