Searched refs:extraInfos (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarVolumeGroupEvent.java | 244 @NonNull List<Integer> extraInfos) { in CarVolumeGroupEvent() argument 247 this.mExtraInfos = Objects.requireNonNull(extraInfos, "Extra infos can not be null"); in CarVolumeGroupEvent() 329 public static int convertExtraInfoToFlags(@NonNull List<Integer> extraInfos) { in convertExtraInfoToFlags() argument 331 if (extraInfos.contains(EXTRA_INFO_SHOW_UI)) { in convertExtraInfoToFlags() 334 if (extraInfos.contains(EXTRA_INFO_PLAY_SOUND)) { in convertExtraInfoToFlags() 337 if (extraInfos.contains(EXTRA_INFO_VOLUME_INDEX_CHANGED_BY_KEYEVENT) in convertExtraInfoToFlags() 338 || extraInfos.contains(EXTRA_INFO_MUTE_TOGGLED_BY_KEYEVENT)) { in convertExtraInfoToFlags() 359 List<Integer> extraInfos = new ArrayList<>(); in convertFlagsToExtraInfo() local 362 extraInfos.add(EXTRA_INFO_SHOW_UI); in convertFlagsToExtraInfo() 366 extraInfos.add(EXTRA_INFO_PLAY_SOUND); in convertFlagsToExtraInfo() [all …]
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioUtils.java | 70 List<Integer> extraInfos = CarVolumeGroupEvent.convertFlagsToExtraInfo(flags, in convertVolumeChangeToEvent() local 72 return convertVolumeChangesToEvents(List.of(info), eventTypes, extraInfos); in convertVolumeChangeToEvent() 77 List<Integer> extraInfos) { in convertVolumeChangesToEvents() argument 78 return new CarVolumeGroupEvent.Builder(infoList, eventTypes, extraInfos).build(); in convertVolumeChangesToEvents()
|
D | CarAudioGainMonitor.java | 161 List<Integer> extraInfos = new ArrayList<>(); in convertReasonsToExtraInfo() local 167 extraInfos.add(extraInfo); in convertReasonsToExtraInfo() 170 return extraInfos; in convertReasonsToExtraInfo()
|
D | CarAudioZoneConfig.java | 443 List<Integer> extraInfos = CarAudioGainMonitor.convertReasonsToExtraInfo(halReasons); in onAudioGainChanged() local 471 if (!extraInfos.isEmpty()) { in onAudioGainChanged() 472 eventBuilder.setExtraInfos(extraInfos); in onAudioGainChanged()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | VolumeUI.java | 119 private boolean shouldShowUi(List<Integer> extraInfos) { 120 if (extraInfos.contains(EXTRA_INFO_SHOW_UI) 121 || extraInfos.contains(
|
D | CarVolumeDialogImpl.java | 169 List<Integer> extraInfos = CarVolumeGroupEvent.convertFlagsToExtraInfo(flags, 186 extraInfos); 869 List<Integer> extraInfos = event.getExtraInfos(); in updateVolumeGroupForEvents() local 876 eventTypes, extraInfos); in updateVolumeGroupForEvents() local 898 boolean isMuted, int eventTypes, List<Integer> extraInfos) { in updateVolumePreference() argument 918 if (extraInfos.contains(EXTRA_INFO_SHOW_UI) in updateVolumePreference() 919 || extraInfos.contains(EXTRA_INFO_VOLUME_INDEX_CHANGED_BY_AUDIO_SYSTEM)) { in updateVolumePreference()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioZoneUnitTest.java | 979 List<Integer> extraInfos = in build() 1003 if (!extraInfos.isEmpty()) { in build() 1004 eventBuilder.setExtraInfos(extraInfos); in build()
|
D | CarAudioGainMonitorTest.java | 562 List<Integer> extraInfos = in convertReasonsToExtraInfo_supportedReasons_isEqualTo() local 574 .that(CarAudioGainMonitor.convertReasonsToExtraInfo(reasons)).isEqualTo(extraInfos); in convertReasonsToExtraInfo_supportedReasons_isEqualTo()
|