Searched refs:POLICY_NONE (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkPolicyManagerTest.java | 21 import static android.net.NetworkPolicyManager.POLICY_NONE; 79 uidPoliciesToStringTest(POLICY_NONE, "0 (NONE)"); in testUidPoliciesToString()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 52 public static final int POLICY_NONE = 0x0; field in NetworkPolicyManager 340 if (uidPolicies == POLICY_NONE) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 27 import static android.net.NetworkPolicyManager.POLICY_NONE; 491 assertUidPolicy(UID_A, POLICY_NONE); in addRestrictBackgroundWhitelist() 616 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist() 619 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist() 620 mPolicyListener.waitAndVerify().onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist() 649 assertUidPolicy(UID_A, POLICY_NONE); // Sanity check. in addRestrictBackgroundBlacklist() 691 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist() 693 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist() 695 .onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist() 762 assertUidPolicy(UID_D, POLICY_NONE); in restrictBackgroundListsTest() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerShellCommand.java | 20 import static android.net.NetworkPolicyManager.POLICY_NONE; 260 mInterface.setUidPolicy(uid, POLICY_NONE); in resetUidPolicy()
|
D | NetworkPolicyManagerService.java | 57 import static android.net.NetworkPolicyManager.POLICY_NONE; 2270 final int policy = mUidPolicy.get(uid, POLICY_NONE); in readPolicyAL() 2432 if (policy == POLICY_NONE) continue; in writePolicyAL() 2476 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy() 2496 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy() 2514 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy() 2555 if (policy == POLICY_NONE) { in setUidPolicyUncheckedUL() 2575 return mUidPolicy.get(uid, POLICY_NONE); in getUidPolicy() 2588 if ((policy == POLICY_NONE && uidPolicy == POLICY_NONE) || in getUidsWithPolicy() 3984 final int uidPolicy = mUidPolicy.get(uid, POLICY_NONE); in updateRulesForDataUsageRestrictionsULInner() [all …]
|