Home
last modified time | relevance | path

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

/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DDataCleanupTest.java27 private static final String TEST_CLASS = TARGET_PKG + ".DataCleanupTest";
32 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCreateSession"); in testPackageUninstall_openSession()
35 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSession", args); in testPackageUninstall_openSession()
36 uninstallPackage(TARGET_PKG); in testPackageUninstall_openSession()
39 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSession_shouldThrow", args); in testPackageUninstall_openSession()
45 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCommitBlob"); in testPackageUninstall_openBlob()
48 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenBlob", args); in testPackageUninstall_openBlob()
49 uninstallPackage(TARGET_PKG); in testPackageUninstall_openBlob()
52 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", args); in testPackageUninstall_openBlob()
58 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCreateSession"); in testPackageUninstallAndReboot_openSession()
[all …]
DBlobStoreMultiUserTest.java36 private static final String TEST_CLASS = TARGET_PKG + ".DataCleanupTest";
73 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCreateSession", in testCreateAndOpenSession()
77 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession", args, in testCreateAndOpenSession()
80 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession_shouldThrow", args, in testCreateAndOpenSession()
88 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCommitBlob", args, in testCommitAndOpenBlob()
92 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", args, in testCommitAndOpenBlob()
95 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", args, in testCommitAndOpenBlob()
107 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp()
110 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp()
140 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", in testBlobAccessAcrossUsers_withAssistRole()
[all …]
DDataPersistenceTest.java25 private static final String TEST_CLASS = TARGET_PKG + ".DataPersistenceTest";
30 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCreateSession"); in testDataIsPersistedAcrossReboot()
32 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSessionAndWrite"); in testDataIsPersistedAcrossReboot()
34 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCommitSession"); in testDataIsPersistedAcrossReboot()
36 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenBlob"); in testDataIsPersistedAcrossReboot()
DStatsdBlobStoreAtomTest.java38 private static final String TEST_CLASS = TARGET_PKG + ".AtomTest";
54 mTestAppUid = getAppUid(TARGET_PKG); in setUp()
61 uninstallPackage(TARGET_PKG); in tearDown()
67 ConfigUtils.createConfigBuilder(TARGET_PKG); in testPushedBlobStoreStats()
69 /*useUidAttributionChain=*/ false, TARGET_PKG); in testPushedBlobStoreStats()
71 /*useUidAttributionChain=*/ false, TARGET_PKG); in testPushedBlobStoreStats()
73 /*useUidAttributionChain=*/ false, TARGET_PKG); in testPushedBlobStoreStats()
76 runDeviceTest(TARGET_PKG, TEST_CLASS, "testBlobStoreOps"); in testPushedBlobStoreStats()
104 ConfigUtils.uploadConfigForPulledAtom(getDevice(), TARGET_PKG, in testPulledBlobStoreStats() local
109 runDeviceTest(TARGET_PKG, TEST_CLASS, "testBlobStoreOps"); in testPulledBlobStoreStats()
DInstantAppAccessTest.java28 private static final String TEST_CLASS = TARGET_PKG + ".InstantAppAccessTest";
32 uninstallPackage(TARGET_PKG); in setUp()
38 uninstallPackage(TARGET_PKG); in tearDown()
43 runDeviceTest(TARGET_PKG, TEST_CLASS, "testInstantAppAccess"); in testInstantAppAccess()
DBaseBlobStoreHostTest.java34 protected static final String TARGET_PKG = "com.android.cts.device.blob"; field in BaseBlobStoreHostTest
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerMultiuserTest.java26 private static final String TARGET_PKG = "android.content.pm.cts.shortcut.multiuser"; field in ShortcutManagerMultiuserTest
30 getDevice().uninstallPackage(TARGET_PKG); in tearDown()
46 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser()
51 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser()
53 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser()
56 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser()
73 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerSecondaryUserTest", secondUserID); in testSecondaryUser()
DShortcutManagerUpgradeTest.java28 private static final String TARGET_PKG = "android.content.pm.cts.shortcut.upgrade"; field in ShortcutManagerUpgradeTest
32 getDevice().uninstallPackage(TARGET_PKG); in tearDown()
45 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPreUpgradeTest", getPrimaryUserId()); in testUpgrade()
49 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPostUpgradeTest", getPrimaryUserId()); in testUpgrade()
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerWhitelistApp/src/com/android/cts/packageinstallerpermissionwhitelistapp/
DPermissionWhitelistTest.kt23 import android.appsecurity.cts.PackageSetInstallerConstants.TARGET_PKG
59 packageManager.setInstallerPackageName(TARGET_PKG, packageName) in setTargetInstallerPackage()
72 it.setInstallerPackageName(TARGET_PKG, packageName) in setTargetInstallerPackage()
80 packageManager.removeWhitelistedRestrictedPermission(TARGET_PKG, permission, in removeWhitelistRestrictedPermission()
92 assertThat(packageManager.checkPermission(permission, TARGET_PKG)) in removeWhitelistRestrictedPermission()
97 assertThat(packageManager.getInstallerPackageName(TARGET_PKG)) in assertTargetInstaller()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageSetInstallerTest.kt27 import android.appsecurity.cts.PackageSetInstallerConstants.TARGET_PKG
74 device.uninstallPackage(TARGET_PKG) in parameters()
80 device.executeShellCommand("am compat reset $CHANGE_ID $TARGET_PKG") in resetChanges()
180 Utils.runDeviceTests(device, TARGET_PKG, ".PermissionRequestTest", in runTest()
192 device.executeShellCommand("am compat $state $CHANGE_ID $TARGET_PKG") in setChangeState()
197 assertThat(device.executeShellCommand("pm list packages -i | grep $TARGET_PKG").trim()) in assertTargetInstaller()
198 .isEqualTo("package:$TARGET_PKG installer=$installer") in assertTargetInstaller()
206 device.executeShellCommand("pm grant $TARGET_PKG $permission") in grantPermission()
210 device.executeShellCommand("pm revoke $TARGET_PKG $permission") in revokePermission()
238 device.executeShellCommand("dumpsys package $TARGET_PKG") in <lambda>()
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/utils/src/android/appsecurity/cts/
DPackageSetInstallerConstants.kt24 const val TARGET_PKG = "com.android.cts.packageinstallerpermissionrequestapp" constant