Home
last modified time | relevance | path

Searched refs:isGranted (Results 1 – 9 of 9) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DStandalonePreviewActivity.java97 boolean isGranted = permissions.length > 0 in onRequestPermissionsResult()
102 mUserEventLogger.logStandalonePreviewStorageDialogApproved(isGranted); in onRequestPermissionsResult()
105 if (!isGranted) { in onRequestPermissionsResult()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionFragment.java387 boolean isGranted = permission.isGrantedIncludingAppOp(); in logPermissionChanges()
389 if (wasGranted != isGranted) { in logPermissionChanges()
391 permissionState.permissionName, isGranted); in logPermissionChanges()
397 long sessionId, long changeId, String permissionName, boolean isGranted) { in logAppPermissionFragmentActionReported() argument
400 permissionName, isGranted); in logAppPermissionFragmentActionReported()
404 + permissionName + " isGranted=" + isGranted); in logAppPermissionFragmentActionReported()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java801 if (!permission.isGranted()) { in grantRuntimePermissions()
816 if (!permission.isGranted()) { in grantRuntimePermissions()
967 if (permission.isGranted()) { in revokeRuntimePermissions()
990 if (!permission.isGranted()) { in revokeRuntimePermissions()
1231 if (permission.isGranted()) { in persistChanges()
DPermission.java126 public boolean isGranted() { in isGranted() method in Permission
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DBackupHelper.java385 private BackupPermissionState(@NonNull String permissionName, boolean isGranted, in BackupPermissionState() argument
388 mIsGranted = isGranted; in BackupPermissionState()
453 return perm.isGranted() && (!perm.affectsAppOp() || perm.isAppOpAllowed()); in isPermGrantedIncludingAppOp()
DRuntimePermissionPresenterServiceLegacyImpl.java45 permission.isGranted(), permission.isStandard())); in onGetAppPermissions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateSmsPremBridge.java81 public boolean isGranted() { in isGranted() method in AppStateSmsPremBridge.SmsState
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateSmsPremBridge.java81 public boolean isGranted() { in isGranted() method in AppStateSmsPremBridge.SmsState
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java230 if (!current.isGranted() && !current.isUserFixed()) { in createSwitchPreferenceForPermission()