Home
last modified time | relevance | path

Searched refs:setUidPolicy (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java255 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/
DINetworkPolicyManager.aidl33 void setUidPolicy(int uid, int policy); in setUidPolicy() method
DNetworkPolicyManager.java104 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/
DNetworkPolicyManagerService.java1528 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method
2606 setUidPolicy(uid, POLICY_NONE); in factoryReset()