Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt37 import com.android.server.connectivity.FullScore.POLICY_IS_VPN in <lambda>()
120 assertFalse(ns.hasPolicy(POLICY_IS_VPN)) in <lambda>()
124 assertTrue(ns.withPolicies(vpn = true).hasPolicy(POLICY_IS_VPN)) in <lambda>()
160 val ns2 = FullScore((1L shl POLICY_IS_VALIDATED) or (1L shl POLICY_IS_VPN) or in <lambda>()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java64 public static final int POLICY_IS_VPN = 61; field in FullScore
278 | (isVpn ? 1L << POLICY_IS_VPN : 0) in withPolicies()
DNetworkRanker.java37 import static com.android.server.connectivity.FullScore.POLICY_IS_VPN;
256 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_VPN), in getBestNetworkByPolicy()