Home
last modified time | relevance | path

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

12345

/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.java108 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
109 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts()
115 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
116 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts()
137 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData()
138 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData()
146 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData()
147 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData()
167 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testUninstallRemovesData()
173 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testUninstallRemovesData()
[all …]
DExternalStorageHostTest.java109 getDevice().uninstallPackage(NONE_PKG); in cleanUp()
110 getDevice().uninstallPackage(READ_PKG); in cleanUp()
111 getDevice().uninstallPackage(WRITE_PKG); in cleanUp()
112 getDevice().uninstallPackage(MULTIUSER_PKG); in cleanUp()
122 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageRename()
129 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageRename()
141 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone()
150 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone()
164 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead()
173 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead()
[all …]
DOverlayHostTest.java77 getDevice().uninstallPackage(TEST_APP_PACKAGE); in tearDown()
119 getDevice().uninstallPackage(TARGET_PACKAGE);
120 getDevice().uninstallPackage(overlayPackage);
131 getDevice().uninstallPackage(TARGET_PACKAGE);
132 getDevice().uninstallPackage(overlayPackage);
140 getDevice().uninstallPackage(TARGET_PACKAGE);
141 getDevice().uninstallPackage(overlayPackage);
154 getDevice().uninstallPackage(TARGET_PACKAGE);
155 getDevice().uninstallPackage(overlayPackage);
166 getDevice().uninstallPackage(OVERLAY_ANDROID_PACKAGE);
[all …]
DPrivilegedUpdateTests.java80 getDevice().uninstallPackage(SHIM_PKG); in setUp()
81 getDevice().uninstallPackage(TEST_PKG); in setUp()
91 getDevice().uninstallPackage(SHIM_PKG); in tearDown()
92 getDevice().uninstallPackage(TEST_PKG); in tearDown()
97 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradeRestricted()
116 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePriorities()
123 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePriorities()
150 getDevice().uninstallPackage(SHIM_PKG); in testDisableUpdatedSystemApp()
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()
144 getDevice().uninstallPackage(TINY_PKG); in testUninstalledPackageVisibility()
145 getDevice().uninstallPackage(TEST_PKG); in testUninstalledPackageVisibility()
DKeySetHostTest.java205 mDevice.uninstallPackage(pkgName); in testPackageUpgrade()
217 mDevice.uninstallPackage(pkgName); in testPackageUpgrade()
372 mDevice.uninstallPackage(KEYSET_PKG); in testKeyRotationPerm()
373 mDevice.uninstallPackage(KEYSET_PERM_DEF_PKG); in testKeyRotationPerm()
374 mDevice.uninstallPackage(KEYSET_TEST_PKG); in testKeyRotationPerm()
410 mDevice.uninstallPackage(KEYSET_PKG); in testKeyRotationPerm()
411 mDevice.uninstallPackage(KEYSET_PERM_DEF_PKG); in testKeyRotationPerm()
412 mDevice.uninstallPackage(KEYSET_TEST_PKG); in testKeyRotationPerm()
467 mDevice.uninstallPackage(KEYSET_PKG); in testBadUpgradeBadPubKey()
478 mDevice.uninstallPackage(KEYSET_PKG); in testBadUpgradeMissingPubKey()
[all …]
DPermissionsHostTest.java85 getDevice().uninstallPackage(REVIEW_HELPER_PKG); in approveReviewPermissionDialog()
96 getDevice().uninstallPackage(USES_PERMISSION_PKG); in setUp()
97 getDevice().uninstallPackage(ESCALATE_PERMISSION_PKG); in setUp()
98 getDevice().uninstallPackage(PERMISSION_POLICY_25_PKG); in setUp()
117 getDevice().uninstallPackage(USES_PERMISSION_PKG); in tearDown()
118 getDevice().uninstallPackage(ESCALATE_PERMISSION_PKG); in tearDown()
119 getDevice().uninstallPackage(PERMISSION_POLICY_25_PKG); in tearDown()
340 assertNull(getDevice().uninstallPackage(USES_PERMISSION_PKG)); in testNoResidualPermissionsOnUninstall()
498 getDevice().uninstallPackage(REVIEW_HELPER_PKG); in testDenyCalendarDuringReview()
511 getDevice().uninstallPackage(REVIEW_HELPER_PKG); in testDenyGrantCalendarDuringReview()
[all …]
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()
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()
DDirectBootHostTest.java68 getDevice().uninstallPackage(PKG); in setUp()
69 getDevice().uninstallPackage(OTHER_PKG); in setUp()
74 getDevice().uninstallPackage(PKG); in tearDown()
75 getDevice().uninstallPackage(OTHER_PKG); in tearDown()
190 getDevice().uninstallPackage(PKG); in doDirectBootTest()
DPkgInstallSignatureVerificationTest.java67 uninstallPackage(); in setUp()
453 uninstallPackage(); in testV1SchemeSignatureCertNotReencoded()
484 uninstallPackage(); in testV2SchemeSignatureCertNotReencoded()
790 uninstallPackage(); in assertInstallSucceedsForEach()
889 private String uninstallPackage() throws DeviceNotAvailableException { in uninstallPackage() method in PkgInstallSignatureVerificationTest
890 return getDevice().uninstallPackage(TEST_PKG); in uninstallPackage()
894 return getDevice().uninstallPackage(COMPANION_TEST_PKG); in uninstallCompanionPackage()
898 return getDevice().uninstallPackage(DEVICE_TESTS_PKG); in uninstallDeviceTestPackage()
902 uninstallPackage(); in uninstallPackages()
DDocumentsTest.java35 getDevice().uninstallPackage(PROVIDER_PKG); in setUp()
45 getDevice().uninstallPackage(PROVIDER_PKG); in tearDown()
46 getDevice().uninstallPackage(STUBIME_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/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java180 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
181 getDevice().uninstallPackage(PERMISSIONS_APP_PKG); in tearDown()
182 getDevice().uninstallPackage(SIMPLE_PRE_M_APP_PKG); in tearDown()
183 getDevice().uninstallPackage(APP_RESTRICTIONS_TARGET_APP_PKG); in tearDown()
184 getDevice().uninstallPackage(CERT_INSTALLER_PKG); in tearDown()
185 getDevice().uninstallPackage(DELEGATE_APP_PKG); in tearDown()
186 getDevice().uninstallPackage(ACCOUNT_MANAGEMENT_PKG); in tearDown()
187 getDevice().uninstallPackage(VPN_APP_PKG); in tearDown()
188 getDevice().uninstallPackage(VPN_APP_API23_APK); in tearDown()
189 getDevice().uninstallPackage(VPN_APP_API24_APK); in tearDown()
[all …]
DCustomDeviceOwnerTest.java49 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
50 getDevice().uninstallPackage(ACCOUNT_MANAGEMENT_PKG); in tearDown()
81 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in testOwnerChangedBroadcast()
133 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testIsProvisioningAllowed()
DDeviceOwnerTest.java111 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in setUp()
128 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
626 getDevice().uninstallPackage(WIFI_CONFIG_CREATOR_PKG); in testWifiConfigLockdown()
660 getDevice().uninstallPackage(MANAGED_PROFILE_PKG); in testCannotSetDeviceOwnerAgain()
764 getDevice().uninstallPackage(DeviceAdminHelper.getDeviceAdminApkPackage(adminVersion)); in testDisallowFactoryReset()
808 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache()
840 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache()
852 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache_multiUser()
895 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache_multiUser()
1012 getDevice().uninstallPackage(LAUNCHER_TESTS_HAS_LAUNCHER_ACTIVITY_APK); in testNoHiddenActivityFoundTest()
[all …]
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.java69 getDevice().uninstallPackage(LAUNCHER_TESTS_NO_PERMISSION_APK); in uninstallTestApps()
70 getDevice().uninstallPackage(LAUNCHER_TESTS_NO_LAUNCHER_ACTIVITY_APK); in uninstallTestApps()
71 getDevice().uninstallPackage(LAUNCHER_TESTS_HAS_LAUNCHER_ACTIVITY_APK); in uninstallTestApps()
/cts/hostsidetests/backup/src/android/cts/backup/
DFullBackupOnlyHostSideTest.java92 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in tearDown()
113 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyFalse_WithAgent()
139 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyFalse_NoAgent()
165 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyTrue_WithAgent()
DRestoreAnyVersionHostSideTest.java72 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in tearDown()
93 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_False()
119 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_True()
145 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_OldBackupToNewApp()
DRestoreSessionHostSideTest.java71 uninstallPackage(MAIN_TEST_APK); in tearDown()
128 uninstallPackage(getPackageNameForTestApp(1)); in testRestorePackagesInternal()
129 uninstallPackage(getPackageNameForTestApp(2)); in testRestorePackagesInternal()
130 uninstallPackage(getPackageNameForTestApp(3)); in testRestorePackagesInternal()
DAllowBackupHostSideTest.java78 assertNull(uninstallPackage(ALLOWBACKUP_APP_NAME)); in tearDown()
95 assertNull(uninstallPackage(ALLOWBACKUP_APP_NAME)); in testAllowBackup_False()
117 assertNull(uninstallPackage(ALLOWBACKUP_APP_NAME)); in testAllowBackup_True()
DKeyValueBackupRestoreHostSideTest.java83 assertNull(uninstallPackage(KEY_VALUE_RESTORE_APP_PACKAGE)); in tearDown()
86 assertNull(uninstallPackage(SHARED_PREFERENCES_RESTORE_APP_PACKAGE)); in tearDown()
113 assertNull(uninstallPackage(KEY_VALUE_RESTORE_APP_PACKAGE)); in testKeyValueBackupAndRestore()
/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()

12345