/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/ |
D | HostsideSelfDeclaredNetworkCapabilitiesCheckTest.java | 41 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()
|
D | HostsideNetworkTestCase.java | 48 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()
|
D | HostsideVpnTests.java | 29 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/ |
D | HostsideNetworkPolicyTestCase.java | 58 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()
|
D | HostsideNetworkCallbackTests.java | 33 uninstallPackage(TEST_APP2_PKG, false); in setUp() 39 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideRestrictBackgroundNetworkTests.java | 37 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()
|
D | HostsideNetworkPolicyManagerTests.java | 30 uninstallPackage(TEST_APP2_PKG, false); in setUp() 36 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideDefaultNetworkRestrictionsTests.java | 40 uninstallPackage(TEST_APP2_PKG, false); in setUp() 46 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideConnOnActivityStartTest.java | 38 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/ |
D | SdkSandboxDataIsolationHostTest.java | 77 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()
|
D | CtsSdkSandboxStorageHostTest.java | 59 uninstallPackage(TEST_APP_PACKAGE_NAME); in setUp() 64 uninstallPackage(TEST_APP_PACKAGE_NAME); in tearDown()
|
D | SdkSandboxMediaHostTest.java | 61 uninstallPackage(TEST_APP_PACKAGE_NAME); in setUp() 66 uninstallPackage(TEST_APP_PACKAGE_NAME); in tearDown()
|
/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/ |
D | FastDeployTest.java | 49 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/ |
D | PermissionPolicyTest25.kt | 39 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/ |
D | SdkSandboxMetricsHostTest.java | 61 uninstallPackage(TEST_APP_PACKAGE); in tearDown() 62 uninstallPackage(SECONDARY_TEST_APP_PACKAGE); in tearDown()
|
/packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/ |
D | SdkExtensionsHostTest.java | 91 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/ |
D | RoleShellCommandTest.kt | 79 uninstallPackage(APP_PACKAGE_NAME) in uninstallApp() 182 private fun uninstallPackage(packageName: String) { in uninstallPackage() method
|
D | RoleControllerManagerTest.kt | 61 uninstallPackage(APP_PACKAGE_NAME) in uninstallApp() 152 private fun uninstallPackage(packageName: String) { in uninstallPackage() method
|
D | RoleManagerTest.java | 216 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/ |
D | UidMapTests.java | 108 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/ |
D | AppDataSharingUpdatesTest.kt | 162 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/ |
D | PackageManagementUtils.kt | 48 fun uninstallPackage(packageName: String, requireSuccess: Boolean = true) { in uninstallPackage() method
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/src/com/android/tests/sdksandbox/host/ |
D | SdkSandboxStorageHostTest.java | 93 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/ |
D | DeviceAwarePermissionGrantTest.kt | 37 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/ |
D | MicrodroidHostTests.java | 421 getDevice().uninstallPackage(PACKAGE_NAME); 425 getDevice().uninstallPackage(PACKAGE_NAME); 438 getDevice().uninstallPackage(PACKAGE_NAME); 442 getDevice().uninstallPackage(PACKAGE_NAME); 1259 getDevice().uninstallPackage(PACKAGE_NAME);
|