Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/
DHostsideSelfDeclaredNetworkCapabilitiesCheckTest.java41 uninstallPackage(TEST_APP_PKG, false); in testRequestNetworkInCurrentSdkWithProperty()
51 uninstallPackage(TEST_APP_PKG, true); in testRequestNetworkInCurrentSdkWithProperty()
56 uninstallPackage(TEST_APP_PKG, false); in testRequestNetworkInCurrentSdkWithoutProperty()
66 uninstallPackage(TEST_APP_PKG, true); in testRequestNetworkInCurrentSdkWithoutProperty()
71 uninstallPackage(TEST_APP_PKG, false); in testRequestNetworkInSdk33()
80 uninstallPackage(TEST_APP_PKG, true); in testRequestNetworkInSdk33()
85 uninstallPackage(TEST_APP_PKG, false); in testReinstallPackageWillUpdateProperty()
90 uninstallPackage(TEST_APP_PKG, true); in testReinstallPackageWillUpdateProperty()
98 uninstallPackage(TEST_APP_PKG, true); in testReinstallPackageWillUpdateProperty()
DHostsideNetworkTestCase.java48 uninstallPackage(testInfo, TEST_PKG, false); in setUpOnceBase()
55 uninstallPackage(testInfo, TEST_PKG, true); in tearDownOnceBase()
83 protected static void uninstallPackage(TestInformation testInfo, String packageName, in uninstallPackage() method in HostsideNetworkTestCase
87 final String result = testInfo.getDevice().uninstallPackage(packageName); in uninstallPackage()
93 protected void uninstallPackage(String packageName, in uninstallPackage() method in HostsideNetworkTestCase
96 uninstallPackage(getTestInformation(), packageName, shouldSucceed); in uninstallPackage()
DHostsideVpnTests.java29 uninstallPackage(TEST_APP2_PKG, false); in setUp()
35 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/src/com/android/cts/netpolicy/
DHostsideNetworkPolicyTestCase.java58 uninstallPackage(testInfo, TEST_PKG, false); in setUpOnceBase()
65 uninstallPackage(testInfo, TEST_PKG, true); in tearDownOnceBase()
93 protected static void uninstallPackage(TestInformation testInfo, String packageName, in uninstallPackage() method in HostsideNetworkPolicyTestCase
97 final String result = testInfo.getDevice().uninstallPackage(packageName); in uninstallPackage()
103 protected void uninstallPackage(String packageName, in uninstallPackage() method in HostsideNetworkPolicyTestCase
106 uninstallPackage(getTestInformation(), packageName, shouldSucceed); in uninstallPackage()
DHostsideNetworkCallbackTests.java33 uninstallPackage(TEST_APP2_PKG, false); in setUp()
39 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
DHostsideRestrictBackgroundNetworkTests.java37 uninstallPackage(TEST_APP2_PKG, false); in setUp()
43 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
88 uninstallPackage(TEST_APP2_PKG, true); in testDataSaverMode_reinstall()
142 uninstallPackage(TEST_APP2_PKG, true); in testBatterySaverMode_reinstall()
DHostsideNetworkPolicyManagerTests.java30 uninstallPackage(TEST_APP2_PKG, false); in setUp()
36 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
DHostsideDefaultNetworkRestrictionsTests.java40 uninstallPackage(TEST_APP2_PKG, false); in setUp()
46 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
DHostsideConnOnActivityStartTest.java38 uninstallPackage(testInfo, TEST_APP2_PKG, false); in setUpOnce()
44 uninstallPackage(testInfo, TEST_APP2_PKG, true); in tearDownOnce()
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/src/com/android/sdksandbox/cts/host/
DSdkSandboxDataIsolationHostTest.java77 uninstallPackage(APP_PACKAGE); in setUp()
78 uninstallPackage(APP_2_PACKAGE); in setUp()
84 uninstallPackage(APP_PACKAGE); in tearDown()
85 uninstallPackage(APP_2_PACKAGE); in tearDown()
DCtsSdkSandboxStorageHostTest.java59 uninstallPackage(TEST_APP_PACKAGE_NAME); in setUp()
64 uninstallPackage(TEST_APP_PACKAGE_NAME); in tearDown()
DSdkSandboxMediaHostTest.java61 uninstallPackage(TEST_APP_PACKAGE_NAME); in setUp()
66 uninstallPackage(TEST_APP_PACKAGE_NAME); in tearDown()
/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DFastDeployTest.java49 getDevice().uninstallPackage(TEST_APP_PACKAGE); in setUp()
58 getDevice().uninstallPackage(TEST_APP_PACKAGE); in testAppInstalls()
68 getDevice().uninstallPackage(TEST_APP_PACKAGE); in testAppPatch()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionPolicyTest25.kt39 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in installApp25()
45 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in uninstallApp()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/src/com/android/tests/sdksandbox/host/
DSdkSandboxMetricsHostTest.java61 uninstallPackage(TEST_APP_PACKAGE); in tearDown()
62 uninstallPackage(SECONDARY_TEST_APP_PACKAGE); in tearDown()
/packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/
DSdkExtensionsHostTest.java91 getDevice().uninstallPackage(APP_PACKAGE); in cleanup()
138 assertNull(getDevice().uninstallPackage(appPackage(appName))); in canInstallApp()
308 String res = getDevice().uninstallPackage(apex.name); in uninstallApexes()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleShellCommandTest.kt79 uninstallPackage(APP_PACKAGE_NAME) in uninstallApp()
182 private fun uninstallPackage(packageName: String) { in uninstallPackage() method
DRoleControllerManagerTest.kt61 uninstallPackage(APP_PACKAGE_NAME) in uninstallApp()
152 private fun uninstallPackage(packageName: String) { in uninstallPackage() method
DRoleManagerTest.java216 uninstallPackage(APP_PACKAGE_NAME); in uninstallApp()
217 uninstallPackage(APP_28_PACKAGE_NAME); in uninstallApp()
218 uninstallPackage(APP_33_WITHOUT_INCALLSERVICE_PACKAGE_NAME); in uninstallApp()
386 uninstallPackage(APP_PACKAGE_NAME); in requestRoleAndDenyWithDontAskAgainAndReinstallThenShowsUiWithoutDontAskAgain()
498 private void uninstallPackage(@NonNull String packageName) { in uninstallPackage() method in RoleManagerTest
499 uninstallPackage(packageName, Process.myUserHandle()); in uninstallPackage()
502 private void uninstallPackage(@NonNull String packageName, UserHandle user) { in uninstallPackage() method in RoleManagerTest
879 uninstallPackage(APP_PACKAGE_NAME, privateProfile); in openDefaultAppListAndSetDefaultAppThenIsDefaultAppForPrivateSpace()
880 uninstallPackage(APP_FOR_PROFILE_APK_PATH, privateProfile); in openDefaultAppListAndSetDefaultAppThenIsDefaultAppForPrivateSpace()
/packages/modules/StatsD/tests/src/android/cts/statsd/uidmap/
DUidMapTests.java108 getDevice().uninstallPackage(MetricsUtils.DEVICE_SIDE_TEST_PACKAGE); in testChangeFromInstallation()
173 getDevice().uninstallPackage(MetricsUtils.DEVICE_SIDE_TEST_PACKAGE); in testChangeFromUninstall()
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt162 uninstallPackage(LOCATION_PACKAGE_NAME) in <lambda>()
187 uninstallPackage(LOCATION_PACKAGE_NAME) in <lambda>()
341 private fun uninstallPackage(packageName: String) { in <lambda>() method
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/
DPackageManagementUtils.kt48 fun uninstallPackage(packageName: String, requireSuccess: Boolean = true) { in uninstallPackage() method
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/src/com/android/tests/sdksandbox/host/
DSdkSandboxStorageHostTest.java93 uninstallPackage(TEST_APP_STORAGE_PACKAGE); in setUp()
104 uninstallPackage(TEST_APP_STORAGE_PACKAGE); in tearDown()
287 uninstallPackage(TEST_APP_STORAGE_PACKAGE); in testSdkDataPackageDirectory_IsDestroyedOnUninstall()
325 uninstallPackage(TEST_APP_STORAGE_PACKAGE); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
336 uninstallPackage(TEST_UNLOCK_APP_PACKAGE); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
934 uninstallPackage(TEST_UNLOCK_APP_PACKAGE); in testSdkDataSubDirectory_IsCreatedOnInstall_DeviceLocked()
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/
DDeviceAwarePermissionGrantTest.kt37 import android.permissionmultidevice.cts.PackageManagementUtils.uninstallPackage in <lambda>()
111 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in <lambda>()
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/
DMicrodroidHostTests.java421 getDevice().uninstallPackage(PACKAGE_NAME);
425 getDevice().uninstallPackage(PACKAGE_NAME);
438 getDevice().uninstallPackage(PACKAGE_NAME);
442 getDevice().uninstallPackage(PACKAGE_NAME);
1259 getDevice().uninstallPackage(PACKAGE_NAME);

12