Searched refs:getUidsWithPolicy (Results 1 – 9 of 9) sorted by relevance
52 protected int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy() method in ShadowNetworkPolicyManager54 .getUidsWithPolicy(policy); in getUidsWithPolicy()
104 for (int uid : mPolicyManager.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND)) { in loadWhitelist()133 for (int uid : mPolicyManager.getUidsWithPolicy(POLICY_REJECT_METERED_BACKGROUND)) { in loadBlacklist()
531 final int[] restrictedUids = services.mPolicyManager.getUidsWithPolicy(
526 final int[] restrictedUids = services.mPolicyManager.getUidsWithPolicy(
117 int[] restrictedUids = mNetworkPolicyManager.getUidsWithPolicy( in onLoadFinished()
134 final int[] restrictedUids = mNpm.getUidsWithPolicy( in onClick()
142 final int[] restrictedUids = mNpm.getUidsWithPolicy( in onClick()
88 when(mNetworkPolicyManager.getUidsWithPolicy(anyInt())).thenReturn(new int[0]); in setUp()