Searched refs:POLICY_REJECT_METERED_BACKGROUND (Results 1 – 3 of 3) sorted by relevance
48 public static final int POLICY_REJECT_METERED_BACKGROUND = 0x1; field in NetworkPolicyManager333 if ((policy & POLICY_REJECT_METERED_BACKGROUND) != 0) { in dumpPolicy()
26 import static android.net.NetworkPolicyManager.POLICY_REJECT_METERED_BACKGROUND;261 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testPolicyChangeTriggersBroadcast()329 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testScreenChangesRules()392 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testPolicyReject()433 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testPolicyRejectAddRemove()639 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testUidRemovedPolicyCleared()
47 import static android.net.NetworkPolicyManager.POLICY_REJECT_METERED_BACKGROUND;2256 if (!uidForeground && (uidPolicy & POLICY_REJECT_METERED_BACKGROUND) != 0) { in updateRulesForUidLocked()2605 for (int uid : getUidsWithPolicy(POLICY_REJECT_METERED_BACKGROUND)) { in factoryReset()