/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbUserPermissionManager.java | 250 void setDevicePersistentPermission(@NonNull UsbDevice device, int uid, boolean isGranted) { in setDevicePersistentPermission() argument 262 isChanged = permissionsForDevice.valueAt(idx) != isGranted; in setDevicePersistentPermission() 263 permissionsForDevice.setValueAt(idx, isGranted); in setDevicePersistentPermission() 266 permissionsForDevice.put(uid, isGranted); in setDevicePersistentPermission() 276 boolean isGranted) { in setAccessoryPersistentPermission() argument 289 isChanged = permissionsForAccessory.valueAt(idx) != isGranted; in setAccessoryPersistentPermission() 290 permissionsForAccessory.setValueAt(idx, isGranted); in setAccessoryPersistentPermission() 293 permissionsForAccessory.put(uid, isGranted); in setAccessoryPersistentPermission() 305 boolean isGranted; in readPermission() 323 isGranted = isGrantedString.equals(Boolean.TRUE.toString()); in readPermission() [all …]
|
/frameworks/base/apex/permission/tests/java/com/android/permission/persistence/ |
D | RuntimePermissionsPersistenceTest.kt | 93 assertThat(persistedPermissionState.isGranted).isEqualTo(permissionState.isGranted) in testReadWrite()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionsState.java | 346 return permissionData != null && permissionData.isGranted(userId); in hasPermission() 801 public boolean isGranted(int userId) { in isGranted() method in PermissionsState.PermissionData 822 if (isGranted(userId)) { in grant() 845 if (!isGranted(userId)) { in revoke() 954 public boolean isGranted() { in isGranted() method in PermissionsState.PermissionState
|
D | PermissionManagerService.java | 2790 if (permState != null && permState.isGranted() in restorePermissionState() 2822 if (permState != null && permState.isGranted()) { in restorePermissionState() 2925 if (permState != null && permState.isGranted() in restorePermissionState() 3150 boolean isGranted = false; in inheritPermissionStateToNewImplicitPermissionLocked() 3158 if (!isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked() 3162 isGranted = true; in inheritPermissionStateToNewImplicitPermissionLocked() 3165 if (!isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked() 3171 if (isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked() 3879 final boolean isGranted = permissionsState.hasPermission(permissionName, in setWhitelistedRestrictedPermissionsForUsers() 3881 if (!isWhitelisted && isGranted) { in setWhitelistedRestrictedPermissionsForUsers()
|
D | DefaultPermissionGrantPolicy.java | 257 public boolean isGranted(@NonNull String permission, @NonNull PackageInfo pkg, 1287 if (!pm.isGranted(permission, pkg, user)) { in grantRuntimePermissions() 1536 abstract boolean isGranted(@NonNull String permission, @NonNull PackageInfo pkg, in isGranted() method in DefaultPermissionGrantPolicy.PackageManagerWrapper 1732 public boolean isGranted(@NonNull String permission, @NonNull PackageInfo pkg, in isGranted() method in DefaultPermissionGrantPolicy.DelayingPackageManagerCache
|
/frameworks/base/core/java/android/content/pm/permission/ |
D | RuntimePermissionPresentationInfo.java | 73 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
|
/frameworks/base/core/java/android/permission/ |
D | RuntimePermissionPresentationInfo.java | 70 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | PermissionsSummaryHelper.java | 44 if (permission.isGranted()) { in getPermissionSummary()
|
/frameworks/base/apex/permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsState.java | 190 public boolean isGranted() { in isGranted() method in RuntimePermissionsState.PermissionState
|
D | RuntimePermissionsPersistenceImpl.java | 246 permissionState.isGranted() && (permissionState.getFlags() in serializePermissions()
|
/frameworks/base/apex/permission/service/api/ |
D | system-server-current.txt | 24 method public boolean isGranted();
|
/frameworks/base/services/api/ |
D | current.txt | 24 method public boolean isGranted();
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 750 boolean isGranted = mPackageManager.checkPermission(permissionName, packageName) in shouldGrantAppOp() 752 if (!isGranted) { in shouldGrantAppOp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 2268 serializer.attribute(null, ATTR_GRANTED, String.valueOf(permissionState.isGranted())); in writePermissionsLPr() 5195 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpRuntimePermissionsLPr() 5237 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpInstallPermissionsLPr() 5520 permissionState.isGranted(), permissionState.getFlags()); in getPermissionsFromPermissionsState() 5634 boolean granted = permission.isGranted();
|
/frameworks/base/services/ |
D | art-profile-boot | 16 Lcom/android/server/pm/permission/PermissionsState$PermissionData;->isGranted(I)Z 213 Lcom/android/server/pm/permission/PermissionsState$PermissionState;->isGranted()Z
|
D | art-profile | 27286 HPLcom/android/server/pm/permission/DefaultPermissionGrantPolicy$1;->isGranted(Ljava/lang/String;La… 27307 …m/permission/DefaultPermissionGrantPolicy$DelayingPackageManagerCache;->isGranted(Ljava/lang/Strin… 27666 HSPLcom/android/server/pm/permission/PermissionsState$PermissionData;->isGranted(I)Z 27680 HSPLcom/android/server/pm/permission/PermissionsState$PermissionState;->isGranted()Z
|
/frameworks/base/api/ |
D | test-current.txt | 3162 method public boolean isGranted();
|
D | system-current.txt | 2307 method @Deprecated public boolean isGranted(); 8812 method public boolean isGranted();
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 2255 method @Deprecated public boolean isGranted(); 7703 method public boolean isGranted();
|