Home
last modified time | relevance | path

Searched refs:uninstallPackage (Results 1 – 25 of 228) sorted by relevance

12345678910

/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java126 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/
DAppSecurityTests.java133 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 …]
DOverlayHostTest.java87 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 …]
DPrivilegedUpdateTests.java83 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()
DExternalStorageHostTest.java148 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 …]
DSharedUserIdTest.java64 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()
DPackageVisibilityTest.java60 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()
DInstantCookieHostTest.java50 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()
DKeySetHostTest.java207 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 …]
DDirectBootHostTest.java69 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/
DBaseManagedProfileTest.java77 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()
DBaseLauncherAppsTest.java45 getDevice().uninstallPackage(LAUNCHER_TESTS_PKG); in uninstallTestApps()
46 getDevice().uninstallPackage(LAUNCHER_TESTS_SUPPORT_PKG); in uninstallTestApps()
47 getDevice().uninstallPackage(SIMPLE_APP_PKG); in uninstallTestApps()
DLimitAppIconHidingTest.java71 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()
DDeviceAndProfileOwnerTest.java176 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 …]
DDeviceAndProfileOwnerTestApi25.java41 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
42 getDevice().uninstallPackage(TEST_APP_PKG); in tearDown()
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DAppIdMigrationTest.kt57 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/
DAppSearchPackageTest.java56 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/
DFullBackupOnlyHostSideTest.java84 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()
DRestoreAnyVersionHostSideTest.java65 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()
DKeyValueBackupRestoreHostSideTest.java80 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/
DDataCleanupTest.java36 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()
DInstantAppAccessTest.java32 uninstallPackage(TARGET_PKG); in setUp()
38 uninstallPackage(TARGET_PKG); in tearDown()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java57 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/
DCompatChangesSelinuxTest.java56 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/
DGameManagerTest.java118 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 …]

12345678910