Searched refs:ALLOWED_REASON_FOREGROUND (Results 1 – 3 of 3) sorted by relevance
243 public static final int ALLOWED_REASON_FOREGROUND = 1 << 1; field in NetworkPolicyManager
53 import static android.net.NetworkPolicyManager.ALLOWED_REASON_FOREGROUND;2580 Pair.create(BLOCKED_REASON_BATTERY_SAVER, ALLOWED_REASON_FOREGROUND), in testUpdateEffectiveBlockedReasons()2583 ALLOWED_REASON_FOREGROUND), BLOCKED_REASON_NONE); in testUpdateEffectiveBlockedReasons()2592 ALLOWED_REASON_FOREGROUND), BLOCKED_METERED_REASON_DATA_SAVER); in testUpdateEffectiveBlockedReasons()2598 ALLOWED_REASON_FOREGROUND), BLOCKED_REASON_LOW_POWER_STANDBY); in testUpdateEffectiveBlockedReasons()
85 import static android.net.NetworkPolicyManager.ALLOWED_REASON_FOREGROUND;5609 newAllowedReasons |= (isForeground ? ALLOWED_REASON_FOREGROUND : 0);6863 if ((allowedReasons & ALLOWED_REASON_FOREGROUND) != 0) {6904 return ALLOWED_REASON_TOP | ALLOWED_REASON_FOREGROUND6907 return ALLOWED_REASON_FOREGROUND | ALLOWED_METERED_REASON_FOREGROUND6945 ALLOWED_REASON_FOREGROUND,6991 case ALLOWED_REASON_FOREGROUND: