Home
last modified time | relevance | path

Searched refs:isPolicyFixed (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt101 val isPolicyFullyFixed = foreground.isPolicyFixed && (!hasBackgroundGroup || in <lambda>()
102 background.isPolicyFixed) in <lambda>()
107 val isBackgroundFixed = background.isPolicyFixed || background.isSystemFixed in <lambda>()
112 val isForegroundFixed = foreground.isPolicyFixed || foreground.isSystemFixed in <lambda>()
175 val isPolicyFixed = permissions.any { it.value.isPolicyFixed } in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup.AppPermSubGroup
DLightPermission.kt59 val isPolicyFixed = flags and PackageManager.FLAG_PERMISSION_POLICY_FIXED != 0 constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermission
112 if (isPolicyFixed) append(", PolicyFixed") in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt253 applyFixToForegroundBackground(group, group.foreground.isPolicyFixed, in <lambda>()
254 group.background.isPolicyFixed, allowedAlwaysState, in <lambda>()
277 if (group.foreground.isPolicyFixed || group.foreground.isSystemFixed) { in <lambda>()
337 if (group.foreground.isSystemFixed || group.foreground.isPolicyFixed) { in <lambda>()
715 val isForegroundPolicyDenied = group.foreground.isPolicyFixed && !group.foreground.isGranted in <lambda>()
731 if (group.background.isPolicyFixed && group.background.isGranted) { in <lambda>()
733 } else if (group.background.isPolicyFixed) { in <lambda>()
735 } else if (group.foreground.isPolicyFixed) { in <lambda>()
749 if (group.background.isPolicyFixed && group.background.isGranted) { in <lambda>()
751 } else if (group.background.isPolicyFixed) { in <lambda>()
[all …]
DGrantPermissionsViewModel.kt623 } else if (subGroup.isPolicyFixed && !subGroup.isGranted || lightPermission.isPolicyFixed) { in <lambda>()
718 if (group.permissions[perm]?.isPolicyFixed == false) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt425 !appPermGroup.background.isPolicyFixed && in <lambda>()
446 if (!perm.isUserSet && !perm.isSystemFixed && !perm.isPolicyFixed && in <lambda>()
DBackupHelper.java578 if (group.isSystemFixed() || group.isPolicyFixed()) { in restore()
DPermissionControllerServiceImpl.java204 if (group.isPolicyFixed() || group.isSystemFixed()) { in getRevocableGroupsForPermissions()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionAppsFragment.java246 } else if (app.isPolicyFixed()) { in updateCategories()
251 preference.setEnabled(!app.isSystemFixed() && !app.isPolicyFixed()); in updateCategories()
DAppPermissionsFragment.java238 } else if (group.isPolicyFixed()) { in loadPreferences()
242 preference.setEnabled(!group.isSystemFixed() && !group.isPolicyFixed()); in loadPreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java149 return mGroup.isPolicyFixed(); in isForegroundPolicyFixed()
160 && mGroup.getBackgroundPermissions().isPolicyFixed(); in isBackgroundPolicyFixed()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionApps.java400 public boolean isPolicyFixed() { in isPolicyFixed() method in PermissionApps.PermissionApp
401 return mAppPermissionGroup.isPolicyFixed(); in isPolicyFixed()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java1265 public boolean isPolicyFixed() {
1269 if (permission.isPolicyFixed()) {
1435 | (permission.isPolicyFixed() ? PackageManager.FLAG_PERMISSION_POLICY_FIXED : 0)
DPermission.java187 public boolean isPolicyFixed() { in isPolicyFixed() method in Permission
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java428 return mGroup.isPolicyFixed(); in isForegroundPolicyFixed()
439 && mGroup.getBackgroundPermissions().isPolicyFixed(); in isBackgroundPolicyFixed()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DReviewPermissionsWearFragment.java163 if (group.isSystemFixed() || group.isPolicyFixed()) { in loadPreferences()
DAppPermissionsFragmentWear.java325 if (group.isSystemFixed() || group.isPolicyFixed()) { in createSwitchPreferenceForGroup()