Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowNetworkPolicyManager.java52 protected int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy() method in ShadowNetworkPolicyManager
54 .getUidsWithPolicy(policy); in getUidsWithPolicy()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverBackend.java104 for (int uid : mPolicyManager.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND)) { in loadWhitelist()
133 for (int uid : mPolicyManager.getUidsWithPolicy(POLICY_REJECT_METERED_BACKGROUND)) { in loadBlacklist()
DDataUsageList.java531 final int[] restrictedUids = services.mPolicyManager.getUidsWithPolicy(
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataSaverBackend.java104 for (int uid : mPolicyManager.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND)) { in loadWhitelist()
133 for (int uid : mPolicyManager.getUidsWithPolicy(POLICY_REJECT_METERED_BACKGROUND)) { in loadBlacklist()
DDataUsageList.java526 final int[] restrictedUids = services.mPolicyManager.getUidsWithPolicy(
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppsNetworkStatsManager.java117 int[] restrictedUids = mNetworkPolicyManager.getUidsWithPolicy( in onLoadFinished()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DResetAppsHelper.java134 final int[] restrictedUids = mNpm.getUidsWithPolicy( in onClick()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DResetAppsHelper.java142 final int[] restrictedUids = mNpm.getUidsWithPolicy( in onClick()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DAppsNetworkStatsManagerTest.java88 when(mNetworkPolicyManager.getUidsWithPolicy(anyInt())).thenReturn(new int[0]); in setUp()