Searched refs:setUidPolicy (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerShellCommand.java | 240 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()
|
D | NetworkPolicyManagerService.java | 2467 public void setUidPolicy(int uid, int policy) { in setUidPolicy() method 4779 setUidPolicy(uid, POLICY_NONE); in factoryReset()
|
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyManager.aidl | 34 void setUidPolicy(int uid, int policy); in setUidPolicy() method
|
D | NetworkPolicyManager.java | 144 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/ |
D | NetworkPolicyManagerServiceTest.java | 496 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/ |
D | hiddenapi-light-greylist.txt | 3394 Landroid/net/INetworkPolicyManager;->setUidPolicy(II)V 3488 Landroid/net/NetworkPolicyManager;->setUidPolicy(II)V
|
D | boot-image-profile.txt | 25933 HSPLandroid/net/INetworkPolicyManager;->setUidPolicy(II)V
|