Home
last modified time | relevance | path

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

/frameworks/base/services/tests/VpnTests/java/android/net/
DVpnManagerTest.java51 private static final String PKG_NAME = "fooPackage"; field in VpnManagerTest
63 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()
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/
DPermissionManagerPerfTest.kt59 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
DPermissionServicePerfTest.kt127 private const val PKG_NAME = "android.perftests.appenumeration" in <lambda>() constant
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerMeasurement.java30 private static final String PKG_NAME = "com.android.browserpowertest"; field in PowerMeasurement
37 super(PKG_NAME, PowerTestActivity.class); in PowerMeasurement()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java77 private static final String PKG_NAME = VcnTest.class.getPackage().getName(); field in VcnTest
120 doReturn(PKG_NAME).when(mContext).getOpPackageName(); in setUp()