Searched refs:requiredPermissions (Results 1 – 2 of 2) sorted by relevance
84 String[] requiredPermissions, Class<?> newActivityClass) { in startPermissionActivity() argument85 return startPermissionActivity(activity, requiredPermissions, /* isCallerSelf */ false, in startPermissionActivity()90 String[] requiredPermissions, boolean isCallerSelf, Class<?> newActivityClass) { in startPermissionActivity() argument91 if (!hasPermissions(activity, requiredPermissions)) { in startPermissionActivity()
680 private void assertHasAtLeastOnePermission(String cmd, String[] requiredPermissions) { in assertHasAtLeastOnePermission() argument681 for (String requiredPermission : requiredPermissions) { in assertHasAtLeastOnePermission()684 if (requiredPermissions.length == 1) { in assertHasAtLeastOnePermission()686 + requiredPermissions[0]); in assertHasAtLeastOnePermission()690 + Arrays.toString(requiredPermissions)); in assertHasAtLeastOnePermission()695 String[] requiredPermissions = USER_BUILD_COMMAND_TO_PERMISSIONS_MAP.get(cmd); in exec() local696 if (requiredPermissions == null) { in exec()699 requiredPermissions = new String[] { requiredPermission }; in exec()705 + Arrays.toString(requiredPermissions)); in exec()707 if (Build.IS_USER && requiredPermissions == null) { in exec()[all …]