Searched refs:setUidPolicy (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 255 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyChangeTriggersBroadcast() 261 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testPolicyChangeTriggersBroadcast() 329 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testScreenChangesRules() 370 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyNone() 392 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testPolicyReject() 424 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyRejectAddRemove() 433 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testPolicyRejectAddRemove() 442 mService.setUidPolicy(APP_ID_A, POLICY_NONE); in testPolicyRejectAddRemove() 639 mService.setUidPolicy(APP_ID_A, POLICY_REJECT_METERED_BACKGROUND); in testUidRemovedPolicyCleared()
|
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyManager.aidl | 33 void setUidPolicy(int uid, int policy); in setUidPolicy() method
|
D | NetworkPolicyManager.java | 104 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method in NetworkPolicyManager 106 mService.setUidPolicy(uid, policy); in setUidPolicy()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1528 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method 2606 setUidPolicy(uid, POLICY_NONE); in factoryReset()
|