/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 93 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 …]
|
D | Permission.java | 31 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()
|
D | AppPermissionUsage.java | 169 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()
|
D | AppPermissions.java | 130 ArrayList<Permission> perms = group.getPermissions(); in addAllPermissions()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | PropertyPermissionMapping.java | 29 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/ |
D | AppPermissionsFragmentWear.java | 41 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/ui/handheld/ |
D | AppPermissionFragment.java | 61 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()
|
D | ReviewPermissionsFragment.java | 51 import com.android.packageinstaller.permission.model.Permission; 174 final Permission permission = group.getPermissions().get(j); in grantReviewedPermission() 245 ArrayList<Permission> permissions = group.getPermissions(); in logReviewPermissionsFragmentResult() 249 Permission permission = permissions.get(i); in logReviewPermissionsFragmentResult()
|
D | PermissionPreference.java | 42 import com.android.packageinstaller.permission.model.Permission; 295 List<Permission> permissions = mGroup.getPermissions(); in updateSummaryForIndividuallyControlledPermissionGroup() 298 Permission permission = permissions.get(i); in updateSummaryForIndividuallyControlledPermissionGroup()
|
D | AllAppPermissionsFragment.java | 47 import com.android.packageinstaller.permission.model.Permission; 350 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | BackupHelper.java | 50 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()
|
D | RuntimePermissionsUpgradeController.java | 34 import com.android.packageinstaller.permission.model.Permission; 282 ArrayList<Permission> permissions = permissionGroup.getPermissions(); in logRuntimePermissionUpgradeResult() 285 Permission permission = permissions.get(i); in logRuntimePermissionUpgradeResult()
|
D | PermissionControllerServiceImpl.java | 51 import com.android.packageinstaller.permission.model.Permission; 187 ArrayList<Permission> perms = group.getPermissions(); in revokePermissionGroups() 195 Permission perm = perms.get(permNum); in revokePermissionGroups() 541 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | SoftRestrictedPermissionPolicy.java | 30 import com.android.packageinstaller.permission.model.Permission; 52 public static boolean shouldShow(@NonNull PackageInfo pkg, @NonNull Permission permission) { in shouldShow()
|
D | SafetyNetLogger.java | 30 import com.android.packageinstaller.permission.model.Permission; 108 Permission permission = group.getPermissions().get(permissionNum); in buildChangedPermissionForGroup()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 48 import com.android.packageinstaller.permission.model.Permission; 454 List<Permission> permissions = mGroup.getPermissions(); in updateDetailForIndividuallyControlledPermissionGroup() 457 Permission permission = permissions.get(i); in updateDetailForIndividuallyControlledPermissionGroup()
|
D | AutoAllAppPermissionsFragment.java | 46 import com.android.packageinstaller.permission.model.Permission; 332 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/ |
D | GrantPermissionsActivity.java | 69 import com.android.packageinstaller.permission.model.Permission; 150 Permission permission = group.getPermission(permName); in addRequestedPermissions() 948 ArrayList<Permission> permissionsInGroup = group.getPermissions(); in computeAffectedPermissions()
|
/packages/apps/TV/res/raw/ |
D | third_party_licenses | 9 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/ |
D | third_party_licenses | 10789 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
|