Home
last modified time | relevance | path

Searched refs:Permission (Results 1 – 22 of 22) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java93 private final ArrayMap<String, Permission> mPermissions = new ArrayMap<>();
238 ArrayMap<String, Permission> allPermissions = new ArrayMap<>(); in create()
288 Permission permission = new Permission(requestedPermission, requestedPermissionInfo, in create()
305 Permission permission = allPermissions.valueAt(i); in create()
308 Permission backgroundPermission = allPermissions.get( in create()
330 Permission permission = allPermissions.valueAt(i); in create()
442 Permission permission = mPermissions.valueAt(i); in isReviewRequired()
458 Permission permission = mPermissions.valueAt(i); in isUserSensitive()
469 Permission permission = mPermissions.valueAt(i); in unsetReviewRequired()
483 Permission permission = mPermissions.valueAt(i); in hasGrantedByDefaultPermission()
[all …]
DPermission.java31 public final class Permission { class
42 private Permission mBackgroundPermission;
43 private ArrayList<Permission> mForegroundPermissions;
46 public Permission(String name, @NonNull PermissionInfo permissionInfo, boolean granted, in Permission() method in Permission
66 public void addForegroundPermissions(Permission foregroundPermission) { in addForegroundPermissions()
78 public void setBackgroundPermission(Permission backgroundPermission) { in setBackgroundPermission()
216 public Permission getBackgroundPermission() { in getBackgroundPermission()
224 public ArrayList<Permission> getForegroundPermissions() { in getForegroundPermissions()
DAppPermissionUsage.java169 final ArrayList<Permission> permissions = mGroup.getPermissions(); in isRunning()
172 final Permission permission = permissions.get(i); in isRunning()
188 final ArrayList<Permission> permissions = mGroup.getPermissions(); in extractAggregate()
191 final Permission permission = permissions.get(i); in extractAggregate()
203 final ArrayList<Permission> permissions = mGroup.getPermissions(); in lastAccessAggregate()
206 final Permission permission = permissions.get(permissionNum); in lastAccessAggregate()
DAppPermissions.java130 ArrayList<Permission> perms = group.getPermissions(); in addAllPermissions()
/packages/services/Car/car-lib/src/com/android/car/internal/
DPropertyPermissionMapping.java29 private static final Permission VENDOR_PERMISION =
30 Permission.of(Car.PERMISSION_VENDOR_EXTENSION);
32 private final SparseArray<Permission> mPermissions = new SparseArray<>();
170 final Permission p = getPermission(propId); in getReadPermission()
179 final Permission p = getPermission(propId); in getWritePermission()
184 private Permission getPermission(int propId) { in getPermission()
194 map(Permission.of(readPermission, writePermission), propIds); in map()
198 map(Permission.of(readPermission), propIds); in map()
201 private void map(Permission p, Integer[] propIds) { in map()
207 private static class Permission { class in PropertyPermissionMapping
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java41 import com.android.packageinstaller.permission.model.Permission;
229 Permission current = group.getPermissions().get(i); in createSwitchPreferenceForPermission()
242 final Permission appPerm = getPermissionFromGroup(group, perm.name); in createSwitchPreferenceForPermission()
284 private static Permission getPermissionFromGroup(AppPermissionGroup group, String permName) { in getPermissionFromGroup()
288 Permission currentPerm = group.getPermissions().get(i); in getPermissionFromGroup()
391 for(Permission perm : group.getPermissions()) { in getPermissionInfosFromGroup()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DRuntimePermissionsUpgradeController.java35 import com.android.packageinstaller.permission.model.Permission;
302 final Permission perm = group.getPermission( in onUpgradeLocked()
326 ArrayList<Permission> permissions = permissionGroup.getPermissions(); in logRuntimePermissionUpgradeResult()
333 Permission permission = permissions.get(i); in logRuntimePermissionUpgradeResult()
DBackupHelper.java50 import com.android.packageinstaller.permission.model.Permission;
452 private static boolean isPermGrantedIncludingAppOp(@NonNull Permission perm) { in isPermGrantedIncludingAppOp()
465 private static @Nullable BackupPermissionState fromPermission(@NonNull Permission perm, in fromPermission()
507 List<Permission> perms = group.getPermissions(); in fromPermissionGroup()
572 Permission perm = group.getPermission(mPermissionName); in restore()
DPermissionControllerServiceImpl.java51 import com.android.packageinstaller.permission.model.Permission;
186 ArrayList<Permission> perms = group.getPermissions(); in revokePermissionGroups()
194 Permission perm = perms.get(permNum); in revokePermissionGroups()
539 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionFragment.java61 import com.android.packageinstaller.permission.model.Permission;
342 ArrayList<Permission> permissions = mGroup.getPermissions(); in createPermissionSnapshot()
346 Permission permission = permissions.get(i); in createPermissionSnapshot()
361 Permission permission = permissions.get(i); in createPermissionSnapshot()
377 Permission permission = mGroup.getPermission(permissionState.permissionName); in logPermissionChanges()
628 List<Permission> permissions = mGroup.getPermissions(); in updateDetailForIndividuallyControlledPermissionGroup()
631 Permission permission = permissions.get(i); in updateDetailForIndividuallyControlledPermissionGroup()
DReviewPermissionsFragment.java51 import com.android.packageinstaller.permission.model.Permission;
175 final Permission permission = group.getPermissions().get(j); in grantReviewedPermission()
249 ArrayList<Permission> permissions = group.getPermissions(); in logReviewPermissionsFragmentResult()
253 Permission permission = permissions.get(i); in logReviewPermissionsFragmentResult()
DPermissionPreference.java42 import com.android.packageinstaller.permission.model.Permission;
295 List<Permission> permissions = mGroup.getPermissions(); in updateSummaryForIndividuallyControlledPermissionGroup()
298 Permission permission = permissions.get(i); in updateSummaryForIndividuallyControlledPermissionGroup()
DAllAppPermissionsFragment.java47 import com.android.packageinstaller.permission.model.Permission;
350 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DSoftRestrictedPermissionPolicy.java30 import com.android.packageinstaller.permission.model.Permission;
52 public static boolean shouldShow(@NonNull PackageInfo pkg, @NonNull Permission permission) { in shouldShow()
DSafetyNetLogger.java25 import com.android.packageinstaller.permission.model.Permission;
102 Permission permission = group.getPermissions().get(permissionNum); in buildChangedPermissionForGroup()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java48 import com.android.packageinstaller.permission.model.Permission;
454 List<Permission> permissions = mGroup.getPermissions(); in updateDetailForIndividuallyControlledPermissionGroup()
457 Permission permission = permissions.get(i); in updateDetailForIndividuallyControlledPermissionGroup()
DAutoAllAppPermissionsFragment.java46 import com.android.packageinstaller.permission.model.Permission;
332 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference()
/packages/modules/DnsResolver/
DNOTICE193 Permission to use, copy, modify, and distribute this software for any
309 Permission to use, copy, modify, and distribute this software for any
326 Permission to use, copy, modify, and distribute this software for any
343 Permission to use, copy, modify, and distribute this software for any
360 Permission to use, copy, modify, and/or distribute this software for any
376 Permission to use, copy, modify, and distribute this software for any
Dstats.proto228 SYS_EACCES = 13; // Permission denied
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java69 import com.android.packageinstaller.permission.model.Permission;
150 Permission permission = group.getPermission(permName); in addRequestedPermissions()
946 ArrayList<Permission> permissionsInGroup = group.getPermissions(); in computeAffectedPermissions()
/packages/apps/TV/res/raw/
Dthird_party_licenses9 Permission is hereby granted, free of charge, to any person obtaining a copy
3372 Permission is hereby granted, free of charge, to any person obtaining
3416 Permission is hereby granted, free of charge, to any person obtaining
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses10789 Permission is hereby granted, free of charge, to any person obtaining a copy
10894 Permission is hereby granted, free of charge, to any person obtaining a copy
10950 Permission is hereby granted, free of charge, to any person obtaining