Searched refs:TEST_VPN_PKG (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/VpnTests/java/com/android/server/ |
D | VpnManagerServiceTest.java | 179 mService.startVpnProfile(TEST_VPN_PKG); in testUpdateAppExclusionList() 180 verify(mVpn).startVpnProfile(eq(TEST_VPN_PKG)); in testUpdateAppExclusionList() 218 mService.getProvisionedVpnProfileState(TEST_VPN_PKG); in testGetProvisionedVpnProfileState() 219 verify(mVpn).getProvisionedVpnProfileState(TEST_VPN_PKG); in testGetProvisionedVpnProfileState() 314 setupLockdownVpn(TEST_VPN_PKG); in testUserPresent() 315 setupVpnProfile(TEST_VPN_PKG); in testUserPresent() 328 setupLockdownVpn(TEST_VPN_PKG); in testUpdateLockdownVpn() 334 setupVpnProfile(TEST_VPN_PKG); in testUpdateLockdownVpn() 355 setupLockdownVpn(TEST_VPN_PKG); in testLockdownReset() 356 setupVpnProfile(TEST_VPN_PKG); in testLockdownReset() [all …]
|
D | VpnTestBase.java | 41 protected static final String TEST_VPN_PKG = "com.testvpn.vpn"; field in VpnTestBase 55 sPackages.put(TEST_VPN_PKG, Process.myUid()); in sPackages.put() argument
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/ |
D | VpnTest.java | 378 when(mContext.getPackageName()).thenReturn(TEST_VPN_PKG); in setUp() 379 when(mContext.getOpPackageName()).thenReturn(TEST_VPN_PKG); in setUp() 1041 final String expected = Credentials.PLATFORM_VPN + PRIMARY_USER.id + "_" + TEST_VPN_PKG; in testGetProfileNameForPackage() 1042 assertEquals(expected, vpn.getProfileNameForPackage(TEST_VPN_PKG)); in testGetProfileNameForPackage() 1054 when(mAppOps.noteOpNoThrow(opStr, Process.myUid(), TEST_VPN_PKG, in createVpn() 1063 assertEquals(expectedResult, vpn.provisionVpnProfile(TEST_VPN_PKG, mVpnProfile)); in checkProvisionVpnProfile() 1068 eq(vpn.getProfileNameForPackage(TEST_VPN_PKG)), in checkProvisionVpnProfile() 1072 verify(mAppOps).noteOpNoThrow(checkedOpStr, Process.myUid(), TEST_VPN_PKG, in checkProvisionVpnProfile() 1092 when(mVpnProfileStore.get(vpn.getProfileNameForPackage(TEST_VPN_PKG))) in startVpnForVerifyAppExclusionList() 1096 final String sessionKey = vpn.startVpnProfile(TEST_VPN_PKG); in startVpnForVerifyAppExclusionList() [all …]
|