Home
last modified time | relevance | path

Searched refs:uninstallPackage (Results 1 – 25 of 112) 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.java107 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
108 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts()
114 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
115 getDevice().uninstallPackage(SIMPLE_APP_DIFF_CERT_APK); in testAppUpgradeDifferentCerts()
136 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData()
137 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData()
145 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData()
146 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData()
166 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testUninstallRemovesData()
172 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()
116 getDevice().uninstallPackage(TARGET_PACKAGE);
117 getDevice().uninstallPackage(overlayPackage);
128 getDevice().uninstallPackage(TARGET_PACKAGE);
129 getDevice().uninstallPackage(overlayPackage);
137 getDevice().uninstallPackage(TARGET_PACKAGE);
138 getDevice().uninstallPackage(overlayPackage);
151 getDevice().uninstallPackage(TARGET_PACKAGE);
152 getDevice().uninstallPackage(overlayPackage);
163 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()
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.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 …]
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()
DDocumentsTest.java34 getDevice().uninstallPackage(PROVIDER_PKG); in setUp()
44 getDevice().uninstallPackage(PROVIDER_PKG); in tearDown()
45 getDevice().uninstallPackage(DUMMYIME_APK); in tearDown()
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()
/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/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()
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/devicepolicy/src/com/android/cts/devicepolicy/
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()
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()
DDeviceAndProfileOwnerTest.java178 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
179 getDevice().uninstallPackage(PERMISSIONS_APP_PKG); in tearDown()
180 getDevice().uninstallPackage(SIMPLE_PRE_M_APP_PKG); in tearDown()
181 getDevice().uninstallPackage(APP_RESTRICTIONS_TARGET_APP_PKG); in tearDown()
182 getDevice().uninstallPackage(CERT_INSTALLER_PKG); in tearDown()
183 getDevice().uninstallPackage(DELEGATE_APP_PKG); in tearDown()
184 getDevice().uninstallPackage(ACCOUNT_MANAGEMENT_PKG); in tearDown()
185 getDevice().uninstallPackage(VPN_APP_PKG); in tearDown()
186 getDevice().uninstallPackage(VPN_APP_API23_APK); in tearDown()
187 getDevice().uninstallPackage(VPN_APP_API24_APK); in tearDown()
[all …]
DLimitAppIconHidingTest.java69 getDevice().uninstallPackage(LAUNCHER_TESTS_NO_PERMISSION_APK); in uninstallTestApps()
70 getDevice().uninstallPackage(LAUNCHER_TESTS_NO_COMPONENT_APK); in uninstallTestApps()
71 getDevice().uninstallPackage(LAUNCHER_TESTS_NO_LAUNCHABLE_ACTIVITY_APK); in uninstallTestApps()
DDeviceOwnerTest.java117 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in setUp()
132 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
593 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in testLockTask_deviceOwnerUser()
724 getDevice().uninstallPackage(WIFI_CONFIG_CREATOR_PKG); in testWifiConfigLockdown()
758 getDevice().uninstallPackage(MANAGED_PROFILE_PKG); in testCannotSetDeviceOwnerAgain()
874 getDevice().uninstallPackage(DeviceAdminHelper.getDeviceAdminApkPackage(adminVersion)); in testDisallowFactoryReset()
918 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache()
950 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache()
962 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache_multiUser()
1005 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallCache_multiUser()
[all …]
DProfileOwnerTestApi23.java41 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp()
52 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
/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()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkCallbackTests.java22 uninstallPackage(TEST_APP2_PKG, false); in setUp()
29 uninstallPackage(TEST_APP2_PKG, true); in tearDown()

12345