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.kt102 foreground.isPolicyFixed && (!hasBackgroundGroup || background.isPolicyFixed) in <lambda>()
107 val isBackgroundFixed = background.isPolicyFixed || background.isSystemFixed in <lambda>()
112 val isForegroundFixed = foreground.isPolicyFixed || foreground.isSystemFixed in <lambda>()
204 val isPolicyFixed = permissions.any { it.value.isPolicyFixed } in <lambda>() constant
DLightPermission.kt59 val isPolicyFixed = flags and PackageManager.FLAG_PERMISSION_POLICY_FIXED != 0 constant
129 if (isPolicyFixed) append(", PolicyFixed") in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt535 group.foreground.isPolicyFixed, in <lambda>()
536 group.background.isPolicyFixed, in <lambda>()
568 if (group.foreground.isPolicyFixed || group.foreground.isSystemFixed) { in <lambda>()
599 if (group.foreground.isPolicyFixed || group.foreground.isSystemFixed) { in <lambda>()
659 if (group.foreground.isSystemFixed || group.foreground.isPolicyFixed) { in <lambda>()
686 lightAppPermGroup!!.foreground.isPolicyFixed in <lambda>()
1400 val isForegroundPolicyDenied = group.foreground.isPolicyFixed && !group.foreground.isGranted in <lambda>()
1416 if (group.background.isPolicyFixed && group.background.isGranted) { in <lambda>()
1418 } else if (group.background.isPolicyFixed) { in <lambda>()
1420 } else if (group.foreground.isPolicyFixed) { in <lambda>()
[all …]
DReviewPermissionsViewModel.kt242 if (permGroup.background.isPolicyFixed) { in <lambda>()
259 } else if (permGroup.foreground.isPolicyFixed) { in <lambda>()
277 return mGroup.foreground.isPolicyFixed && !mGroup.isGranted in <lambda>()
DGrantPermissionsViewModel.kt561 if (subGroup.isPolicyFixed && !subGroup.isGranted || lightPermission.isPolicyFixed) { in <lambda>()
655 if (group.permissions[perm]?.isPolicyFixed == false) { in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DReviewPermissionsViewModelTest.kt119 whenever(foregroundSubGroup.isPolicyFixed).thenReturn(true) in getSummary_foregroundFixedPolicy()
145 whenever(backgroundSubGroup.isPolicyFixed).thenReturn(true) in getSummary_backgroundFixedPolicy_foregroundRequested()
171 whenever(backgroundSubGroup.isPolicyFixed).thenReturn(true) in getSummary_backgroundFixedPolicy()
264 whenever(foregroundSubGroup.isPolicyFixed).thenReturn(true) in getSummary_ForegroundDisabledByPolicy()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java206 if (mGroup.getBackground().isPolicyFixed()) { in updateUi()
212 } else if (mGroup.getForeground().isPolicyFixed()) { in updateUi()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionAppsFragment.java267 } else if (app.isPolicyFixed()) { in updateCategories()
272 preference.setEnabled(!app.isSystemFixed() && !app.isPolicyFixed()); in updateCategories()
DAppPermissionsFragment.java259 } else if (group.isPolicyFixed()) { in loadPreferences()
263 preference.setEnabled(!group.isSystemFixed() && !group.isPolicyFixed()); in loadPreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt543 !appPermGroup.background.isPolicyFixed && in <lambda>()
571 !perm.isPolicyFixed && in <lambda>()
DBackupHelper.java659 if (group.isSystemFixed() || group.isPolicyFixed()) { in restore()
DPermissionControllerServiceImpl.java215 if (group.isPolicyFixed() || group.isSystemFixed()) { in getRevocableGroupsForPermissions()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionApps.java418 public boolean isPolicyFixed() { in isPolicyFixed() method in PermissionApps.PermissionApp
419 return mAppPermissionGroup.isPolicyFixed(); in isPolicyFixed()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DPermission.java215 public boolean isPolicyFixed() { in isPolicyFixed() method in Permission
DAppPermissionGroup.java1387 public boolean isPolicyFixed() {
1391 if (permission.isPolicyFixed()) {
1592 | (permission.isPolicyFixed() ? PackageManager.FLAG_PERMISSION_POLICY_FIXED : 0)
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DReviewPermissionsWearFragment.java177 if (group.isSystemFixed() || group.isPolicyFixed()) { in loadPreferences()