Searched refs:POLICY_NONE (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkPolicyManagerTest.java | 22 import static android.net.NetworkPolicyManager.POLICY_NONE; 80 uidPoliciesToStringTest(POLICY_NONE, "0 (NONE)"); in testUidPoliciesToString()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerShellCommand.java | 20 import static android.net.NetworkPolicyManager.POLICY_NONE; 310 mInterface.setUidPolicy(uid, POLICY_NONE); in resetUidPolicy()
|
D | NetworkPolicyManagerService.java | 99 import static android.net.NetworkPolicyManager.POLICY_NONE; 2884 final int policy = mUidPolicy.get(uid, POLICY_NONE); 3039 if (policy == POLICY_NONE) continue; 3084 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3105 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3124 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3167 if (policy == POLICY_NONE) { 3188 return mUidPolicy.get(uid, POLICY_NONE); 3202 if ((policy == POLICY_NONE && uidPolicy == POLICY_NONE) || 5427 final int uidPolicy = mUidPolicy.get(uid, POLICY_NONE); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 66 import static android.net.NetworkPolicyManager.POLICY_NONE; 714 assertUidPolicy(UID_A, POLICY_NONE); in addRestrictBackgroundAllowlist() 909 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundAllowlist() 912 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundAllowlist() 913 mPolicyListener.waitAndVerify().onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundAllowlist() 942 assertUidPolicy(UID_A, POLICY_NONE); in addRestrictBackgroundDenylist() 986 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundDenylist() 988 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundDenylist() 990 .onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundDenylist() 1054 assertUidPolicy(UID_D, POLICY_NONE); in restrictBackgroundListsTest() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 78 public static final int POLICY_NONE = 0x0; field in NetworkPolicyManager 784 if (uidPolicies == POLICY_NONE) {
|