Home
last modified time | relevance | path

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

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermGroupLiveData.kt50 private lateinit var groupInfo: PackageItemInfo in <lambda>() variable in com.android.permissioncontroller.permission.data.PermGroupLiveData
68 groupInfo = in <lambda>()
77 when (groupInfo) { in <lambda>()
97 permissionInfos[groupInfo.name] = LightPermInfo(groupInfo as PermissionInfo) in <lambda>()
105 val permGroup = PermGroup(LightPermGroupInfo(groupInfo), permissionInfos) in <lambda>()
111 packageNames.add(groupInfo.packageName) in <lambda>()
DAppPermGroupUiInfoLiveData.kt107 permissionGroup.groupInfo, in <lambda>()
126 groupInfo: LightPermGroupInfo, in <lambda>()
139 isGrantableAndNotLegacyPlatform(packageInfo, groupInfo, requestedPermissionInfos) && in <lambda>()
141 (!isHealth || Utils.shouldShowHealthPermission(packageInfo, groupInfo.name)) in <lambda>()
166 groupInfo: LightPermGroupInfo, in <lambda>()
169 if (groupInfo.packageName == Utils.OS_PKG && !isPlatformPermissionGroup(groupInfo.name)) { in <lambda>()
DPermGroupsPackagesLiveData.kt91 for ((groupInfo, permissionInfos) in permGroups) { in <lambda>() constant
94 if (isPreMApp && groupInfo.packageName != OS_PKG) { in <lambda>()
100 groupApps[groupInfo.name]?.add(packageInfo.packageName to userHandle) in <lambda>()
113 permGroup.groupInfo.isSinglePermGroup || in <lambda>()
DSinglePermGroupPackagesUiInfoLiveData.kt67 permGroupLiveData.value?.groupInfo?.let { value = emptyMap() } in <lambda>()
96 permGroupLiveData.value?.groupInfo?.let { value = shownPackages.toMap() } in <lambda>()
105 permGroupLiveData.value?.groupInfo?.let { value = shownPackages.toMap() } in <lambda>()
DLightAppPermGroupLiveData.kt110 permGroup.groupInfo.packageName != OS_PKG in <lambda>()
112 value = LightAppPermGroup(packageInfo, permGroup.groupInfo, emptyMap()) in <lambda>()
142 permGroup.groupInfo, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java190 PackageItemInfo groupInfo = permissionInfo; in create() local
193 groupInfo = context.getPackageManager().getPermissionGroupInfo(group, 0); in create()
200 if (groupInfo instanceof PermissionGroupInfo) { in create()
203 groupInfo.name); in create()
209 return create(context, packageInfo, groupInfo, permissionInfos, delayChanges); in create()
228 PackageItemInfo groupInfo = Utils.getGroupInfo(permissionGroupName, app); in create() local
229 if (groupInfo == null) { in create()
234 if (groupInfo instanceof PermissionGroupInfo) { in create()
236 groupInfo.name); in create()
238 return create(app, packageInfo, groupInfo, permissionInfos, delayChanges); in create()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionGroups.java183 for (PermissionGroupInfo groupInfo : groupInfos) { in getPermissionGroups()
191 && !PermissionMapping.isPlatformPermissionGroup(groupInfo.name)) { in getPermissionGroups()
198 groupPermissions = Utils.getPermissionInfosForGroup(packageManager, groupInfo.name); in getPermissionGroups()
220 CharSequence label = loadItemInfoLabel(context, groupInfo); in getPermissionGroups()
221 Drawable icon = loadItemInfoIcon(context, groupInfo); in getPermissionGroups()
223 PermissionApps permApps = new PermissionApps(context, groupInfo.name, packageName, in getPermissionGroups()
228 PermissionGroup group = new PermissionGroup(groupInfo.name, in getPermissionGroups()
229 groupInfo.packageName, label, icon, permApps.getTotalCount(), in getPermissionGroups()
318 final PermissionGroupInfo groupInfo = context.getPackageManager() in getPermissionGroupInfos() local
320 groupInfos.add(groupInfo); in getPermissionGroupInfos()
DPermissionApps.java213 PackageItemInfo groupInfo = Utils.getGroupInfo(mGroupName, mContext); in loadPermissionApps() local
214 if (groupInfo == null) { in loadPermissionApps()
234 CharSequence groupLabel = groupInfo.loadLabel(packageManager); in loadPermissionApps()
235 CharSequence fullGroupLabel = groupInfo.loadSafeLabel(packageManager, 0, in loadPermissionApps()
267 app, groupInfo, groupPermInfos, groupLabel, fullGroupLabel, false); in loadPermissionApps()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DPermGroup.kt27 var groupInfo: LightPermGroupInfo, variable in com.android.permissioncontroller.permission.model.livedatatypes.PermGroup
30 val name: String = groupInfo.name
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java370 private void updateVolumePreference(CarVolumeGroupInfo groupInfo, int eventTypes) { in updateVolumePreference() argument
371 int groupId = groupInfo.getId(); in updateVolumePreference()
377 volumePreference.setValue(groupInfo.getVolumeGainIndex()); in updateVolumePreference()
380 volumePreference.setIsMuted(groupInfo.isMuted()); in updateVolumePreference()
383 volumePreference.setMin(groupInfo.getMinVolumeGainIndex()); in updateVolumePreference()
386 volumePreference.setMax(groupInfo.getMaxVolumeGainIndex()); in updateVolumePreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionsFragment.java252 for (AppPermissionGroupsViewModel.GroupUiInfo groupInfo : groupMap.get(grantCategory)) { in updatePreferences()
253 if (groupInfo.isSystem() == mIsSystemPermsScreen) { in updatePreferences()
254 Preference preference = createPermissionPreference(getContext(), groupInfo, in updatePreferences()
257 } else if (!groupInfo.isSystem()) { in updatePreferences()
283 AppPermissionGroupsViewModel.GroupUiInfo groupInfo, in createPermissionPreference() argument
285 String groupName = groupInfo.getGroupName(); in createPermissionPreference()
290 String summary = mViewModel.getPreferenceSummary(groupInfo, context, in createPermissionPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionGroupsFragment.java348 for (GroupUiInfo groupInfo : groupMap.get(grantCategory)) { in updatePreferences()
349 String groupName = groupInfo.getGroupName(); in updatePreferences()
357 if (MultiDeviceUtils.isDefaultDeviceId(groupInfo.getPersistentDeviceId())) { in updatePreferences()
361 groupInfo.getPersistentDeviceId()); in updatePreferences()
365 preference.setPersistentDeviceId(groupInfo.getPersistentDeviceId()); in updatePreferences()
369 String summary = mViewModel.getPreferenceSummary(groupInfo, context, in updatePreferences()
401 if (groupInfo.isSystem() == mIsSystemPermsScreen) { in updatePreferences()
403 } else if (!groupInfo.isSystem()) { in updatePreferences()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DMicPreferenceController.java53 PermissionGroupInfo groupInfo = mPm.getPermissionGroupInfo( in onCreateInternal() local
56 Drawable icon = groupInfo.loadIcon(mPm); in onCreateInternal()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioUtils.java152 CarVolumeGroupInfo groupInfo = groups.get(c); in getAudioAttributesForDynamicDevices() local
153 if (excludesDynamicDevices(groupInfo.getAudioDeviceAttributes())) { in getAudioAttributesForDynamicDevices()
156 audioAttributes.addAll(groupInfo.getAudioAttributes()); in getAudioAttributesForDynamicDevices()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt388 val groupInfo = Utils.getGroupInfo(groupName, context) in <lambda>() constant
390 if (groupInfo != null && groupInfo.icon != 0) { in <lambda>()
391 icon = Utils.loadDrawable(context.packageManager, groupInfo.packageName, groupInfo.icon) in <lambda>()
414 val groupInfo = Utils.getGroupInfo(groupName, context) ?: return groupName in <lambda>() constant
415 return groupInfo.loadSafeLabel( in <lambda>()
431 val groupInfo = Utils.getGroupInfo(groupName, context) in <lambda>() constant
434 if (groupInfo is PermissionGroupInfo) { in <lambda>()
435 description = groupInfo.loadDescription(context.packageManager) ?: groupName in <lambda>()
436 } else if (groupInfo is PermissionInfo) { in <lambda>()
437 description = groupInfo.loadDescription(context.packageManager) ?: groupName in <lambda>()
DUtils.java854 PackageItemInfo groupInfo = getGroupInfo(groupName, context); in loadGroupDescription() local
856 if (groupInfo instanceof PermissionGroupInfo) { in loadGroupDescription()
857 description = ((PermissionGroupInfo) groupInfo).loadDescription(packageManager); in loadGroupDescription()
858 } else if (groupInfo instanceof PermissionInfo) { in loadGroupDescription()
859 description = ((PermissionInfo) groupInfo).loadDescription(packageManager); in loadGroupDescription()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/repository/v31/
DPermissionRepository.kt98 val groupInfo = getPermissionGroupInfo(groupName, context) in getPermissionGroupLabel() constant
99 groupInfo?.loadSafeLabel( in getPermissionGroupLabel()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionGroupsHelper.kt84 for (groupInfo in groupInfoList) { in <lambda>() constant
85 bookKeeping[groupInfo.groupName] = groupInfo in <lambda>()
86 grantedTypes[groupInfo.groupName] = category in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DAppPermissionActivity.java114 for (PermissionGroupInfo groupInfo : groupInfos) { in onCreate()
115 if (groupInfo.name.equals(permission.group)) { in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionGroupsViewModel.kt439 groupInfo: GroupUiInfo, in <lambda>()
447 groupInfo.groupName in <lambda>()
451 return when (groupInfo.subtitle) { in <lambda>()
DGrantPermissionsViewModel.kt228 val groupInfo: LightPermGroupInfo, in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.GrantPermissionsViewModel.RequestInfo
234 val groupName = groupInfo.name in <lambda>()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java180 CarVolumeGroupInfo groupInfo = mCarAudioManager.getVolumeGroupInfo(mZoneId, groupId); in initVolumeInfo() local
181 mVolumeInfos[i] = createCarAudioZoneVolumeInfo(groupInfo); in initVolumeInfo()
/packages/services/Car/car-lib/src/android/car/media/
DICarAudio.aidl67 List<AudioAttributes> getAudioAttributesForVolumeGroup(in CarVolumeGroupInfo groupInfo); in getAudioAttributesForVolumeGroup() argument
DCarAudioManager.java854 @NonNull CarVolumeGroupInfo groupInfo) { in getAudioAttributesForVolumeGroup()
856 return mService.getAudioAttributesForVolumeGroup(groupInfo); in getAudioAttributesForVolumeGroup()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java122 public List<AudioAttributes> getAudioAttributesForVolumeGroup(CarVolumeGroupInfo groupInfo) { in getAudioAttributesForVolumeGroup() argument

12