Home
last modified time | relevance | path

Searched refs:installApp (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java204 installApp(APK_USES_SMS_CALL_LOG_22, whitelistedPermissions, null /*grantedPermissions*/); in testSomeRestrictedPermissionsWhitelistedAtInstall22()
214 installApp(APK_USES_SMS_CALL_LOG_22, Collections.emptySet(), in testNoneRestrictedPermissionWhitelistedAtInstall22()
224 installApp(APK_USES_LOCATION_29, null, null); in testLocationBackgroundPermissionWhitelistedAtInstall29()
231 installApp(APK_USES_LOCATION_29, Collections.EMPTY_SET, null); in testLocationBackgroundPermissionNotWhitelistedAtInstall29()
238 installApp(APK_USES_LOCATION_22, null, null); in testLocationBackgroundPermissionWhitelistedAtInstall22()
245 installApp(APK_USES_LOCATION_22, Collections.EMPTY_SET, null); in testLocationBackgroundPermissionNotWhitelistedAtInstall22()
275 installApp(APK_USES_STORAGE_DEFAULT_29, Collections.emptySet(), grantedPermissions); in testCanGrantSoftRestrictedNotWhitelistedPermissions()
317 installApp(APK_USES_STORAGE_DEFAULT_22, null /*whitelistedPermissions*/); in testStorageTargetingSdk22DefaultWhitelistedHasFullAccess()
327 installApp(APK_USES_STORAGE_OPT_IN_22, null /*whitelistedPermissions*/); in testStorageTargetingSdk22OptInWhitelistedHasIsolatedAccess()
337 installApp(APK_USES_STORAGE_DEFAULT_28, null /*whitelistedPermissions*/); in testStorageTargetingSdk28DefaultWhitelistedHasFullAccess()
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DRemovePermissionTest.java82 private void installApp(String apk) throws InterruptedException { in installApp() method in RemovePermissionTest
108 installApp("CtsAdversarialPermissionDefinerApp"); in permissionShouldBeRevokedIfRemoved()
109 installApp("CtsAdversarialPermissionUserApp"); in permissionShouldBeRevokedIfRemoved()
117 installApp("CtsVictimPermissionDefinerApp"); in permissionShouldBeRevokedIfRemoved()
125 installApp("CtsRuntimePermissionDefinerApp"); in permissionShouldRemainGrantedAfterAppUpdate()
126 installApp("CtsRuntimePermissionUserApp"); in permissionShouldRemainGrantedAfterAppUpdate()
133 installApp("CtsRuntimePermissionDefinerApp"); in permissionShouldRemainGrantedAfterAppUpdate()
DPermissionGroupChange.java138 private void installApp(String apk) { in installApp() method in PermissionGroupChange
163 installApp("CtsAppThatRequestsPermissionAandB"); in permissionGroupShouldNotBeAutoGrantedIfNewMember()
172 installApp("CtsAppThatRequestsPermissionAandC"); in permissionGroupShouldNotBeAutoGrantedIfNewMember()
DPermissionControllerTest.java95 public static void installApp() { in installApp() method in PermissionControllerTest
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DInstantAppUserTest.java181 installApp(USER_APK); in testInstallFull()
226 installApp(NORMAL_APK); in installTestPackages()
227 installApp(IMPLICIT_APK); in installTestPackages()
229 installApp(USER_TEST_APK); in installTestPackages()
246 private void installApp(String apk) throws Exception { in installApp() method in InstantAppUserTest
DEphemeralTest.java288 installApp(NORMAL_APK, "com.android.cts.normalapp"); in testEphemeralGetInstaller02()
298 installApp(NORMAL_APK, "com.android.cts.normalapp"); in testEphemeralGetInstaller03()
540 private void installApp(String apk) throws Exception { in installApp() method in EphemeralTest
546 private void installApp(String apk, String installer) throws Exception { in installApp() method in EphemeralTest
574 installApp(NORMAL_APK); in installTestPackages()
575 installApp(UNEXPOSED_APK); in installTestPackages()
576 installApp(IMPLICIT_APK); in installTestPackages()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java74 private void installApp(boolean installAsInstantApp) in installApp() method in TestUsbTest
123 installApp(true); in testInstantAppsCannotReadSerial()
134 installApp(false); in testUsbSerialReadOnDeviceMatches()
/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java150 public void installApp() throws Exception { in installApp() method in RoleManagerTest