Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java282 private static final int UID_B = UserHandle.getUid(USER_ID, APP_ID_B); field in NetworkPolicyManagerServiceTest
407 when(mPackageManager.getPackagesForUid(UID_B)).thenReturn(new String[] {PKG_NAME_B}); in callSystemReady()
839 assertWhitelistUids(UID_A, UID_B, UID_C); in restrictBackgroundListsTest()
841 assertUidPolicy(UID_B, POLICY_ALLOW_METERED_BACKGROUND); in restrictBackgroundListsTest()
854 assertWhitelistUids(UID_B, UID_C); in restrictBackgroundListsTest()
859 assertWhitelistUids(UID_B, UID_C, UID_E); in restrictBackgroundListsTest()
862 mService.setUidPolicy(UID_B, POLICY_REJECT_METERED_BACKGROUND); in restrictBackgroundListsTest()
863 assertUidPolicy(UID_B, POLICY_REJECT_METERED_BACKGROUND); in restrictBackgroundListsTest()
875 assertUidPolicy(UID_B, POLICY_REJECT_METERED_BACKGROUND); // Blacklist prevails. in testRestrictBackgroundLists_mixedFormat()
885 UID_B, UID_D); in testGetUidsWithPolicy() local
[all …]