Home
last modified time | relevance | path

Searched refs:RULE_ALLOW_ALL (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java27 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;
318 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
327 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
347 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
359 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testPolicyNone()
368 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testPolicyNone()
377 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testPolicyNone()
399 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testPolicyReject()
421 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testPolicyRejectAddRemove()
440 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testPolicyRejectAddRemove()
[all …]
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java54 public static final int RULE_ALLOW_ALL = 0x0; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java48 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;
2255 int uidRules = RULE_ALLOW_ALL; in updateRulesForUidLocked()
2278 if (uidRules == RULE_ALLOW_ALL) { in updateRulesForUidLocked()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java31 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;
931 uidRules = mUidRules.get(uid, RULE_ALLOW_ALL); in isNetworkWithLinkPropertiesBlocked()
1373 final int oldRules = mUidRules.get(uid, RULE_ALLOW_ALL);
3626 uidRules = mUidRules.get(uid, RULE_ALLOW_ALL); in enforceMeteredApnPolicy()