Searched refs:setUidPolicy (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerShellCommand.java | 260 private int setUidPolicy(int policy) throws RemoteException { in setUidPolicy() method in NetworkPolicyManagerShellCommand 265 mInterface.setUidPolicy(uid, policy); in setUidPolicy() 280 mInterface.setUidPolicy(uid, POLICY_NONE); in resetUidPolicy() 285 return setUidPolicy(POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist() 293 return setUidPolicy(POLICY_REJECT_METERED_BACKGROUND); in addRestrictBackgroundBlacklist()
|
D | NetworkPolicyManagerService.java | 2554 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method 5100 setUidPolicy(uid, POLICY_NONE); in factoryReset()
|
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyManager.aidl | 35 void setUidPolicy(int uid, int policy); in setUidPolicy() method
|
D | NetworkPolicyManager.java | 213 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method in NetworkPolicyManager 215 mService.setUidPolicy(uid, policy); in setUidPolicy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 502 mService.setUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist() 622 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist() 659 mService.setUidPolicy(UID_A, POLICY_REJECT_METERED_BACKGROUND); in addRestrictBackgroundBlacklist() 697 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist() 744 mService.setUidPolicy(UID_A, POLICY_REJECT_METERED_BACKGROUND); in testWhitelistedAppIsNotifiedWhenBlacklisted() 775 mService.setUidPolicy(UID_A, POLICY_NONE); in restrictBackgroundListsTest() 780 mService.setUidPolicy(UID_E, POLICY_ALLOW_METERED_BACKGROUND); in restrictBackgroundListsTest() 785 mService.setUidPolicy(UID_B, POLICY_REJECT_METERED_BACKGROUND); in restrictBackgroundListsTest()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 43374 Landroid/net/INetworkPolicyManager$Stub$Proxy;->setUidPolicy(II)V
|