Home
last modified time | relevance | path

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

12345678

/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java111 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/
DAppSecurityTests.java113 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 …]
DOverlayHostTest.java78 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 …]
DExternalStorageHostTest.java129 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 …]
DPrivilegedUpdateTests.java81 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()
DPackageVisibilityTest.java56 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()
DSharedUserIdTest.java62 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()
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.java74 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/
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()
DQuietModeHostsideTest.java71 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()
DCustomDeviceOwnerTest.java49 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()
DBaseLauncherAppsTest.java44 getDevice().uninstallPackage(LAUNCHER_TESTS_PKG); in uninstallTestApps()
45 getDevice().uninstallPackage(LAUNCHER_TESTS_SUPPORT_PKG); in uninstallTestApps()
46 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()
/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DAppSearchPackageTest.java53 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/
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()
DBackupEligibilityHostSideTest.java85 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/
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/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()
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesSelinuxTest.java59 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/
DPermissionHistoryTest.kt47 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/
DShortcutManagerBackupTest.java115 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()

12345678