Home
last modified time | relevance | path

Searched refs:appPermGroup (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermGroupsPackagesUiInfoLiveData.kt99 for ((packageUserPair, appPermGroup) in appPermGroups) { in <lambda>() constant
100 if (!appPermGroup.shouldShow) { in <lambda>()
113 if (appPermGroup.isSystem) { in <lambda>()
114 if (isGranted(appPermGroup.permGrantState)) { in <lambda>()
120 } else if (appPermGroup.isUserSet) { in <lambda>()
126 if (isGranted(appPermGroup.permGrantState)) { in <lambda>()
129 } else if (appPermGroup.isUserSet) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt537 for (appPermGroup in bgAppsWithExemption.values) { in <lambda>() constant
539 appPermGroup.foreground.isGranted && in <lambda>()
540 appPermGroup.hasBackgroundGroup && in <lambda>()
541 !appPermGroup.background.isUserSet && in <lambda>()
542 !appPermGroup.background.isSystemFixed && in <lambda>()
543 !appPermGroup.background.isPolicyFixed && in <lambda>()
544 !appPermGroup.background.isUserFixed in <lambda>()
546 grants.add(Grant(true, appPermGroup)) in <lambda>()
564 for (appPermGroup in storageAndMediaAppPermGroups) { in <lambda>() constant
566 appPermGroup.permissions[permission.ACCESS_MEDIA_LOCATION] ?: continue in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DPermissionUsages.java255 final AppPermissionGroup appPermGroup = permissionApp.getPermissionGroup(); in loadInBackground() local
256 if (!Utils.shouldShowPermission(getContext(), appPermGroup)) { in loadInBackground()
266 usageBuilder.addGroup(appPermGroup); in loadInBackground()
273 PackageInfo telecomPackageInfo = appPermGroup.getApp(); in loadInBackground()
307 final List<Permission> permissions = appPermGroup.getPermissions(); in loadInBackground()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt328 val appPermGroup = groupLiveData.value in <lambda>() constant
329 if (appPermGroup == null) { in <lambda>()
335 packageInfo = appPermGroup.packageInfo in <lambda>()
341 appPermGroup.permissions[perm]?.isGrantedIncludingAppOp == true && in <lambda>()
342 appPermGroup.permissions[perm]?.isRevokeWhenRequested == false in <lambda>()
803 val appPermGroup = in <lambda>() constant
811 appPermGroup.setSelfRevoked() in <lambda>()
812 appPermGroup.persistChanges(false, null, nonSelectedPerms.toSet()) in <lambda>()
DAppPermissionViewModel.kt377 addSource(appPermGroupLiveData) { appPermGroup -> in <lambda>() method
378 lightAppPermGroup = appPermGroup in <lambda>()
380 onMediaPermGroupUpdate(permGroupName, appPermGroup) in <lambda>()
382 if (appPermGroupLiveData.isInitialized && appPermGroup == null) { in <lambda>()
384 } else if (appPermGroup != null) { in <lambda>()
870 val appPermGroup = lightAppPermGroup ?: return in <lambda>() constant
873 appPermGroup.packageInfo.uid, in <lambda>()
874 appPermGroup.foregroundPermNames, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java136 private void setState(LightAppPermGroup appPermGroup) { in setState() argument
137 if (appPermGroup.isReviewRequired()) { in setState()
139 if (appPermGroup.getHasBackgroundGroup()) { in setState()
DAllAppPermissionsFragment.java250 AppPermissionGroup appPermGroup = AppPermissionGroup.create( in getPreference() local
252 pref = new MyMultiTargetSwitchPreference(context, permName, appPermGroup); in getPreference()