Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java287 public static final int ALLOWED_REASON_NOT_IN_BACKGROUND = 1 << 7; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java88 import static android.net.NetworkPolicyManager.ALLOWED_REASON_NOT_IN_BACKGROUND;
5621 ? ALLOWED_REASON_NOT_IN_BACKGROUND : 0;
6895 if ((allowedReasons & ALLOWED_REASON_NOT_IN_BACKGROUND) != 0) {
6905 | ALLOWED_METERED_REASON_FOREGROUND | ALLOWED_REASON_NOT_IN_BACKGROUND;
6908 | ALLOWED_REASON_NOT_IN_BACKGROUND;
6910 return ALLOWED_REASON_NOT_IN_BACKGROUND;
6951 ALLOWED_REASON_NOT_IN_BACKGROUND,
7003 case ALLOWED_REASON_NOT_IN_BACKGROUND:
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java56 import static android.net.NetworkPolicyManager.ALLOWED_REASON_NOT_IN_BACKGROUND;
2605 ALLOWED_REASON_NOT_IN_BACKGROUND), BLOCKED_REASON_NONE); in testUpdateEffectiveBlockedReasons()
2607 | BLOCKED_REASON_BATTERY_SAVER, ALLOWED_REASON_NOT_IN_BACKGROUND), in testUpdateEffectiveBlockedReasons()
2610 | BLOCKED_REASON_DOZE, ALLOWED_REASON_NOT_IN_BACKGROUND), in testUpdateEffectiveBlockedReasons()