/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | DataCleanupTest.java | 27 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 …]
|
D | DataPersistenceTest.java | 25 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, "testCommitSessionAndAcquireLease"); in testDataIsPersistedAcrossReboot() 36 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenBlob"); in testDataIsPersistedAcrossReboot()
|
D | BlobStoreMultiUserTest.java | 36 private static final String TEST_CLASS = TARGET_PKG + ".DataCleanupTest"; 80 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCreateSession", in testCreateAndOpenSession() 84 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession", args, in testCreateAndOpenSession() 87 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession_shouldThrow", args, in testCreateAndOpenSession() 95 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCommitBlob", args, in testCommitAndOpenBlob() 99 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", args, in testCommitAndOpenBlob() 102 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", args, in testCommitAndOpenBlob() 114 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp() 117 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp() 147 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", in testBlobAccessAcrossUsers_withAssistRole() [all …]
|
D | InstantAppAccessTest.java | 28 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()
|
D | StatsdBlobStoreAtomTest.java | 39 private static final String TEST_CLASS = TARGET_PKG + ".AtomTest"; 55 mTestAppUid = getAppUid(TARGET_PKG); in setUp() 62 uninstallPackage(TARGET_PKG); in tearDown() 68 ConfigUtils.createConfigBuilder(TARGET_PKG); in testPushedBlobStoreStats() 70 /*useUidAttributionChain=*/ false, TARGET_PKG); in testPushedBlobStoreStats() 72 /*useUidAttributionChain=*/ false, TARGET_PKG); in testPushedBlobStoreStats() 74 /*useUidAttributionChain=*/ false, TARGET_PKG); in testPushedBlobStoreStats() 77 runDeviceTest(TARGET_PKG, TEST_CLASS, "testBlobStoreOps"); in testPushedBlobStoreStats() 105 ConfigUtils.uploadConfigForPulledAtom(getDevice(), TARGET_PKG, in testPulledBlobStoreStats() local 110 runDeviceTest(TARGET_PKG, TEST_CLASS, "testBlobStoreOps"); in testPulledBlobStoreStats()
|
D | BaseBlobStoreHostTest.java | 37 protected static final String TARGET_PKG = "com.android.cts.device.blob"; field in BaseBlobStoreHostTest
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerMultiuserTest.java | 28 private static final String TARGET_PKG = "android.content.pm.cts.shortcut.multiuser"; field in ShortcutManagerMultiuserTest 32 getDevice().uninstallPackage(TARGET_PKG); in tearDown() 48 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 54 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 56 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 59 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 78 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerSecondaryUserTest", secondUserID); in testSecondaryUser()
|
D | ShortcutManagerUpgradeTest.java | 29 private static final String TARGET_PKG = "android.content.pm.cts.shortcut.upgrade"; field in ShortcutManagerUpgradeTest 33 getDevice().uninstallPackage(TARGET_PKG); in tearDown() 47 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPreUpgradeTest", getPrimaryUserId()); in testUpgrade() 51 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPostUpgradeTest", getPrimaryUserId()); in testUpgrade()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerWhitelistApp/src/com/android/cts/packageinstallerpermissionwhitelistapp/ |
D | PermissionWhitelistTest.kt | 23 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/ |
D | PackageSetInstallerTest.kt | 27 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() 237 device.executeShellCommand("dumpsys package $TARGET_PKG") in <lambda>()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/utils/src/android/appsecurity/cts/ |
D | PackageSetInstallerConstants.kt | 24 const val TARGET_PKG = "com.android.cts.packageinstallerpermissionrequestapp" constant
|