/cts/hostsidetests/os/src/android/os/cts/ |
D | StaticSharedLibsHostTests.java | 111 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in doTestInstallSharedLibrary() 112 getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG); in doTestInstallSharedLibrary() 113 getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG); in doTestInstallSharedLibrary() 122 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG)); in doTestInstallSharedLibrary() 124 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG)); in doTestInstallSharedLibrary() 126 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG)); in doTestInstallSharedLibrary() 128 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in doTestInstallSharedLibrary() 129 getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG); in doTestInstallSharedLibrary() 130 getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG); in doTestInstallSharedLibrary() 146 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in doTestCannotInstallSharedLibraryWithMissingDependency() [all …]
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AppSecurityTests.java | 113 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts() 114 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts() 120 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts() 121 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts() 142 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData() 143 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData() 151 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData() 152 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData() 172 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testUninstallRemovesData() 178 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testUninstallRemovesData() [all …]
|
D | OverlayHostTest.java | 78 getDevice().uninstallPackage(TEST_APP_PACKAGE); in tearDown() 120 getDevice().uninstallPackage(TARGET_PACKAGE); 121 getDevice().uninstallPackage(overlayPackage); 132 getDevice().uninstallPackage(TARGET_PACKAGE); 133 getDevice().uninstallPackage(overlayPackage); 141 getDevice().uninstallPackage(TARGET_PACKAGE); 142 getDevice().uninstallPackage(overlayPackage); 155 getDevice().uninstallPackage(TARGET_PACKAGE); 156 getDevice().uninstallPackage(overlayPackage); 167 getDevice().uninstallPackage(OVERLAY_ANDROID_PACKAGE); [all …]
|
D | ExternalStorageHostTest.java | 129 getDevice().uninstallPackage(NONE_PKG); in cleanUp() 130 getDevice().uninstallPackage(READ_PKG); in cleanUp() 131 getDevice().uninstallPackage(WRITE_PKG); in cleanUp() 132 getDevice().uninstallPackage(MULTIUSER_PKG); in cleanUp() 142 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageRename() 152 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageRename() 164 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone29() 173 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone29() 187 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead29() 196 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead29() [all …]
|
D | PrivilegedUpdateTests.java | 81 getDevice().uninstallPackage(SHIM_PKG); in setUp() 82 getDevice().uninstallPackage(TEST_PKG); in setUp() 92 getDevice().uninstallPackage(SHIM_PKG); in tearDown() 93 getDevice().uninstallPackage(TEST_PKG); in tearDown() 98 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradeRestricted() 117 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePrioritiesPreservedOnReboot() 128 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePrioritiesPreservedOnReboot() 155 getDevice().uninstallPackage(SHIM_PKG); in testDisableUpdatedSystemApp() 177 getDevice().uninstallPackage(SHIM_PKG); in testUpdatedSystemAppPreservedOnReboot()
|
D | PackageVisibilityTest.java | 56 getDevice().uninstallPackage(TEST_PKG); in setUpPackage() 57 getDevice().uninstallPackage(TINY_PKG); in setUpPackage() 63 getDevice().uninstallPackage(TEST_PKG); in tearDown() 64 getDevice().uninstallPackage(TINY_PKG); in tearDown() 115 getDevice().uninstallPackage(TINY_PKG); in testUninstalledPackageVisibility() 149 getDevice().uninstallPackage(TINY_PKG); in testUninstalledPackageVisibility() 150 getDevice().uninstallPackage(TEST_PKG); in testUninstalledPackageVisibility()
|
D | SharedUserIdTest.java | 62 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts() 63 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts() 71 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts() 72 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts()
|
D | InstantCookieHostTest.java | 50 uninstallPackage(INSTANT_COOKIE_APP_PKG); in setUp() 56 uninstallPackage(INSTANT_COOKIE_APP_PKG); in tearDown() 72 uninstallPackage(INSTANT_COOKIE_APP_PKG); in testCookiePersistedAcrossInstantInstalls() 93 uninstallPackage(INSTANT_COOKIE_APP_PKG); in testCookieResetOnNonInstantReinstall() 104 uninstallPackage(INSTANT_COOKIE_APP_PKG); in testCookieValidWhenSignedWithTwoCerts()
|
D | KeySetHostTest.java | 207 mDevice.uninstallPackage(pkgName); in testPackageUpgrade() 219 mDevice.uninstallPackage(pkgName); in testPackageUpgrade() 374 mDevice.uninstallPackage(KEYSET_PKG); in testKeyRotationPerm() 375 mDevice.uninstallPackage(KEYSET_PERM_DEF_PKG); in testKeyRotationPerm() 376 mDevice.uninstallPackage(KEYSET_TEST_PKG); in testKeyRotationPerm() 412 mDevice.uninstallPackage(KEYSET_PKG); in testKeyRotationPerm() 413 mDevice.uninstallPackage(KEYSET_PERM_DEF_PKG); in testKeyRotationPerm() 414 mDevice.uninstallPackage(KEYSET_TEST_PKG); in testKeyRotationPerm() 469 mDevice.uninstallPackage(KEYSET_PKG); in testBadUpgradeBadPubKey() 480 mDevice.uninstallPackage(KEYSET_PKG); in testBadUpgradeMissingPubKey() [all …]
|
D | DirectBootHostTest.java | 74 getDevice().uninstallPackage(PKG); in setUp() 75 getDevice().uninstallPackage(OTHER_PKG); in setUp() 80 getDevice().uninstallPackage(PKG); in tearDown() 81 getDevice().uninstallPackage(OTHER_PKG); in tearDown() 176 getDevice().uninstallPackage(PKG); in doDirectBootTest()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseManagedProfileTest.java | 77 getDevice().uninstallPackage(MANAGED_PROFILE_PKG); in tearDown() 78 getDevice().uninstallPackage(INTENT_SENDER_PKG); in tearDown() 79 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in tearDown() 80 getDevice().uninstallPackage(NOTIFICATION_PKG); in tearDown() 81 getDevice().uninstallPackage(TEST_APP_1_APK); in tearDown() 82 getDevice().uninstallPackage(TEST_APP_2_APK); in tearDown() 83 getDevice().uninstallPackage(TEST_APP_3_APK); in tearDown() 84 getDevice().uninstallPackage(TEST_APP_4_APK); in tearDown() 85 getDevice().uninstallPackage(SHARING_APP_1_APK); in tearDown() 86 getDevice().uninstallPackage(SHARING_APP_2_APK); in tearDown()
|
D | QuietModeHostsideTest.java | 71 getDevice().uninstallPackage(TEST_LAUNCHER_PACKAGE); in tearDown() 222 getDevice().uninstallPackage(TEST_PACKAGE); in uninstallRequiredApps() 223 getDevice().uninstallPackage(ENABLED_TEST_PACKAGE); in uninstallRequiredApps() 224 getDevice().uninstallPackage(USER_ENABLED_TEST_PACKAGE); in uninstallRequiredApps() 225 getDevice().uninstallPackage(ENABLED_NO_PERMS_TEST_PACKAGE); in uninstallRequiredApps() 226 getDevice().uninstallPackage(NOT_ENABLED_TEST_PACKAGE); in uninstallRequiredApps() 227 getDevice().uninstallPackage(QUIET_MODE_ENABLED_TEST_PACKAGE); in uninstallRequiredApps()
|
D | CustomDeviceOwnerTest.java | 49 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown() 50 getDevice().uninstallPackage(ACCOUNT_MANAGEMENT_PKG); in tearDown() 78 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in testOwnerChangedBroadcast() 129 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testIsProvisioningAllowed()
|
D | BaseLauncherAppsTest.java | 44 getDevice().uninstallPackage(LAUNCHER_TESTS_PKG); in uninstallTestApps() 45 getDevice().uninstallPackage(LAUNCHER_TESTS_SUPPORT_PKG); in uninstallTestApps() 46 getDevice().uninstallPackage(SIMPLE_APP_PKG); in uninstallTestApps()
|
D | LimitAppIconHidingTest.java | 71 getDevice().uninstallPackage(LAUNCHER_TESTS_NO_PERMISSION_APK); in uninstallTestApps() 72 getDevice().uninstallPackage(LAUNCHER_TESTS_NO_LAUNCHER_ACTIVITY_APK); in uninstallTestApps() 73 getDevice().uninstallPackage(LAUNCHER_TESTS_HAS_LAUNCHER_ACTIVITY_APK); in uninstallTestApps()
|
/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | AppSearchPackageTest.java | 53 uninstallPackage(TARGET_PKG_A); in tearDown() 54 uninstallPackage(TARGET_PKG_B); in tearDown() 64 uninstallPackage(TARGET_PKG_A); in testPackageRemove() 74 uninstallPackage(TARGET_PKG_A); in testPackageUninstall_immediatelyReboot()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | FullBackupOnlyHostSideTest.java | 84 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in tearDown() 100 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyFalse_WithAgent() 121 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyFalse_NoAgent() 142 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyTrue_WithAgent()
|
D | RestoreAnyVersionHostSideTest.java | 65 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in tearDown() 81 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_False() 102 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_True() 123 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_OldBackupToNewApp()
|
D | KeyValueBackupRestoreHostSideTest.java | 80 assertNull(uninstallPackage(KEY_VALUE_RESTORE_APP_PACKAGE)); in tearDown() 83 assertNull(uninstallPackage(SHARED_PREFERENCES_RESTORE_APP_PACKAGE)); in tearDown() 105 assertNull(uninstallPackage(KEY_VALUE_RESTORE_APP_PACKAGE)); in testKeyValueBackupAndRestore()
|
D | BackupEligibilityHostSideTest.java | 85 assertNull(uninstallPackage(BACKUP_ELIGIBILITY_APP_NAME)); in tearDown() 106 assertNull(uninstallPackage(BACKUP_ELIGIBILITY_APP_NAME)); in testAllowBackup_False() 132 assertNull(uninstallPackage(BACKUP_ELIGIBILITY_APP_NAME)); in testAllowBackup_True() 196 assertNull(uninstallPackage(ADB_BACKUP_APP_NAME)); in runAdbBackupAndRestore()
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerHostTest.java | 57 private void uninstallPackage(String packageName, boolean shouldSucceed) in uninstallPackage() method in TvInputManagerHostTest 59 final String result = getDevice().uninstallPackage(packageName); in uninstallPackage() 83 uninstallPackage(TEST_PKG, false); in setUp() 84 uninstallPackage(TEST_PKG2, false); in setUp() 94 uninstallPackage(TEST_PKG, true); in tearDown() 95 uninstallPackage(TEST_PKG2, true); in tearDown()
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | DataCleanupTest.java | 36 uninstallPackage(TARGET_PKG); in testPackageUninstall_openSession() 49 uninstallPackage(TARGET_PKG); in testPackageUninstall_openBlob() 62 uninstallPackage(TARGET_PKG); in testPackageUninstallAndReboot_openSession() 77 uninstallPackage(TARGET_PKG); in testPackageUninstallAndReboot_openBlob()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesSelinuxTest.java | 59 uninstallPackage(TEST_PKG, true); in testTargetSdkQAppIsInQDomainByDefault() 80 uninstallPackage(TEST_PKG, true); in testTargetSdkQAppIsInLatestDomainWithLatestOptin() 101 uninstallPackage(TEST_PKG, true); in testTargetSdkQAppIsInRDomainWithROptin() 113 uninstallPackage(TEST_PKG, true); in testTargetSdkRAppIsInRDomainByDefault() 130 uninstallPackage(TEST_PKG, true); in testTargetSdkRAppIsInLatestDomainWithLatestOptin()
|
/cts/tests/tests/permission3/src/android/permission3/cts/ |
D | PermissionHistoryTest.kt | 47 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in installApps() 48 uninstallPackage(APP2_PACKAGE_NAME, requireSuccess = false) in installApps() 55 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in uninstallApps() 56 uninstallPackage(APP2_PACKAGE_NAME, requireSuccess = false) in uninstallApps()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerBackupTest.java | 115 getDevice().uninstallPackage(LAUNCHER1_PKG); in tearDown() 116 getDevice().uninstallPackage(LAUNCHER2_PKG); in tearDown() 117 getDevice().uninstallPackage(LAUNCHER3_PKG); in tearDown() 118 getDevice().uninstallPackage(LAUNCHER4_PKG); in tearDown() 120 getDevice().uninstallPackage(PUBLISHER1_PKG); in tearDown() 121 getDevice().uninstallPackage(PUBLISHER2_PKG); in tearDown() 122 getDevice().uninstallPackage(PUBLISHER3_PKG); in tearDown() 123 getDevice().uninstallPackage(PUBLISHER4_PKG); in tearDown() 163 getDevice().uninstallPackage(pkg); in uninstallPackageAndWaitUntilBroadcastsDrain()
|