Searched refs:POLICY_NONE (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 46 public static final int POLICY_NONE = 0x0; field in NetworkPolicyManager 139 return POLICY_NONE; in getUidPolicy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 25 import static android.net.NetworkPolicyManager.POLICY_NONE; 255 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyChangeTriggersBroadcast() 370 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyNone() 424 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyRejectAddRemove() 442 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyRejectAddRemove()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 46 import static android.net.NetworkPolicyManager.POLICY_NONE; 1508 if (policy == POLICY_NONE) continue; in writePolicyLocked() 1538 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy() 1557 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy() 1574 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy() 1597 return mUidPolicy.get(uid, POLICY_NONE); in getUidPolicy() 2249 final int uidPolicy = mUidPolicy.get(uid, POLICY_NONE); in updateRulesForUidLocked() 2606 setUidPolicy(uid, POLICY_NONE); in factoryReset()
|