Home
last modified time | relevance | path

Searched refs:POLICY_NONE (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java22 import static android.net.NetworkPolicyManager.POLICY_NONE;
80 uidPoliciesToStringTest(POLICY_NONE, "0 (NONE)"); in testUidPoliciesToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java27 import static android.net.NetworkPolicyManager.POLICY_NONE;
497 assertUidPolicy(UID_A, POLICY_NONE); in addRestrictBackgroundWhitelist()
622 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()
625 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()
626 mPolicyListener.waitAndVerify().onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()
655 assertUidPolicy(UID_A, POLICY_NONE); // Sanity check. in addRestrictBackgroundBlacklist()
697 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist()
699 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist()
701 .onUidPoliciesChanged(APP_ID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist()
768 assertUidPolicy(UID_D, POLICY_NONE); in restrictBackgroundListsTest()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java20 import static android.net.NetworkPolicyManager.POLICY_NONE;
280 mInterface.setUidPolicy(uid, POLICY_NONE); in resetUidPolicy()
DNetworkPolicyManagerService.java61 import static android.net.NetworkPolicyManager.POLICY_NONE;
2355 final int policy = mUidPolicy.get(uid, POLICY_NONE); in readPolicyAL()
2519 if (policy == POLICY_NONE) continue; in writePolicyAL()
2563 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy()
2583 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy()
2601 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy()
2644 if (policy == POLICY_NONE) { in setUidPolicyUncheckedUL()
2664 return mUidPolicy.get(uid, POLICY_NONE); in getUidPolicy()
2677 if ((policy == POLICY_NONE && uidPolicy == POLICY_NONE) || in getUidsWithPolicy()
4248 final int uidPolicy = mUidPolicy.get(uid, POLICY_NONE); in updateRulesForDataUsageRestrictionsULInner()
[all …]
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java65 public static final int POLICY_NONE = 0x0; field in NetworkPolicyManager
513 if (uidPolicies == POLICY_NONE) {
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44546 Landroid/net/NetworkPolicyManager;->POLICY_NONE:I