Home
last modified time | relevance | path

Searched refs:requiredPermissions (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestPermissionsActivityBase.java84 String[] requiredPermissions, Class<?> newActivityClass) { in startPermissionActivity() argument
85 return startPermissionActivity(activity, requiredPermissions, /* isCallerSelf */ false, in startPermissionActivity()
90 String[] requiredPermissions, boolean isCallerSelf, Class<?> newActivityClass) { in startPermissionActivity() argument
91 if (!hasPermissions(activity, requiredPermissions)) { in startPermissionActivity()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java680 private void assertHasAtLeastOnePermission(String cmd, String[] requiredPermissions) { in assertHasAtLeastOnePermission() argument
681 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() local
696 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 …]