Home
last modified time | relevance | path

Searched refs:getPermissions (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestPermissionsActivity.java40 protected String[] getPermissions() { in getPermissions() method in RequestPermissionsActivity
41 return getPermissions(getPackageManager()); in getPermissions()
48 return hasPermissions(context, getPermissions(context.getPackageManager())); in hasRequiredPermissions()
53 getPermissions(activity.getPackageManager()), in startPermissionActivityIfNeeded()
57 private static String[] getPermissions(PackageManager packageManager) { in getPermissions() method in RequestPermissionsActivity
DRequestPermissionsActivityBase.java56 protected abstract String[] getPermissions(); in getPermissions() method in RequestPermissionsActivityBase
121 return Arrays.asList(getPermissions()).contains(p); in isPermissionRequired()
129 for (String permission : getPermissions()) { in requestPermissions()
DRequestImportVCardPermissionsActivity.java37 protected String[] getPermissions() { in getPermissions() method in RequestImportVCardPermissionsActivity
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java226 final int permissionCount = group.getPermissions().size(); in createSwitchPreferenceForPermission()
229 Permission current = group.getPermissions().get(i); in createSwitchPreferenceForPermission()
285 final int permissionCount = group.getPermissions().size(); in getPermissionFromGroup()
288 Permission currentPerm = group.getPermissions().get(i); in getPermissionFromGroup()
390 ArrayList<PermissionInfo> permInfos = new ArrayList<>(group.getPermissions().size()); in getPermissionInfosFromGroup()
391 for(Permission perm : group.getPermissions()) { in getPermissionInfosFromGroup()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionUsage.java169 final ArrayList<Permission> permissions = mGroup.getPermissions(); in isRunning()
188 final ArrayList<Permission> permissions = mGroup.getPermissions(); in extractAggregate()
203 final ArrayList<Permission> permissions = mGroup.getPermissions(); in lastAccessAggregate()
DAppPermissions.java130 ArrayList<Permission> perms = group.getPermissions(); in addAllPermissions()
DAppPermissionGroup.java354 if (group.getPermissions().isEmpty()) { in create()
1062 public ArrayList<Permission> getPermissions() { in getPermissions() method in AppPermissionGroup
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DSafetyNetLogger.java100 int permissionCount = group.getPermissions().size(); in buildChangedPermissionForGroup()
102 Permission permission = group.getPermissions().get(permissionNum); in buildChangedPermissionForGroup()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java348 final int permissionCount = appPermissionGroup.getPermissions().size(); in MyMultiTargetSwitchPreference()
350 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference()
364 } else if (appPermissionGroup.getPermissions().size() == grantedCount) { in MyMultiTargetSwitchPreference()
DReviewPermissionsFragment.java173 final int permissionCount = group.getPermissions().size(); in grantReviewedPermission()
175 final Permission permission = group.getPermissions().get(j); in grantReviewedPermission()
249 ArrayList<Permission> permissions = group.getPermissions(); in logReviewPermissionsFragmentResult()
DAppPermissionFragment.java342 ArrayList<Permission> permissions = mGroup.getPermissions(); in createPermissionSnapshot()
357 permissions = permissionGroup.getPermissions(); in createPermissionSnapshot()
628 List<Permission> permissions = mGroup.getPermissions(); in updateDetailForIndividuallyControlledPermissionGroup()
DManageStandardPermissionsFragment.java80 List<PermissionGroup> groups = getPermissions().getGroups(); in updatePermissionsUi()
DManagePermissionsFragment.java96 protected PermissionGroups getPermissions() { in getPermissions() method in ManagePermissionsFragment
DPermissionControlPreference.java70 intent.putExtra(Intent.EXTRA_PERMISSION_NAME, group.getPermissions().get(0).getName()); in PermissionControlPreference()
DPermissionPreference.java295 List<Permission> permissions = mGroup.getPermissions(); in updateSummaryForIndividuallyControlledPermissionGroup()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java330 final int permissionCount = appPermissionGroup.getPermissions().size(); in MyMultiTargetSwitchPreference()
332 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference()
346 } else if (appPermissionGroup.getPermissions().size() == grantedCount) { in MyMultiTargetSwitchPreference()
DAutoManageStandardPermissionsFragment.java48 List<PermissionGroup> groups = getPermissions().getGroups(); in updatePermissionsUi()
DAutoManagePermissionsFragment.java94 protected PermissionGroups getPermissions() { in getPermissions() method in AutoManagePermissionsFragment
DAutoAppPermissionsFragment.java251 intent.putExtra(Intent.EXTRA_PERMISSION_NAME, group.getPermissions().get(0).getName()); in createPermissionPreference()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DPermissionSet.java52 public List<String> getPermissions() { in getPermissions() method in PermissionSet
DRoles.java649 permissions.addAll(permissionSet.getPermissions()); in parsePermissions()
925 List<String> permissions = permissionSet.getPermissions(); in validateParseResult()
951 List<String> permissions = role.getPermissions(); in validateParseResult()
DRole.java242 public List<String> getPermissions() { in getPermissions() method in Role
629 permissionsToRevoke.removeAll(role.getPermissions()); in revoke()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DRuntimePermissionsUpgradeController.java326 ArrayList<Permission> permissions = permissionGroup.getPermissions(); in logRuntimePermissionUpgradeResult()
DBackupHelper.java507 List<Permission> perms = group.getPermissions(); in fromPermissionGroup()
DPermissionControllerServiceImpl.java186 ArrayList<Permission> perms = group.getPermissions(); in revokePermissionGroups()

12