/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | AppIdPermissionMigration.kt | 117 if (legacyPermissionState.isGranted) { in <lambda>() 123 if (legacyPermissionState.isGranted) { in <lambda>() 133 if (legacyPermissionState.isGranted) PermissionFlags.RUNTIME_GRANTED else 0 in <lambda>() 146 val oldGrantState = legacyPermissionState.isGranted in <lambda>()
|
D | PermissionService.kt | 676 setRuntimePermissionGranted(packageName, userId, permissionName, deviceId, isGranted = true) in <lambda>() 691 isGranted = false, in <lambda>() 705 isGranted = false, in <lambda>() 719 isGranted: Boolean, in <lambda>() 723 val methodName = if (isGranted) "grantRuntimePermission" else "revokeRuntimePermission" in <lambda>() 726 if (isGranted) { in <lambda>() 740 (if (isGranted) "" else "skipKillUid = $skipKillUid, reason = $revokeReason") + in <lambda>() 760 if (isGranted) { in <lambda>() 814 isGranted, in <lambda>() 858 isGranted = true, in <lambda>() [all …]
|
D | PermissionFlags.kt | 424 fun updateRuntimePermissionGranted(flags: Int, isGranted: Boolean): Int = in updateRuntimePermissionGranted() 425 if (isGranted) flags or RUNTIME_GRANTED else flags andInv RUNTIME_GRANTED in updateRuntimePermissionGranted()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbUserPermissionManager.java | 275 void setDevicePersistentPermission(@NonNull UsbDevice device, int uid, boolean isGranted) { in setDevicePersistentPermission() argument 287 isChanged = permissionsForDevice.valueAt(idx) != isGranted; in setDevicePersistentPermission() 288 permissionsForDevice.setValueAt(idx, isGranted); in setDevicePersistentPermission() 291 permissionsForDevice.put(uid, isGranted); in setDevicePersistentPermission() 301 boolean isGranted) { in setAccessoryPersistentPermission() argument 314 isChanged = permissionsForAccessory.valueAt(idx) != isGranted; in setAccessoryPersistentPermission() 315 permissionsForAccessory.setValueAt(idx, isGranted); in setAccessoryPersistentPermission() 318 permissionsForAccessory.put(uid, isGranted); in setAccessoryPersistentPermission() 330 boolean isGranted; in readPermission() 348 isGranted = isGrantedString.equals(Boolean.TRUE.toString()); in readPermission() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | UidPermissionState.java | 201 return permissionState != null && permissionState.isGranted(); in isPermissionGranted() 220 if (permissionState.isGranted()) { in getGrantedPermissions() 340 if (!permissionState.isGranted()) { in computeGids()
|
D | PermissionMigrationHelper.java | 100 public boolean isGranted() { in isGranted() method in PermissionMigrationHelper.LegacyPermissionState
|
D | PermissionState.java | 66 public boolean isGranted() { in isGranted() method in PermissionState
|
D | PermissionManagerServiceImpl.java | 2835 if (origPermState != null && origPermState.isGranted() 2870 if ((origPermState != null && origPermState.isGranted())) { 2878 if (origPermState == null || !origPermState.isGranted()) { 3073 boolean isGranted = false; 3080 if (!isGranted) { 3084 isGranted = true; 3087 if (!isGranted) { 3093 if (isGranted) { 3677 final boolean isGranted; 3690 isGranted = uidState.isPermissionGranted(permissionName); [all …]
|
D | PermissionMigrationHelperImpl.java | 164 permState.isGranted(), permState.getFlags())); in toLegacyPermissionStates()
|
D | LegacyPermissionState.java | 311 public boolean isGranted() { in isGranted() method in LegacyPermissionState.PermissionState
|
D | DefaultPermissionGrantPolicy.java | 296 public boolean isGranted(@NonNull String permission, @NonNull PackageInfo pkg, 486 || !pm.isGranted(Manifest.permission.READ_PRIVILEGED_PHONE_STATE, in grantPermissionsToSysComponentsAndPrivApps() 488 || !pm.isGranted(Manifest.permission.READ_PHONE_STATE, pkg, in grantPermissionsToSysComponentsAndPrivApps() 1412 if (!pm.isGranted(permission, pkg, user)) { in grantRuntimePermissions() 1668 abstract boolean isGranted(@NonNull String permission, @NonNull PackageInfo pkg, in isGranted() method in DefaultPermissionGrantPolicy.PackageManagerWrapper 1881 public boolean isGranted(@NonNull String permission, @NonNull PackageInfo pkg, in isGranted() method in DefaultPermissionGrantPolicy.DelayingPackageManagerCache
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 740 boolean isGranted = false; in enforceAnyPermissionGranted() 743 isGranted = true; in enforceAnyPermissionGranted() 748 if (isGranted) return; in enforceAnyPermissionGranted() 782 boolean isGranted = false; in enforceAnyPermissionGrantedOrCarrierPrivileges() 785 isGranted = true; in enforceAnyPermissionGrantedOrCarrierPrivileges() 790 if (isGranted) return; in enforceAnyPermissionGrantedOrCarrierPrivileges()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | PermissionsSummaryHelper.java | 43 if (permission.isGranted()) { in getPermissionSummary()
|
/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 | 68 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
|
D | PermissionManager.java | 2071 public boolean isGranted() { in isGranted() method in PermissionManager.PermissionState
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppPermissionTracker.java | 148 if (!state.isGranted()) { in handlePermissionsInit() 250 final boolean granted = states[i].isGranted(); in handlePermissionsChangedLocked() 323 boolean isGranted() { in isGranted() method in AppPermissionTracker.UidGrantedPermissionState
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioEffect.h | 301 virtual void onControlStatusChanged([[maybe_unused]] bool isGranted) {} in onControlStatusChanged() argument
|
/frameworks/av/media/libaudioclient/ |
D | AudioEffect.cpp | 194 void onControlStatusChanged(bool isGranted) override { in onControlStatusChanged() argument 195 mCallback(AudioEffect::EVENT_CONTROL_STATUS_CHANGED, mUser, &isGranted); in onControlStatusChanged()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 988 boolean isGranted = mPackageManager.checkPermission(permissionName, packageName) in shouldGrantAppOp() 990 if (!isGranted) { in shouldGrantAppOp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 1212 if (permission.isGranted()) {
|
D | Settings.java | 5766 pw.print(": granted="); pw.print(permissionState.isGranted()); 5838 permissionState != null && permissionState.isGranted()); 6253 permissionState.isGranted(), permissionState.getFlags()); 6352 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-wear-profile | 5099 HPLcom/android/server/am/AppPermissionTracker$UidGrantedPermissionState;->isGranted()Z 20352 PLcom/android/server/pm/permission/DefaultPermissionGrantPolicy$1;->isGranted(Ljava/lang/String;Lan… 20456 PLcom/android/server/pm/permission/LegacyPermissionState$PermissionState;->isGranted()Z
|
/frameworks/base/core/api/ |
D | system-current.txt | 4520 method @Deprecated public boolean isGranted(); 11585 …gedApi("android.permission.flags.device_aware_permission_apis_enabled") public boolean isGranted(); 11600 method public boolean isGranted();
|