/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppTest.java | 68 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 …]
|
D | TestAppActivitiesTest.java | 63 sTestAppInstance.uninstall(); in teardown()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestApp.java | 105 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()
|
D | TestAppInstance.java | 170 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/ |
D | PackageTest.java | 130 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 …]
|
D | PackagesTest.java | 132 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/ |
D | AppLocalesBackupTest.java | 110 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
|
D | PermissionTest.java | 341 uninstall(APP); in testDelayedRestore() 342 uninstall(APP22); in testDelayedRestore() 367 private void uninstall(String packageName) { in uninstall() method in PermissionTest
|
/cts/tests/tests/uidmigration/ |
D | system-app-test.sh | 22 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/ |
D | run_tests.sh | 43 adb -s ${SERIAL} uninstall ${COMMON_PACKAGE}
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Uninstall.java | 50 packageInstaller.uninstall(packageName, sender.getIntentSender()); in uninstallSinglePackage()
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | UninstallPinnedTest.java | 16 package android.packageinstaller.uninstall.cts; 123 mContext.getPackageManager().getPackageInstaller().uninstall(TEST_PKG_NAME, in testCantUninstallAppDirectly()
|
D | UninstallTest.java | 16 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/ |
D | AppHelper.kt | 44 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/ |
D | LocaleConfigTest.java | 82 uninstall(TEST_PACKAGE_WITHOUT_LOCALECONFIG); in tearDown() 174 private void uninstall(String packageName) throws InterruptedException { in uninstall() method in LocaleConfigTest
|
D | LocaleConfigAppUpdateTest.java | 79 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/ |
D | BackupAndRestoreTest.kt | 152 testApp.uninstall() in <lambda>() 173 testApp.uninstall() in <lambda>()
|
D | AssociationsCleanUpTest.kt | 84 testApp.uninstall() in <lambda>()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | TestAppsComponent.kt | 174 testApp.uninstall(user) in ensureTestAppNotInstalled() 226 installedTestApp.uninstall() in teardownShareableState()
|
/cts/hostsidetests/packagemanager/domainverification/host/src/com/android/cts/packagemanager/verify/domain/host/ |
D | DomainVerificationIntentHostTimedTests.kt | 44 fun uninstall() { in uninstall() method in com.android.cts.packagemanager.verify.domain.host.DomainVerificationIntentHostTimedTests
|
D | DomainVerificationTests.kt | 45 fun uninstall() { in uninstall() method in com.android.cts.packagemanager.verify.domain.host.DomainVerificationTests
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | SystemAppTest.java | 64 sTestAppInstance.uninstall(); in teardownClass()
|
D | SettingsAppTest.java | 94 sDeviceState.dpc().testApp().pkg().uninstall(sDeviceState.primaryUser()); in deviceAdminSettings_correctlyListsManagedProfileAndNonManagedProfileAdmins()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 75 mPackageInstaller.uninstall(TEST_APP_PKG, getCommitCallback()); in testPackageUninstall()
|
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/ |
D | RemoteDpc.java | 453 testApp.uninstall(parent); in createWorkProfile() 512 .uninstall(mDevicePolicyController.user()); in remove()
|