Searched refs:halReasons (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeGroup.java | 865 int onAudioGainChanged(List<Integer> halReasons, CarAudioGainConfigInfo gain) { in onAudioGainChanged() argument 877 mReasons = new ArrayList<>(halReasons); in onAudioGainChanged() 879 boolean shouldBlock = CarAudioGainMonitor.shouldBlockVolumeRequest(halReasons); in onAudioGainChanged() 886 boolean shouldLimit = CarAudioGainMonitor.shouldLimitVolume(halReasons); in onAudioGainChanged() 893 boolean shouldDuck = CarAudioGainMonitor.shouldDuckGain(halReasons); in onAudioGainChanged() 902 boolean shouldMute = CarAudioGainMonitor.shouldMuteVolumeGroup(halReasons); in onAudioGainChanged() 908 if (CarAudioGainMonitor.shouldUpdateVolumeIndex(halReasons) in onAudioGainChanged()
|
D | CarAudioZone.java | 373 List<CarVolumeGroupEvent> onAudioGainChanged(List<Integer> halReasons, in onAudioGainChanged() argument 378 .onAudioGainChanged(halReasons, gainInfos); in onAudioGainChanged()
|
D | CarAudioZoneConfig.java | 439 List<CarVolumeGroupEvent> onAudioGainChanged(List<Integer> halReasons, in onAudioGainChanged() argument 443 List<Integer> extraInfos = CarAudioGainMonitor.convertReasonsToExtraInfo(halReasons); in onAudioGainChanged() 454 int eventType = mVolumeGroups.get(groupId).onAudioGainChanged(halReasons, gainInfo); in onAudioGainChanged()
|
D | CarAudioService.java | 370 List<Integer> halReasons, List<CarAudioGainConfigInfo> gains) { 372 handleAudioDeviceGainsChangedLocked(halReasons, gains); 3748 List<Integer> halReasons, List<CarAudioGainConfigInfo> gains) { 3752 mCarAudioGainMonitor.handleAudioDeviceGainsChanged(halReasons, gains);
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | AudioControlWrapperAidlTest.java | 764 int[] halReasons = {Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING}; in onAudioDeviceGainsChanged_succeeds() local 765 List<Integer> reasons = Arrays.stream(halReasons).boxed().collect(Collectors.toList()); in onAudioDeviceGainsChanged_succeeds() 782 captor.getValue().onAudioDeviceGainsChanged(halReasons, gains); in onAudioDeviceGainsChanged_succeeds() 799 int[] halReasons = {-1, 1999, 666}; in onAudioDeviceGainsChanged_invalidReasons() local 817 captor.getValue().onAudioDeviceGainsChanged(halReasons, gains); in onAudioDeviceGainsChanged_invalidReasons() 835 int[] halReasons = {-1, Reasons.REMOTE_MUTE, 1999, 666, Reasons.NAV_DUCKING}; in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons() local 853 captor.getValue().onAudioDeviceGainsChanged(halReasons, gains); in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | AudioControlWrapperAidl.java | 449 public void onAudioDeviceGainsChanged(int[] halReasons, AudioGainConfigInfo[] gains) { in onAudioDeviceGainsChanged() argument 456 for (int index = 0; index < halReasons.length; index++) { in onAudioDeviceGainsChanged() 457 int halReason = halReasons[index]; in onAudioDeviceGainsChanged()
|
D | HalAudioGainCallback.java | 112 void onAudioDeviceGainsChanged(List<Integer> halReasons, List<CarAudioGainConfigInfo> gains); in onAudioDeviceGainsChanged() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioZoneUnitTest.java | 975 List<Integer> halReasons = (List<Integer>) invocation.getArguments()[0]; in build() 980 CarAudioGainMonitor.convertReasonsToExtraInfo(halReasons); in build() 989 int eventType = mCarVolumeGroups.get(groupId).onAudioGainChanged(halReasons, in build()
|