Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java240 private int setUidPolicy(int policy) throws RemoteException { in setUidPolicy() method in NetworkPolicyManagerShellCommand
245 mInterface.setUidPolicy(uid, policy); in setUidPolicy()
260 mInterface.setUidPolicy(uid, POLICY_NONE); in resetUidPolicy()
265 return setUidPolicy(POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist()
273 return setUidPolicy(POLICY_REJECT_METERED_BACKGROUND); in addRestrictBackgroundBlacklist()
DNetworkPolicyManagerService.java2467 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method
4779 setUidPolicy(uid, POLICY_NONE); in factoryReset()
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl34 void setUidPolicy(int uid, int policy); in setUidPolicy() method
DNetworkPolicyManager.java144 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method in NetworkPolicyManager
146 mService.setUidPolicy(uid, policy); in setUidPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java496 mService.setUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist()
616 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()
653 mService.setUidPolicy(UID_A, POLICY_REJECT_METERED_BACKGROUND); in addRestrictBackgroundBlacklist()
691 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist()
738 mService.setUidPolicy(UID_A, POLICY_REJECT_METERED_BACKGROUND); in testWhitelistedAppIsNotifiedWhenBlacklisted()
769 mService.setUidPolicy(UID_A, POLICY_NONE); in restrictBackgroundListsTest()
774 mService.setUidPolicy(UID_E, POLICY_ALLOW_METERED_BACKGROUND); in restrictBackgroundListsTest()
779 mService.setUidPolicy(UID_B, POLICY_REJECT_METERED_BACKGROUND); in restrictBackgroundListsTest()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3394 Landroid/net/INetworkPolicyManager;->setUidPolicy(II)V
3488 Landroid/net/NetworkPolicyManager;->setUidPolicy(II)V
Dboot-image-profile.txt25933 HSPLandroid/net/INetworkPolicyManager;->setUidPolicy(II)V