Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java153 PackageItemInfo groupInfo = permissionInfo; in create() local
156 groupInfo = context.getPackageManager().getPermissionGroupInfo(group, 0); in create()
163 if (groupInfo instanceof PermissionGroupInfo) { in create()
166 groupInfo.name); in create()
172 return create(context, packageInfo, groupInfo, permissionInfos, delayChanges); in create()
187 PackageItemInfo groupInfo, List<PermissionInfo> permissionInfos, boolean delayChanges) { in create() argument
189 CharSequence groupLabel = groupInfo.loadLabel(packageManager); in create()
190 CharSequence fullGroupLabel = groupInfo.loadSafeLabel(packageManager, 0, in create()
192 return create(context, packageInfo, groupInfo, permissionInfos, groupLabel, in create()
210 PackageItemInfo groupInfo, List<PermissionInfo> permissionInfos, in create() argument
[all …]
DPermissionGroups.java179 for (PermissionGroupInfo groupInfo : groupInfos) { in getPermissionGroups()
186 if (!getNonPlatformPermissions && !Utils.isModernPermissionGroup(groupInfo.name)) { in getPermissionGroups()
193 groupPermissions = Utils.getPermissionInfosForGroup(packageManager, groupInfo.name); in getPermissionGroups()
215 CharSequence label = loadItemInfoLabel(context, groupInfo); in getPermissionGroups()
216 Drawable icon = loadItemInfoIcon(context, groupInfo); in getPermissionGroups()
218 PermissionApps permApps = new PermissionApps(context, groupInfo.name, packageName, in getPermissionGroups()
223 PermissionGroup group = new PermissionGroup(groupInfo.name, in getPermissionGroups()
224 groupInfo.packageName, label, icon, permApps.getTotalCount(), in getPermissionGroups()
313 final PermissionGroupInfo groupInfo = context.getPackageManager() in getPermissionGroupInfos() local
315 groupInfos.add(groupInfo); in getPermissionGroupInfos()
DPermissionApps.java210 PackageItemInfo groupInfo = Utils.getGroupInfo(mGroupName, mContext); in loadPermissionApps() local
211 if (groupInfo == null) { in loadPermissionApps()
231 CharSequence groupLabel = groupInfo.loadLabel(packageManager); in loadPermissionApps()
232 CharSequence fullGroupLabel = groupInfo.loadSafeLabel(packageManager, 0, in loadPermissionApps()
264 app, groupInfo, groupPermInfos, groupLabel, fullGroupLabel, false); in loadPermissionApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppPermissionsPreferenceController.java103 final PermissionGroupInfo groupInfo = mPackageManager.getPermissionGroupInfo(group, 0); in getPermissionGroupLabel() local
104 return groupInfo.loadLabel(mPackageManager); in getPermissionGroupLabel()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DAppPermissionsEntryPreferenceController.java128 PermissionGroupInfo groupInfo = mPackageManager.getPermissionGroupInfo( in getPermissionGroupLabel() local
130 return groupInfo.loadLabel(mPackageManager); in getPermissionGroupLabel()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java151 PackageItemInfo groupInfo = Utils.getGroupInfo(groupName, context); in getAppPermissionGroup() local
153 if (groupInfo == null || groupPermInfos == null) { in getAppPermissionGroup()
164 AppPermissionGroup group = AppPermissionGroup.create(context, packageInfo, groupInfo, in getAppPermissionGroup()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionFragment.java168 PackageItemInfo groupInfo = Utils.getGroupInfo(groupName, context); in createAppPermissionGroup() local
170 if (groupInfo == null || groupPermInfos == null) { in createAppPermissionGroup()
179 groupInfo, groupPermInfos, false); in createAppPermissionGroup()