Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java281 private static final int UID_A = UserHandle.getUid(USER_ID, APP_ID_A); field in NetworkPolicyManagerServiceTest
406 when(mPackageManager.getPackagesForUid(UID_A)).thenReturn(new String[] {PKG_NAME_A}); in callSystemReady()
504 assertUidPolicy(UID_A, POLICY_NONE); in addRestrictBackgroundWhitelist()
509 mService.setUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist()
511 assertWhitelistUids(UID_A); in addRestrictBackgroundWhitelist()
512 assertUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist()
693 assertWhitelistUids(UID_A); in removeRestrictBackgroundWhitelist()
694 assertUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in removeRestrictBackgroundWhitelist()
699 mService.setUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()
702 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()
[all …]