Searched refs:POLICY_YIELD_TO_BAD_WIFI (Results 1 – 4 of 4) sorted by relevance
85 public static final int POLICY_YIELD_TO_BAD_WIFI = 1; field in NetworkScore94 public static final int MIN_AGENT_MANAGED_POLICY = POLICY_YIELD_TO_BAD_WIFI;162 return hasPolicy(POLICY_YIELD_TO_BAD_WIFI); in shouldYieldToBadWifi()269 mPolicies |= (1L << POLICY_YIELD_TO_BAD_WIFI); in setShouldYieldToBadWifi()271 mPolicies &= ~(1L << POLICY_YIELD_TO_BAD_WIFI); in setShouldYieldToBadWifi()
24 import static android.net.NetworkScore.POLICY_YIELD_TO_BAD_WIFI;121 0x00000000FFFFFFFFL & ~(1L << POLICY_YIELD_TO_BAD_WIFI);283 | (yieldToBadWiFi ? 1L << POLICY_YIELD_TO_BAD_WIFI : 0) in withPolicies()294 return new FullScore(newYield ? mPolicies | (1L << POLICY_YIELD_TO_BAD_WIFI) in withYieldToBadWiFi()295 : mPolicies & ~(1L << POLICY_YIELD_TO_BAD_WIFI), in withYieldToBadWiFi()
26 import static android.net.NetworkScore.POLICY_YIELD_TO_BAD_WIFI;199 if (!CollectionUtils.any(accepted, n -> n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI))) { in applyYieldToBadWifiPolicy()207 if (CollectionUtils.all(accepted, n -> n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI))) { in applyYieldToBadWifiPolicy()219 partitionInto(acceptedWithYielders, n -> !n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI), in applyYieldToBadWifiPolicy()
26 import android.net.NetworkScore.POLICY_YIELD_TO_BAD_WIFI as YIELD_TO_BAD_WIFI in <lambda>()