Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java260 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()
DNetworkPolicyManagerService.java2554 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method
5100 setUidPolicy(uid, POLICY_NONE); in factoryReset()
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl35 void setUidPolicy(int uid, int policy); in setUidPolicy() method
DNetworkPolicyManager.java213 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/
DNetworkPolicyManagerServiceTest.java502 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/
Dhiddenapi-greylist-max-o.txt43374 Landroid/net/INetworkPolicyManager$Stub$Proxy;->setUidPolicy(II)V