/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PermGroupLiveData.kt | 50 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>()
|
D | AppPermGroupUiInfoLiveData.kt | 107 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>()
|
D | PermGroupsPackagesLiveData.kt | 91 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>()
|
D | SinglePermGroupPackagesUiInfoLiveData.kt | 67 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>()
|
D | LightAppPermGroupLiveData.kt | 110 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/ |
D | AppPermissionGroup.java | 190 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/ |
D | PermissionGroups.java | 183 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()
|
D | PermissionApps.java | 213 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/ |
D | PermGroup.kt | 27 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/ |
D | VolumeSettingsPreferenceController.java | 370 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/ |
D | AutoAppPermissionsFragment.java | 252 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/ |
D | AppPermissionGroupsFragment.java | 348 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/ |
D | MicPreferenceController.java | 53 PermissionGroupInfo groupInfo = mPm.getPermissionGroupInfo( in onCreateInternal() local 56 Drawable icon = groupInfo.loadIcon(mPm); in onCreateInternal()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioUtils.java | 152 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/ |
D | KotlinUtils.kt | 388 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>()
|
D | Utils.java | 854 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/ |
D | PermissionRepository.kt | 98 val groupInfo = getPermissionGroupInfo(groupName, context) in getPermissionGroupLabel() constant 99 groupInfo?.loadSafeLabel( in getPermissionGroupLabel()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearAppPermissionGroupsHelper.kt | 84 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/ |
D | AppPermissionActivity.java | 114 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/ |
D | AppPermissionGroupsViewModel.kt | 439 groupInfo: GroupUiInfo, in <lambda>() 447 groupInfo.groupName in <lambda>() 451 return when (groupInfo.subtitle) { in <lambda>()
|
D | GrantPermissionsViewModel.kt | 228 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/ |
D | CarAudioZoneVolumeFragment.java | 180 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/ |
D | ICarAudio.aidl | 67 List<AudioAttributes> getAudioAttributesForVolumeGroup(in CarVolumeGroupInfo groupInfo); in getAudioAttributesForVolumeGroup() argument
|
D | CarAudioManager.java | 854 @NonNull CarVolumeGroupInfo groupInfo) { in getAudioAttributesForVolumeGroup() 856 return mService.getAudioAttributesForVolumeGroup(groupInfo); in getAudioAttributesForVolumeGroup()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 122 public List<AudioAttributes> getAudioAttributesForVolumeGroup(CarVolumeGroupInfo groupInfo) { in getAudioAttributesForVolumeGroup() argument
|