Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java288 private static final String PKG_NAME_A = "name.is.A,pkg.A"; field in NetworkPolicyManagerServiceTest
406 when(mPackageManager.getPackagesForUid(UID_A)).thenReturn(new String[] {PKG_NAME_A}); in callSystemReady()
409 when(mPackageManager.getApplicationInfo(eq(PKG_NAME_A), anyInt())) in callSystemReady()
410 .thenReturn(buildApplicationInfo(PKG_NAME_A)); in callSystemReady()
516 assertRestrictBackgroundChangedReceived(futureIntent, PKG_NAME_A); in addRestrictBackgroundWhitelist()
705 assertRestrictBackgroundChangedReceived(futureIntent, PKG_NAME_A); in removeRestrictBackgroundWhitelist()
742 assertRestrictBackgroundChangedReceived(futureIntent, PKG_NAME_A); in addRestrictBackgroundBlacklist()
780 assertRestrictBackgroundChangedReceived(futureIntent, PKG_NAME_A); in removeRestrictBackgroundBlacklist()
822 assertRestrictBackgroundChangedReceived(futureIntent, PKG_NAME_A); in testWhitelistedAppIsNotifiedWhenBlacklisted()
1295 assertFalse(text.contains(PKG_NAME_A));
[all …]