Searched refs:PKGS (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/VpnTests/java/com/android/server/ |
D | VpnTestBase.java | 47 protected static final String[] PKGS = {"com.example", "org.example", "net.example", "web.vpn"}; field in VpnTestBase 52 for (int i = 0; i < PKGS.length; i++) { 53 sPackages.put(PKGS[i], PKG_UIDS[i]); in sPackages.put()
|
D | VpnManagerServiceTest.java | 183 onPackageRemoved(PKGS[0], PKG_UIDS[0], true /* isReplacing */); in testUpdateAppExclusionList() 187 onPackageAdded(PKGS[0], PKG_UIDS[0], true /* isReplacing */); in testUpdateAppExclusionList() 191 onPackageRemoved(PKGS[0], PKG_UIDS[0], false /* isReplacing */); in testUpdateAppExclusionList() 195 onPackageAdded(PKGS[0], PKG_UIDS[0], false /* isReplacing */); in testUpdateAppExclusionList() 288 PKGS[0], UserHandle.USER_SYSTEM, PKG_UIDS[0], true /* isReplacing */))); in testReceiveIntentFromNonHandlerThread() 393 final List<String> expected = List.of(PKGS); in testGetVpnLockdownAllowlist()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/ |
D | VpnTest.java | 281 static final String PKGS_BYTES = getPackageByteString(List.of(PKGS)); 513 final String[] packages = {PKGS[0], PKGS[1], PKGS[2]}; in testUidAllowAndDenylist() 558 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], false, Collections.emptyList())); in testGetAlwaysAndOnGetLockDown() 563 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], true, Collections.emptyList())); in testGetAlwaysAndOnGetLockDown() 577 PKGS[1], false /* lockdown */, null /* lockdownAllowlist */)); in testAlwaysOnWithoutLockdown() 592 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], false, null)); in testLockdownChangingPackage() 595 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], true, null)); in testLockdownChangingPackage() 604 assertTrue(vpn.setAlwaysOnPackage(PKGS[3], true, null)); in testLockdownChangingPackage() 627 PKGS[1], true, Collections.singletonList(PKGS[2]))); in testLockdownAllowlist() 636 PKGS[1], true, Collections.singletonList(PKGS[3]))); in testLockdownAllowlist() [all …]
|