Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java270 if (mGroup.areRuntimePermissionsGranted()) { in updateUi()
273 && mGroup.getBackgroundPermissions().areRuntimePermissionsGranted())) { in updateUi()
436 return isForegroundPolicyFixed() && !mGroup.areRuntimePermissionsGranted(); in isForegroundDisabledByPolicy()
510 if (backgroundGroup.areRuntimePermissionsGranted()) { in updateDetailForFixedByPolicyPermissionGroup()
532 if (backgroundGroup.areRuntimePermissionsGranted()) { in updateDetailForFixedByPolicyPermissionGroup()
607 if (!mGroup.areRuntimePermissionsGranted()) { in requestChange()
615 if (!mGroup.getBackgroundPermissions().areRuntimePermissionsGranted()) { in requestChange()
626 && mGroup.areRuntimePermissionsGranted()) { in requestChange()
633 && mGroup.getBackgroundPermissions().areRuntimePermissionsGranted()) { in requestChange()
647 && mGroup.areRuntimePermissionsGranted()) { in requestChange()
[all …]
DAutoAppPermissionsFragment.java186 group.areRuntimePermissionsGranted() ? allowed : denied; in updatePreferences()
196 if (group.areRuntimePermissionsGranted()) { in updatePreferences()
262 if (group.hasPermissionWithBackgroundMode() && group.areRuntimePermissionsGranted()) { in getGroupSummary()
264 if (backgroundGroup == null || !backgroundGroup.areRuntimePermissionsGranted()) { in getGroupSummary()
DAutoPermissionAppsFragment.java252 if (group.areRuntimePermissionsGranted()) { in onPermissionsLoaded()
255 && group.getBackgroundPermissions().areRuntimePermissionsGranted())) { in onPermissionsLoaded()
DAutoAllAppPermissionsFragment.java313 setChecked(appPermissionGroup.areRuntimePermissionsGranted( in MyMultiTargetSwitchPreference()
358 && !appPermissionGroup.areRuntimePermissionsGranted()) { in MyMultiTargetSwitchPreference()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionPreference.java184 return isForegroundPolicyFixed() && !mGroup.areRuntimePermissionsGranted(); in isForegroundDisabledByPolicy()
211 setChecked(mGroup.areRuntimePermissionsGranted()); in updateUi()
325 if (mGroup.areRuntimePermissionsGranted()) { in updateSummaryForPermissionGroupWithBackgroundPermission()
329 if (backgroundGroup.areRuntimePermissionsGranted()) { in updateSummaryForPermissionGroupWithBackgroundPermission()
374 if (backgroundGroup.areRuntimePermissionsGranted()) { in updateSummaryForFixedByPolicyPermissionGroup()
396 if (backgroundGroup.areRuntimePermissionsGranted()) { in updateSummaryForFixedByPolicyPermissionGroup()
598 if (mGroup.areRuntimePermissionsGranted()) { in showBackgroundChooserDialog()
599 if (mGroup.getBackgroundPermissions().areRuntimePermissionsGranted()) { in showBackgroundChooserDialog()
660 if (backgroundGroup.areRuntimePermissionsGranted()) { in onBackgroundAccessChosen()
666 if (mGroup.areRuntimePermissionsGranted() in onBackgroundAccessChosen()
[all …]
DAppPermissionFragment.java419 if (mGroup.areRuntimePermissionsGranted()) { in updateButtons()
422 && mGroup.getBackgroundPermissions().areRuntimePermissionsGranted())) { in updateButtons()
611 return isForegroundPolicyFixed() && !mGroup.areRuntimePermissionsGranted(); in isForegroundDisabledByPolicy()
684 if (backgroundGroup.areRuntimePermissionsGranted()) { in updateDetailForFixedByPolicyPermissionGroup()
706 if (backgroundGroup.areRuntimePermissionsGranted()) { in updateDetailForFixedByPolicyPermissionGroup()
792 if (!mGroup.areRuntimePermissionsGranted()) { in requestChange()
800 if (!mGroup.getBackgroundPermissions().areRuntimePermissionsGranted()) { in requestChange()
812 && mGroup.areRuntimePermissionsGranted()) { in requestChange()
819 && mGroup.getBackgroundPermissions().areRuntimePermissionsGranted()) { in requestChange()
834 && mGroup.areRuntimePermissionsGranted()) { in requestChange()
[all …]
DPermissionControlPreference.java115 if (group.hasPermissionWithBackgroundMode() && group.areRuntimePermissionsGranted()) { in setGroupSummary()
117 if (backgroundGroup == null || !backgroundGroup.areRuntimePermissionsGranted()) { in setGroupSummary()
DAllAppPermissionsFragment.java331 setChecked(appPermissionGroup.areRuntimePermissionsGranted( in MyMultiTargetSwitchPreference()
376 && !appPermissionGroup.areRuntimePermissionsGranted()) { in MyMultiTargetSwitchPreference()
DAppPermissionsFragment.java255 group.areRuntimePermissionsGranted() ? allowed : denied; in updatePreferences()
262 if (group.areRuntimePermissionsGranted()) { in updatePreferences()
DPermissionAppsFragment.java310 if (group.areRuntimePermissionsGranted()) { in onPermissionsLoaded()
313 && group.getBackgroundPermissions().areRuntimePermissionsGranted())) { in onPermissionsLoaded()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java148 group.areRuntimePermissionsGranted(new String[]{ perm.name })); in onResume()
151 … setPreferenceCheckedIfPresent(group.getName(), group.areRuntimePermissionsGranted()); in onResume()
212 pref.setChecked(group.areRuntimePermissionsGranted(new String[]{ perm.name })); in createSwitchPreferenceForPermission()
310 && !group.areRuntimePermissionsGranted()) { in revokePermissionInGroup()
323 pref.setChecked(group.areRuntimePermissionsGranted()); in createSwitchPreferenceForGroup()
DReviewPermissionsWearFragment.java159 preference.setChecked(group.areRuntimePermissionsGranted()); in loadPreferences()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java165 } else if (group.isPolicyFixed() && !group.areRuntimePermissionsGranted() in addRequestedPermissions()
207 if (group.areRuntimePermissionsGranted()) { in addRequestedPermissions()
371 group.getName()).areRuntimePermissionsGranted(); in onCreate()
628 if (!backgroundGroupState.mGroup.areRuntimePermissionsGranted()) { in showNextPermissionGroupGrantRequest()
639 if (!foregroundGroupState.mGroup.areRuntimePermissionsGranted()) { in showNextPermissionGroupGrantRequest()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionApps.java130 if (app.areRuntimePermissionsGranted()) { in getGrantedCount()
382 public boolean areRuntimePermissionsGranted() { in areRuntimePermissionsGranted() method in PermissionApps.PermissionApp
383 return mAppPermissionGroup.areRuntimePermissionsGranted(); in areRuntimePermissionsGranted()
DAppPermissionGroup.java633 public boolean areRuntimePermissionsGranted() { in areRuntimePermissionsGranted() method in AppPermissionGroup
634 return areRuntimePermissionsGranted(null); in areRuntimePermissionsGranted()
637 public boolean areRuntimePermissionsGranted(String[] filterPermissions) { in areRuntimePermissionsGranted() method in AppPermissionGroup
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java225 .setChecked(app.areRuntimePermissionsGranted()); in onPermissionsLoaded()
242 pref.setChecked(app.areRuntimePermissionsGranted()); in onPermissionsLoaded()
DAppPermissionsFragment.java214 preference.setChecked(group.areRuntimePermissionsGranted()); in loadPreferences()
350 switchPref.setChecked(group.areRuntimePermissionsGranted()); in setPreferencesCheckedState()
DAllAppPermissionsFragment.java245 pref.setChecked(permGroup.areRuntimePermissionsGranted(filterPermissions)); in getMutablePreference()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DBackupHelper.java744 if (group.areRuntimePermissionsGranted()) { in restore()
751 if (bgGroup.areRuntimePermissionsGranted()) { in restore()
DPermissionControllerServiceImpl.java390 final boolean granted = group.areRuntimePermissionsGranted(); in onGetAppPermissions()
474 if (!countOnlyGranted || subGroup.areRuntimePermissionsGranted()) { in onCountPermissionApps()
DRuntimePermissionsUpgradeController.java263 if (group.areRuntimePermissionsGranted() in onUpgradeLocked()
DLocationAccessCheck.java463 if (!bgLocationGroup.areRuntimePermissionsGranted()) { in getLocationUsersWithNoNotificationYetLocked()
685 if (bgLocationGroup == null || !bgLocationGroup.areRuntimePermissionsGranted()) { in resetAlreadyNotifiedPackagesWithoutPermissionLocked()