Home
last modified time | relevance | path

Searched refs:uninstall (Results 1 – 25 of 50) sorted by relevance

12

/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppTest.java68 testApp.uninstall(sUser); in install_noUserSpecified_installsInInstrumentedUser()
81 testApp.uninstall(sUser); in install_userReference_installs()
95 testApp.uninstall(sUser); in install_userReference_returnsReferenceToInstance()
108 testApp.uninstall(sUser); in install_userHandle_installs()
122 testApp.uninstall(sUser); in install_userHandle_returnsReferenceToInstance()
198 assertThrows(NullPointerException.class, () -> testApp.uninstall((UserReference) null)); in uninstall_nullUserReference_throwsException()
205 assertThrows(NullPointerException.class, () -> testApp.uninstall((UserHandle) null)); in uninstall_nullUserHandle_throwsException()
212 testApp.uninstall(sNonExistingUser); in uninstall_userReference_nonExistingUser_doesNothing()
219 testApp.uninstall(sNonExistingUserHandle); in uninstall_userHandle_nonExistingUser_doesNothing()
225 testApp.uninstall(sUser); in uninstall_userReference_notInstalled_doesNothing()
[all …]
DTestAppActivitiesTest.java63 sTestAppInstance.uninstall(); in teardown()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestApp.java105 public void uninstall() { in uninstall() method in TestApp
106 uninstall(TestApis.users().instrumented()); in uninstall()
133 public void uninstall(UserReference user) { in uninstall() method in TestApp
134 pkg().uninstall(user); in uninstall()
140 public void uninstall(UserHandle user) { in uninstall() method in TestApp
141 uninstall(TestApis.users().find(user)); in uninstall()
DTestAppInstance.java170 public void uninstall() { in uninstall() method in TestAppInstance
171 mTestApp.uninstall(mUser); in uninstall()
317 uninstall(); in close()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DPackageTest.java130 sInstrumentedPackage.uninstall(sDeviceState.secondaryUser()); in installExisting_alreadyInstalled_installsInUser()
156 pkg.uninstall(TestApis.users().instrumented()); in uninstall_packageIsInstalledForDifferentUser_isUninstalledForUser()
161 pkg.uninstall(TestApis.users().instrumented()); in uninstall_packageIsInstalledForDifferentUser_isUninstalledForUser()
162 pkg.uninstall(sDeviceState.secondaryUser()); in uninstall_packageIsInstalledForDifferentUser_isUninstalledForUser()
170 pkg.uninstall(TestApis.users().instrumented()); in uninstall_packageIsUninstalled()
182 sTestApp.pkg().uninstall(sDeviceState.secondaryUser()); in uninstall_packageNotInstalledForUser_doesNotThrowException()
192 pkg.uninstall(sUser); in uninstall_packageDoesNotExist_doesNotThrowException()
250 sTestApp.pkg().uninstall(TestApis.users().instrumented()); in grantPermission_packageIsNotInstalledForUser_throwsException()
327 pkg.uninstall(sUser); in installedOnUsers_includesUserWithPackageInstalled()
354 pkg.uninstall(sDeviceState.secondaryUser()); in installedOnUsers_doesNotIncludeUserWithoutPackageInstalled()
[all …]
DPackagesTest.java132 pkg.uninstall(mUser); in installedForUser_containsPackageInstalledForUser()
142 pkg.uninstall(sDeviceState.additionalUser()); in installedForUser_doesNotContainPackageNotInstalledForUser()
148 pkg.uninstall(mUser); in installedForUser_doesNotContainPackageNotInstalledForUser()
191 pkg.uninstall(TestApis.users().instrumented()); in install_instrumentedUser_isInstalled()
203 pkg.uninstall(TestApis.users().instrumented()); in install_byteArray_instrumentedUser_isInstalled()
217 pkg.uninstall(sDeviceState.workProfile()); in install_inWorkProfile_isInstalled()
230 pkg.uninstall(sDeviceState.additionalUser()); in install_differentUser_isInstalled()
329 pkg.uninstall(mUser); in install_alreadyInstalledForUser_installs()
341 pkg.uninstall(mUser); in install_byteArray_alreadyInstalledForUser_installs()
391 testAppInstance.uninstall(); in keepUninstalledPackages_packageIsUninstalled_packageStillExists()
[all …]
/cts/tests/backup/src/android/backup/cts/
DAppLocalesBackupTest.java110 uninstall(TEST_APP_PACKAGE_1); in tearDown()
111 uninstall(TEST_APP_PACKAGE_2); in tearDown()
173 uninstall(TEST_APP_PACKAGE_2); in testBackupRestore_appInstalledAfterRestore_doesLazyRestore()
207 uninstall(TEST_APP_PACKAGE_2); in testBackupRestore_appInstalledAfterRestore_doesLazyRestore()
225 uninstall(TEST_APP_PACKAGE_2); in testBackupRestore_uninstallApp_deletesDataFromBackup()
253 uninstall(TEST_APP_PACKAGE_2); in testRetentionPeriod_backupPassAfterRetentionPeriod_removesStagedData()
350 uninstall(TEST_APP_PACKAGE_1); in testRetentionPeriod_lazyRestoreAfterRetentionPeriod_removesStagedData()
351 uninstall(TEST_APP_PACKAGE_2); in testRetentionPeriod_lazyRestoreAfterRetentionPeriod_removesStagedData()
482 private void uninstall(String packageName) { in uninstall() method in AppLocalesBackupTest
DPermissionTest.java341 uninstall(APP); in testDelayedRestore()
342 uninstall(APP22); in testDelayedRestore()
367 private void uninstall(String packageName) { in uninstall() method in PermissionTest
/cts/tests/tests/uidmigration/
Dsystem-app-test.sh22 adb shell pm uninstall $PKGNAME >/dev/null 2>&1 || true
23 adb shell pm uninstall-system-updates $PKGNAME >/dev/null 2>&1 || true
89 adb shell pm uninstall-system-updates $PKGNAME || true
/cts/common/device-side/test-app/
Drun_tests.sh43 adb -s ${SERIAL} uninstall ${COMMON_PACKAGE}
/cts/libs/install/src/com/android/cts/install/lib/
DUninstall.java50 packageInstaller.uninstall(packageName, sender.getIntentSender()); in uninstallSinglePackage()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallPinnedTest.java16 package android.packageinstaller.uninstall.cts;
123 mContext.getPackageManager().getPackageInstaller().uninstall(TEST_PKG_NAME, in testCantUninstallAppDirectly()
DUninstallTest.java16 package android.packageinstaller.uninstall.cts;
269 pi.uninstall(pkg, 0, pendingIntent.getIntentSender()); in testUninstallApi()
273 pi.uninstall(pkg, 0, pendingIntent.getIntentSender()); in testUninstallApi()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DAppHelper.kt44 fun uninstall() = runShellCommand("pm uninstall --user $userId $packageName") in uninstall() method in android.companion.cts.common.AppHelper
/cts/tests/framework/base/localeconfig/src/com/android/cts/localeconfig/
DLocaleConfigTest.java82 uninstall(TEST_PACKAGE_WITHOUT_LOCALECONFIG); in tearDown()
174 private void uninstall(String packageName) throws InterruptedException { in uninstall() method in LocaleConfigTest
DLocaleConfigAppUpdateTest.java79 uninstall(TEST_PACKAGE); in tearDown()
223 private void uninstall(String packageName) throws InterruptedException { in uninstall() method in LocaleConfigAppUpdateTest
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DBackupAndRestoreTest.kt152 testApp.uninstall() in <lambda>()
173 testApp.uninstall() in <lambda>()
DAssociationsCleanUpTest.kt84 testApp.uninstall() in <lambda>()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DTestAppsComponent.kt174 testApp.uninstall(user) in ensureTestAppNotInstalled()
226 installedTestApp.uninstall() in teardownShareableState()
/cts/hostsidetests/packagemanager/domainverification/host/src/com/android/cts/packagemanager/verify/domain/host/
DDomainVerificationIntentHostTimedTests.kt44 fun uninstall() { in uninstall() method in com.android.cts.packagemanager.verify.domain.host.DomainVerificationIntentHostTimedTests
DDomainVerificationTests.kt45 fun uninstall() { in uninstall() method in com.android.cts.packagemanager.verify.domain.host.DomainVerificationTests
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DSystemAppTest.java64 sTestAppInstance.uninstall(); in teardownClass()
DSettingsAppTest.java94 sDeviceState.dpc().testApp().pkg().uninstall(sDeviceState.primaryUser()); in deviceAdminSettings_correctlyListsManagedProfileAndNonManagedProfileAdmins()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPackageInstallTest.java75 mPackageInstaller.uninstall(TEST_APP_PKG, getCommitCallback()); in testPackageUninstall()
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemoteDpc.java453 testApp.uninstall(parent); in createWorkProfile()
512 .uninstall(mDevicePolicyController.user()); in remove()

12