Searched refs:RULE_REJECT_METERED (Results 1 – 4 of 4) sorted by relevance
56 public static final int RULE_REJECT_METERED = 0x1; field in NetworkPolicyManager342 if ((rules & RULE_REJECT_METERED) != 0) { in dumpRules()
28 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;337 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); in testScreenChangesRules()390 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); in testPolicyReject()408 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); in testPolicyReject()431 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); in testPolicyRejectAddRemove()637 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); in testUidRemovedPolicyCleared()
49 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;2258 uidRules = RULE_REJECT_METERED; in updateRulesForUidLocked()2262 uidRules = RULE_REJECT_METERED; in updateRulesForUidLocked()2272 uidRules = RULE_REJECT_METERED; in updateRulesForUidLocked()2285 final boolean oldRejectMetered = (oldRules & RULE_REJECT_METERED) != 0; in updateRulesForUidLocked()2286 final boolean rejectMetered = (uidRules & RULE_REJECT_METERED) != 0; in updateRulesForUidLocked()
33 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;935 || (networkCostly && (uidRules & RULE_REJECT_METERED) != 0)) { in isNetworkWithLinkPropertiesBlocked()3628 if ((uidRules & (RULE_REJECT_METERED | RULE_REJECT_ALL)) != 0) { in enforceMeteredApnPolicy()