Searched refs:PKG_NAME (Results 1 – 5 of 5) sorted by relevance
51 private static final String PKG_NAME = "fooPackage"; field in VpnManagerTest63 return PKG_NAME;79 when(mMockService.provisionVpnProfile(any(VpnProfile.class), eq(PKG_NAME))) in testProvisionVpnProfilePreconsented()84 verify(mMockService).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfilePreconsented()90 when(mMockService.provisionVpnProfile(any(VpnProfile.class), eq(PKG_NAME))) in testProvisionVpnProfileNeedsConsent()101 verify(mMockService).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfileNeedsConsent()107 verify(mMockService).deleteVpnProfile(eq(PKG_NAME)); in testDeleteProvisionedVpnProfile()113 verify(mMockService).startVpnProfile(eq(PKG_NAME)); in testStartProvisionedVpnProfile()119 verify(mMockService).stopVpnProfile(eq(PKG_NAME)); in testStopProvisionedVpnProfile()
59 runShellCommand("pm uninstall $PKG_NAME") in cleanup()66 permissionManager.getAllPermissionStates(PKG_NAME, PERSISTENT_DEVICE_ID_DEFAULT) in testGetAllPermissionStates()73 private const val PKG_NAME = "android.perftests.appenumeration0" constant
127 private const val PKG_NAME = "android.perftests.appenumeration" in <lambda>() constant
30 private static final String PKG_NAME = "com.android.browserpowertest"; field in PowerMeasurement37 super(PKG_NAME, PowerTestActivity.class); in PowerMeasurement()
77 private static final String PKG_NAME = VcnTest.class.getPackage().getName(); field in VcnTest120 doReturn(PKG_NAME).when(mContext).getOpPackageName(); in setUp()