/cts/hostsidetests/os/src/android/os/cts/ |
D | StaticSharedLibsHostTests.java | 126 getDevice().uninstallPackage(STATIC_LIB_CONSUMER3_PKG); in cleanUp() 127 getDevice().uninstallPackage(STATIC_LIB_CONSUMER2_PKG); in cleanUp() 128 getDevice().uninstallPackage(STATIC_LIB_CONSUMER1_PKG); in cleanUp() 129 getDevice().uninstallPackage(STATIC_LIB_NATIVE_CONSUMER_PKG); in cleanUp() 130 getDevice().uninstallPackage(STATIC_LIB_PROVIDER7_PKG); in cleanUp() 131 getDevice().uninstallPackage(STATIC_LIB_PROVIDER6_PKG); in cleanUp() 132 getDevice().uninstallPackage(STATIC_LIB_PROVIDER5_PKG); in cleanUp() 133 getDevice().uninstallPackage(STATIC_LIB_PROVIDER4_PKG); in cleanUp() 134 getDevice().uninstallPackage(STATIC_LIB_PROVIDER3_PKG); in cleanUp() 135 getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG); in cleanUp() [all …]
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AppSecurityTests.java | 133 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts() 134 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts() 140 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts() 141 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts() 162 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData() 163 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData() 171 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData() 172 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData() 192 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testUninstallRemovesData() 198 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testUninstallRemovesData() [all …]
|
D | OverlayHostTest.java | 87 getDevice().uninstallPackage(TEST_APP_PACKAGE); in tearDown() 129 getDevice().uninstallPackage(TARGET_PACKAGE); 130 getDevice().uninstallPackage(overlayPackage); 141 getDevice().uninstallPackage(TARGET_PACKAGE); 142 getDevice().uninstallPackage(overlayPackage); 150 getDevice().uninstallPackage(TARGET_PACKAGE); 151 getDevice().uninstallPackage(overlayPackage); 164 getDevice().uninstallPackage(TARGET_PACKAGE); 165 getDevice().uninstallPackage(overlayPackage); 182 getDevice().uninstallPackage(OVERLAY_ANDROID_PACKAGE); [all …]
|
D | PrivilegedUpdateTests.java | 83 getDevice().uninstallPackage(SHIM_PKG); in setUp() 84 getDevice().uninstallPackage(TEST_PKG); in setUp() 94 getDevice().uninstallPackage(SHIM_PKG); in tearDown() 95 getDevice().uninstallPackage(TEST_PKG); in tearDown() 100 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradeRestricted() 119 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePrioritiesPreservedOnReboot() 130 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePrioritiesPreservedOnReboot() 157 getDevice().uninstallPackage(SHIM_PKG); in testDisableUpdatedSystemApp() 179 getDevice().uninstallPackage(SHIM_PKG); in testUpdatedSystemAppPreservedOnReboot() 197 getDevice().uninstallPackage(SHIM_PKG); in testUninstallDisabledUpdatedSystemApp_remainingDisabled()
|
D | ExternalStorageHostTest.java | 148 getDevice().uninstallPackage(NONE_PKG); in cleanUp() 149 getDevice().uninstallPackage(READ_PKG); in cleanUp() 150 getDevice().uninstallPackage(WRITE_PKG); in cleanUp() 151 getDevice().uninstallPackage(MULTIUSER_PKG); in cleanUp() 171 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageRename() 181 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageRename() 193 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone29() 202 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone29() 216 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead29() 225 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead29() [all …]
|
D | SharedUserIdTest.java | 64 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts() 65 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts() 73 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts() 74 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts()
|
D | PackageVisibilityTest.java | 60 getDevice().uninstallPackage(TEST_PKG); in setUpPackage() 61 getDevice().uninstallPackage(TINY_PKG); in setUpPackage() 67 getDevice().uninstallPackage(TEST_PKG); in tearDown() 68 getDevice().uninstallPackage(TINY_PKG); in tearDown() 119 getDevice().uninstallPackage(TINY_PKG); in testUninstalledPackageVisibility() 153 getDevice().uninstallPackage(TINY_PKG); in testUninstalledPackageVisibility() 154 getDevice().uninstallPackage(TEST_PKG); in testUninstalledPackageVisibility()
|
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 | 69 getDevice().uninstallPackage(PKG); in setUp() 70 getDevice().uninstallPackage(OTHER_PKG); in setUp() 75 getDevice().uninstallPackage(PKG); in tearDown() 76 getDevice().uninstallPackage(OTHER_PKG); in tearDown() 143 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 | BaseLauncherAppsTest.java | 45 getDevice().uninstallPackage(LAUNCHER_TESTS_PKG); in uninstallTestApps() 46 getDevice().uninstallPackage(LAUNCHER_TESTS_SUPPORT_PKG); in uninstallTestApps() 47 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()
|
D | DeviceAndProfileOwnerTest.java | 176 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 177 getDevice().uninstallPackage(PERMISSIONS_APP_PKG); in tearDown() 178 getDevice().uninstallPackage(SIMPLE_PRE_M_APP_PKG); in tearDown() 179 getDevice().uninstallPackage(CERT_INSTALLER_PKG); in tearDown() 180 getDevice().uninstallPackage(DELEGATE_APP_PKG); in tearDown() 181 getDevice().uninstallPackage(VPN_APP_PKG); in tearDown() 182 getDevice().uninstallPackage(VPN_APP_API23_APK); in tearDown() 183 getDevice().uninstallPackage(VPN_APP_API24_APK); in tearDown() 184 getDevice().uninstallPackage(VPN_APP_NOT_ALWAYS_ON_APK); in tearDown() 185 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in tearDown() [all …]
|
D | DeviceAndProfileOwnerTestApi25.java | 41 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 42 getDevice().uninstallPackage(TEST_APP_PKG); in tearDown()
|
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/ |
D | AppIdMigrationTest.kt | 57 uninstallPackage(Const.INSTALL_TEST_PKG) in tearDown() 58 uninstallPackage(Const.INSTALL_TEST_PKG + "2") in tearDown() 59 uninstallPackage(Const.PERM_TEST_PKG) in tearDown() 60 uninstallPackage(Const.PERM_TEST_PKG + ".secondary") in tearDown() 61 uninstallPackage(Const.DATA_TEST_PKG) in tearDown() 83 uninstallPackage(Const.INSTALL_TEST_PKG) in <lambda>() 84 uninstallPackage(Const.INSTALL_TEST_PKG + "2") in <lambda>() 117 uninstallPackage(Const.PERM_TEST_PKG) in testPermissionMigration() 118 uninstallPackage(secondaryPkg) in testPermissionMigration() 143 uninstallPackage(Const.DATA_TEST_PKG) in <lambda>()
|
/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | AppSearchPackageTest.java | 56 uninstallPackage(TARGET_PKG_A); in tearDown() 57 uninstallPackage(TARGET_PKG_B); in tearDown() 67 assertThat(uninstallPackage(TARGET_PKG_A)).isNull(); in testPackageRemove() 95 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()
|
/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()
|
D | InstantAppAccessTest.java | 32 uninstallPackage(TARGET_PKG); in setUp() 38 uninstallPackage(TARGET_PKG); in tearDown()
|
/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/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesSelinuxTest.java | 56 uninstallPackage(TEST_PKG, true); in testTargetSdkQAppIsInQDomainByDefault() 77 uninstallPackage(TEST_PKG, true); in testTargetSdkQAppIsInLatestDomainWithLatestOptin() 96 uninstallPackage(TEST_PKG, true); in testTargetSdkQAppIsInRDomainWithROptin() 108 uninstallPackage(TEST_PKG, true); in testTargetSdkRAppIsInRDomainByDefault() 125 uninstallPackage(TEST_PKG, true); in testTargetSdkRAppIsInLatestDomainWithLatestOptin()
|
/cts/tests/tests/gamemanager/src/android/gamemanager/cts/ |
D | GameManagerTest.java | 118 TestUtil.uninstallPackage(NOT_GAME_TEST_APP_PACKAGE_NAME); in setUp() 119 TestUtil.uninstallPackage(GAME_TEST_APP_PACKAGE_NAME); in setUp() 120 TestUtil.uninstallPackage(GAME_TEST_APP_WITH_BATTERY_PACKAGE_NAME); in setUp() 121 TestUtil.uninstallPackage(GAME_TEST_APP_WITH_PERFORMANCE_PACKAGE_NAME); in setUp() 122 TestUtil.uninstallPackage(GAME_TEST_APP_WITH_TIRAMISU_TARGET_PACKAGE_NAME); in setUp() 136 TestUtil.uninstallPackage(NOT_GAME_TEST_APP_PACKAGE_NAME); in tearDown() 137 TestUtil.uninstallPackage(GAME_TEST_APP_PACKAGE_NAME); in tearDown() 138 TestUtil.uninstallPackage(GAME_TEST_APP_WITH_BATTERY_PACKAGE_NAME); in tearDown() 139 TestUtil.uninstallPackage(GAME_TEST_APP_WITH_PERFORMANCE_PACKAGE_NAME); in tearDown() 140 TestUtil.uninstallPackage(GAME_TEST_APP_WITH_TIRAMISU_TARGET_PACKAGE_NAME); in tearDown() [all …]
|