Searched refs:POLICY_IS_VPN (Results 1 – 3 of 3) sorted by relevance
37 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>()
64 public static final int POLICY_IS_VPN = 61; field in FullScore278 | (isVpn ? 1L << POLICY_IS_VPN : 0) in withPolicies()
37 import static com.android.server.connectivity.FullScore.POLICY_IS_VPN;256 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_VPN), in getBestNetworkByPolicy()