Home
last modified time | relevance | path

Searched refs:installApp (Results 1 – 7 of 7) 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/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/tests/tests/permission/src/android/permission/cts/
DPermissionGroupChange.java131 private void installApp(String apk) { in installApp() method in PermissionGroupChange
156 installApp("CtsAppThatRequestsPermissionAandB"); in permissionGroupShouldNotBeAutoGrantedIfNewMember()
165 installApp("CtsAppThatRequestsPermissionAandC"); in permissionGroupShouldNotBeAutoGrantedIfNewMember()
DPermissionControllerTest.java95 public static void installApp() { in installApp() method in PermissionControllerTest
/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.java135 public void installApp() throws Exception { in installApp() method in RoleManagerTest