Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl40 int[] getUidsWithPolicy(int policy); in getUidsWithPolicy() method
DNetworkPolicyManager.java267 public int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy() method in NetworkPolicyManager
269 return mService.getUidsWithPolicy(policy); in getUidsWithPolicy()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java222 final int[] uids = mInterface.getUidsWithPolicy(policy); in listUidPolicies()
DNetworkPolicyManagerService.java2676 public int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy() method
5149 for (int uid : getUidsWithPolicy(POLICY_REJECT_METERED_BACKGROUND)) { in factoryReset()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java883 assertContainsInAnyOrder(mService.getUidsWithPolicy(POLICY_NONE)); in testGetUidsWithPolicy()
884 assertContainsInAnyOrder(mService.getUidsWithPolicy(POLICY_REJECT_METERED_BACKGROUND), in testGetUidsWithPolicy()
886 assertContainsInAnyOrder(mService.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND), in testGetUidsWithPolicy()
889 assertContainsInAnyOrder(mService.getUidsWithPolicy(2), in testGetUidsWithPolicy()
2049 assertContainsInAnyOrder(mService.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND), uids); in assertWhitelistUids()
/frameworks/base/services/
Dart-profile20385 PLcom/android/server/net/NetworkPolicyManagerService;->getUidsWithPolicy(I)[I