Home
last modified time | relevance | path

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

1234

/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java88 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in testInstallSharedLibrary()
89 getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG); in testInstallSharedLibrary()
90 getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG); in testInstallSharedLibrary()
102 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG)); in testInstallSharedLibrary()
104 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG)); in testInstallSharedLibrary()
106 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG)); in testInstallSharedLibrary()
108 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in testInstallSharedLibrary()
109 getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG); in testInstallSharedLibrary()
110 getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG); in testInstallSharedLibrary()
115 getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG); in testCannotInstallSharedLibraryWithMissingDependency()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java95 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone()
104 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageNone()
117 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead()
126 getDevice().uninstallPackage(READ_PKG); in testExternalStorageRead()
139 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageWrite()
148 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageWrite()
160 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageGifts()
161 getDevice().uninstallPackage(READ_PKG); in testExternalStorageGifts()
162 getDevice().uninstallPackage(WRITE_PKG); in testExternalStorageGifts()
179 getDevice().uninstallPackage(NONE_PKG); in testExternalStorageGifts()
[all …]
DAppSecurityTests.java126 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts()
127 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts()
141 getDevice().uninstallPackage(SHARED_UI_PKG); in testSharedUidDifferentCerts()
142 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG); in testSharedUidDifferentCerts()
154 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
168 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
179 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData()
180 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData()
197 getDevice().uninstallPackage(APP_WITH_DATA_PKG); in testAppFailAccessPrivateData()
198 getDevice().uninstallPackage(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData()
[all …]
DPrivilegedUpdateTests.java70 getDevice().uninstallPackage(SHIM_PKG); in setUp()
71 getDevice().uninstallPackage(TEST_PKG); in setUp()
81 getDevice().uninstallPackage(SHIM_PKG); in tearDown()
82 getDevice().uninstallPackage(TEST_PKG); in tearDown()
87 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradeRestricted()
101 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePriorities()
108 getDevice().uninstallPackage(SHIM_PKG); in testPrivilegedAppUpgradePriorities()
130 getDevice().uninstallPackage(SHIM_PKG); in testDisableUpdatedSystemApp()
DPackageVisibilityTest.java45 getDevice().uninstallPackage(TEST_PKG); in setUp()
46 getDevice().uninstallPackage(TINY_PKG); in setUp()
51 getDevice().uninstallPackage(TEST_PKG); in tearDown()
52 getDevice().uninstallPackage(TINY_PKG); in tearDown()
94 getDevice().uninstallPackage(TINY_PKG); in testUninstalledPackageVisibility()
123 getDevice().uninstallPackage(TINY_PKG); in testUninstalledPackageVisibility()
124 getDevice().uninstallPackage(TEST_PKG); in testUninstalledPackageVisibility()
DInstantCookieHostTest.java44 uninstallPackage(INSTANT_COOKIE_APP_PKG); in setUp()
50 uninstallPackage(INSTANT_COOKIE_APP_PKG); in tearDown()
63 uninstallPackage(INSTANT_COOKIE_APP_PKG); in testCookiePersistedAcrossInstantInstalls()
82 uninstallPackage(INSTANT_COOKIE_APP_PKG); in testCookieResetOnNonInstantReinstall()
97 private String uninstallPackage(String packageName) throws DeviceNotAvailableException { in uninstallPackage() method in InstantCookieHostTest
98 return getDevice().uninstallPackage(packageName); in uninstallPackage()
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 …]
DPkgInstallSignatureVerificationTest.java59 uninstallPackage(); in setUp()
65 uninstallPackage(); in tearDown()
426 uninstallPackage(); in testV1SchemeSignatureCertNotReencoded()
457 uninstallPackage(); in testV2SchemeSignatureCertNotReencoded()
508 uninstallPackage(); in assertInstallSucceedsForEach()
600 private String uninstallPackage() throws DeviceNotAvailableException { in uninstallPackage() method in PkgInstallSignatureVerificationTest
601 return getDevice().uninstallPackage(TEST_PKG); in uninstallPackage()
DDirectBootHostTest.java79 getDevice().uninstallPackage(PKG); in setUp()
80 getDevice().uninstallPackage(OTHER_PKG); in setUp()
87 getDevice().uninstallPackage(PKG); in tearDown()
88 getDevice().uninstallPackage(OTHER_PKG); in tearDown()
197 getDevice().uninstallPackage(PKG); in doDirectBootTest()
DDocumentsTest.java33 getDevice().uninstallPackage(PROVIDER_PKG); in setUp()
42 getDevice().uninstallPackage(PROVIDER_PKG); in tearDown()
DPermissionsHostTest.java65 getDevice().uninstallPackage(USES_PERMISSION_PKG); in setUp()
66 getDevice().uninstallPackage(ESCALATE_PERMISSION_PKG); in setUp()
73 getDevice().uninstallPackage(USES_PERMISSION_PKG); in tearDown()
74 getDevice().uninstallPackage(ESCALATE_PERMISSION_PKG); in tearDown()
265 assertNull(getDevice().uninstallPackage(USES_PERMISSION_PKG)); in testNoResidualPermissionsOnUninstall()
/cts/hostsidetests/content/src/android/content/cts/
DSyncAdapterAccountAccessHostTest.java64 getDevice().uninstallPackage(STUBS_PKG); in setUp()
73 getDevice().uninstallPackage(STUBS_APK); in tearDown()
77 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_SAME_CERT_PKG); in testSameCertAuthenticatorCanSeeAccount()
86 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_SAME_CERT_PKG); in testSameCertAuthenticatorCanSeeAccount()
91 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_OTHER_CERT_PKG); in testOtherCertAuthenticatorCanSeeAccount()
100 getDevice().uninstallPackage(ACCOUNT_ACCESS_TESTS_OTHER_CERT_PKG); in testOtherCertAuthenticatorCanSeeAccount()
DInvalidSyncAuthoritiesHostTest.java51 getDevice().uninstallPackage(DEVICE_TEST_PACKAGE); in setUp()
66 getDevice().uninstallPackage(DEVICE_TEST_PACKAGE); in tearDown()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java115 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
116 getDevice().uninstallPackage(PERMISSIONS_APP_PKG); in tearDown()
117 getDevice().uninstallPackage(SIMPLE_PRE_M_APP_PKG); in tearDown()
118 getDevice().uninstallPackage(APP_RESTRICTIONS_TARGET_APP_PKG); in tearDown()
119 getDevice().uninstallPackage(CERT_INSTALLER_PKG); in tearDown()
120 getDevice().uninstallPackage(DELEGATE_APP_PKG); in tearDown()
121 getDevice().uninstallPackage(ACCOUNT_MANAGEMENT_PKG); in tearDown()
122 getDevice().uninstallPackage(VPN_APP_PKG); in tearDown()
123 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in tearDown()
124 getDevice().uninstallPackage(INTENT_SENDER_PKG); in tearDown()
[all …]
DBaseLauncherAppsTest.java45 getDevice().uninstallPackage(LAUNCHER_TESTS_PKG); in uninstallTestApps()
46 getDevice().uninstallPackage(LAUNCHER_TESTS_SUPPORT_PKG); in uninstallTestApps()
47 getDevice().uninstallPackage(SIMPLE_APP_PKG); in uninstallTestApps()
DCustomDeviceOwnerTest.java52 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
53 getDevice().uninstallPackage(ACCOUNT_MANAGEMENT_PKG); in tearDown()
83 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in testOwnerChangedBroadcast()
135 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testIsProvisioningAllowed()
DProfileOwnerTestApi23.java41 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp()
52 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
DDeviceOwnerTest.java64 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in setUp()
78 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
371 getDevice().uninstallPackage(INTENT_RECEIVER_PKG); in testLockTask_deviceOwnerUser()
435 getDevice().uninstallPackage(WIFI_CONFIG_CREATOR_PKG); in testWifiConfigLockdown()
468 getDevice().uninstallPackage(MANAGED_PROFILE_PKG); in testCannotSetDeviceOwnerAgain()
542 getDevice().uninstallPackage(DeviceAdminHelper.getDeviceAdminApkPackage(adminVersion)); in testDisallowFactoryReset()
DProfileOwnerTest.java43 getDevice().uninstallPackage(PROFILE_OWNER_PKG); in setUp()
75 getDevice().uninstallPackage(PROFILE_OWNER_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/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerBackupTest.java84 getDevice().uninstallPackage(LAUNCHER1_PKG); in tearDown()
85 getDevice().uninstallPackage(LAUNCHER2_PKG); in tearDown()
86 getDevice().uninstallPackage(LAUNCHER3_PKG); in tearDown()
88 getDevice().uninstallPackage(PUBLISHER1_PKG); in tearDown()
89 getDevice().uninstallPackage(PUBLISHER2_PKG); in tearDown()
90 getDevice().uninstallPackage(PUBLISHER3_PKG); in tearDown()
124 getDevice().uninstallPackage(pkg); in uninstallPackageAndWaitUntilBroadcastsDrain()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideVpnTests.java25 uninstallPackage(TEST_APP2_PKG, false); in setUp()
33 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
DHostsideRestrictBackgroundNetworkTests.java28 uninstallPackage(TEST_APP2_PKG, false); in setUp()
36 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
69 uninstallPackage(TEST_APP2_PKG, true); in testDataSaverMode_reinstall()
112 uninstallPackage(TEST_APP2_PKG, true); in testBatterySaverMode_reinstall()
DHostsideNetworkTestCase.java68 uninstallPackage(TEST_PKG, false); in setUp()
76 uninstallPackage(TEST_PKG, true); in tearDown()
85 protected void uninstallPackage(String packageName, boolean shouldSucceed) in uninstallPackage() method in HostsideNetworkTestCase
87 final String result = getDevice().uninstallPackage(packageName); in uninstallPackage()
/cts/hostsidetests/backup/src/android/cts/backup/
DKeyValueBackupRestoreHostSideTest.java65 assertNull(uninstallPackage(KEY_VALUE_RESTORE_APP_PACKAGE)); in tearDown()
87 assertNull(uninstallPackage(KEY_VALUE_RESTORE_APP_PACKAGE)); in testKeyValueBackupAndRestore()

1234