Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java107 public static final int POLICY_IS_DESTROYED = 54; field in FullScore
111 static final int MIN_CS_MANAGED_POLICY = POLICY_IS_DESTROYED;
286 | (destroyed ? 1L << POLICY_IS_DESTROYED : 0), in withPolicies()
DNetworkRanker.java34 import static com.android.server.connectivity.FullScore.POLICY_IS_DESTROYED;
341 partitionInto(candidates, nai -> !nai.getScore().hasPolicy(POLICY_IS_DESTROYED), in getBestNetworkByPolicy()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt34 import com.android.server.connectivity.FullScore.POLICY_IS_DESTROYED in <lambda>()
127 assertTrue(ns.withPolicies(destroyed = true).hasPolicy(POLICY_IS_DESTROYED)) in <lambda>()
161 (1L shl POLICY_IS_DESTROYED), KEEP_CONNECTED_NONE) in <lambda>()