Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt31 import com.android.server.connectivity.FullScore.POLICY_ACCEPT_UNVALIDATED in <lambda>()
122 assertFalse(ns.hasPolicy(POLICY_ACCEPT_UNVALIDATED)) in <lambda>()
126 assertTrue(ns.withPolicies(acceptUnvalidated = true).hasPolicy(POLICY_ACCEPT_UNVALIDATED)) in <lambda>()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRanker.java29 import static com.android.server.connectivity.FullScore.POLICY_ACCEPT_UNVALIDATED;
264 && nai.getScore().hasPolicy(POLICY_ACCEPT_UNVALIDATED), in getBestNetworkByPolicy()
272 || nai.getScore().hasPolicy(POLICY_ACCEPT_UNVALIDATED), in getBestNetworkByPolicy()
DFullScore.java74 public static final int POLICY_ACCEPT_UNVALIDATED = 59; field in FullScore
280 | (acceptUnvalidated ? 1L << POLICY_ACCEPT_UNVALIDATED : 0) in withPolicies()