Home
last modified time | relevance | path

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

12

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DRemovePermissionTest.java108 uninstallApp(ADVERSARIAL_PERMISSION_DEFINER_PKG_NAME, true); in cleanUpTestApps()
109 uninstallApp(ADVERSARIAL_PERMISSION_USER_PKG_NAME, true); in cleanUpTestApps()
110 uninstallApp(VICTIM_PERMISSION_DEFINER_PKG_NAME, true); in cleanUpTestApps()
111 uninstallApp(RUNTIME_PERMISSION_DEFINER_PKG_NAME, true); in cleanUpTestApps()
112 uninstallApp(RUNTIME_PERMISSION_USER_PKG_NAME, true); in cleanUpTestApps()
113 uninstallApp(INSTALL_PERMISSION_USER_PKG_NAME, true); in cleanUpTestApps()
114 uninstallApp(INSTALL_PERMISSION_DEFINER_PKG_NAME, true); in cleanUpTestApps()
115 uninstallApp(INSTALL_PERMISSION_ESCALATOR_PKG_NAME, true); in cleanUpTestApps()
141 private void uninstallApp(String pkg) throws InterruptedException { in uninstallApp() method in RemovePermissionTest
142 uninstallApp(pkg, false); in uninstallApp()
[all …]
DSharedUidPermissionsTest.java25 import static android.permission.cts.PermissionUtils.uninstallApp;
61 uninstallApp(PKG_THAT_REQUESTS_PERMISSIONS); in uninstallTestApps()
62 uninstallApp(PKG_THAT_REQUESTS_NO_PERMISSIONS); in uninstallTestApps()
135 uninstallApp(PKG_THAT_REQUESTS_PERMISSIONS); in sharedUidLoosesRuntimePermissionWhenLastAppDeclaringItGetsUninstalled()
146 uninstallApp(PKG_THAT_REQUESTS_PERMISSIONS); in sharedUidLoosesNormalPermissionWhenLastAppDeclaringItGetsUninstalled()
DRevokeSelfPermissionTest.java105 public void uninstallApp() { in uninstallApp() method in RevokeSelfPermissionTest
137 uninstallApp(); in testMultiplePermissions()
154 uninstallApp(); in testNormalPermission()
166 uninstallApp(); in testKillTriggersRevocation()
186 uninstallApp(); in testNoRevocationWhileForeground()
226 uninstallApp(); in testRevokeLocationPermission()
243 uninstallApp(); in testNoRepromptWhenUserFixed()
DNotificationListenerCheckTest.java21 import static android.permission.cts.PermissionUtils.uninstallApp;
82 uninstallApp(TEST_APP_PKG); in tearDown()
146 uninstallApp(TEST_APP_PKG); in notificationIsShownAgainAfterUninstallAndReinstall()
184 uninstallApp(TEST_APP_PKG); in removeNotificationOnUninstall()
DRevokeSawPermissionTest.kt39 fun uninstallApp() { in uninstallApp() method in android.permission.cts.RevokeSawPermissionTest
40 PermissionUtils.uninstallApp(APP_PKG_NAME) in uninstallApp()
DNotificationListenerCheckWithSafetyCenterUnsupportedTest.java20 import static android.permission.cts.PermissionUtils.uninstallApp;
65 uninstallApp(TEST_APP_PKG); in tearDown()
DPermissionFlagsTest.java37 import static android.permission.cts.PermissionUtils.uninstallApp;
85 uninstallApp(APP_PKG); in uninstallTestApp()
86 uninstallApp(APP_SYSTEM_ALERT_WINDOW_PKG); in uninstallTestApp()
DNearbyDevicesPermissionTest.java26 import static android.permission.cts.PermissionUtils.uninstallApp;
94 uninstallApp(TEST_APP_PKG); in uninstallTestApp()
95 uninstallApp(DISAVOWAL_APP_PKG); in uninstallTestApp()
DBackgroundPermissionsTest.java30 import static android.permission.cts.PermissionUtils.uninstallApp;
77 uninstallApp(APP_PKG); in uninstallTestApp()
DSplitPermissionTest.java33 import static android.permission.cts.PermissionUtils.uninstallApp;
153 uninstallApp(APP_PKG); in uninstallTestApp()
DStorageEscalationTest.kt61 fun uninstallApp() { in <lambda>() method
DRevokePermissionTest.kt116 fun uninstallApp() { in uninstallApp() method
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/
DManageStandardPermissionsFragmentTest.kt25 import android.permission.cts.PermissionUtils.uninstallApp
60 uninstallApp(LOCATION_USER_PKG) in tearDown()
61 uninstallApp(ADDITIONAL_DEFINER_PKG) in tearDown()
62 uninstallApp(ADDITIONAL_USER_PKG) in tearDown()
78 uninstallApp(packageName) in removePackageIfInstalled()
133 uninstallApp(LOCATION_USER_PKG) in groupSummaryGetsUpdatedWhenAppGetsUninstalled()
208 uninstallApp(ADDITIONAL_USER_PKG) in additionalPermissionSummaryGetUpdateWhenUserGetsUninstalled()
226 uninstallApp(ADDITIONAL_DEFINER_PKG) in additionalPermissionSummaryGetUpdateWhenDefinerGetsUninstalled()
DManageCustomPermissionsFragmentTest.kt23 import android.permission.cts.PermissionUtils.uninstallApp
97 uninstallApp(DEFINER_PKG) in tearDown()
98 uninstallApp(USER_PKG) in tearDown()
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/
DAppPermissionFragmentTest.kt23 import android.permission.cts.PermissionUtils.uninstallApp
90 uninstallApp(USER_PKG) in activityIsClosedWhenUserIsUninstalled()
97 uninstallApp(DEFINER_PKG) in activityIsClosedWhenDefinerIsUninstalled()
103 uninstallApp(DEFINER_PKG) in uninstallTestApp()
104 uninstallApp(USER_PKG) in uninstallTestApp()
DPermissionAppsFragmentTest.kt21 import android.permission.cts.PermissionUtils.uninstallApp
81 uninstallApp(userPkg) in setUp()
122 uninstallApp(userPkg) in testAppAppearanceReflectsInstallation()
146 uninstallApp(definerPkg) in tearDown()
148 uninstallApp(userPkg) in tearDown()
DAllAppPermissionsFragmentTest.kt21 import android.permission.cts.PermissionUtils.uninstallApp
110 uninstallApp(USER_PKG) in activityIsClosedWhenUserIsUninstalled()
116 uninstallApp(DEFINER_PKG) in uninstallTestApp()
117 uninstallApp(USER_PKG) in uninstallTestApp()
DTestAppUtils.kt21 import android.permission.cts.PermissionUtils.uninstallApp
69 uninstallApp(PERM_USER_PACKAGE) in installTestAppThatRequestsLocation()
70 uninstallApp(PERM_DEFINER_PACKAGE) in installTestAppThatRequestsLocation()
DCustomPermissionAppsFragmentTest.kt19 import android.permission.cts.PermissionUtils.uninstallApp
50 uninstallApp(definerApk!!) in fragmentIsClosedWhenPermissionIsRemoved()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/data/
DAttributionLabelLiveDataTest.kt24 import android.permission.cts.PermissionUtils.uninstallApp
80 uninstallApp(PKG) in uninstallAttributingApp()
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/v31/
DPermissionUsageFragmentTest.kt24 import android.permission.cts.PermissionUtils.uninstallApp
76 uninstallApp(APP) in uninstallTestApp()
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/src/com/android/adservices/tests/cts/customaudience/
DCustomAudienceTest.java334 uninstallApp(HIGH_BID_PACKAGE_NAME); in testCustomAudience_dataPurgedForUninstalledApp()
359 uninstallApp(LOW_BID_PACKAGE_NAME); in testCustomAudience_dataPurgedForUninstalledApp()
430 uninstallApp(HIGH_BID_PACKAGE_NAME); in testCustomAudience_doesNotPersistAfterAppUninstallAndReinstall()
495 uninstallApp(HIGH_BID_PACKAGE_NAME); in testCustomAudience_doesNotPersistAfterAppUninstallAndReinstall()
687 private void uninstallApp(String packageName) { in uninstallApp() method
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionPolicyTest25.kt44 fun uninstallApp() { in uninstallApp() method
DPermissionDecisionsTest.kt80 uninstallApp() in testAppUninstallRemovesDecision()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleShellCommandTest.kt78 fun uninstallApp() { in uninstallApp() method in android.app.role.cts.RoleShellCommandTest

12