Home
last modified time | relevance | path

Searched refs:CarAudioGainMonitor (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioGainMonitorTest.java150 new CarAudioGainMonitor( in constructor_fails()
157 new CarAudioGainMonitor( in constructor_fails()
163 () -> new CarAudioGainMonitor(/* audioControlWrapper= */ null, in constructor_fails()
169 Throwable thrown = assertThrows(NullPointerException.class, () -> new CarAudioGainMonitor( in constructor_nullCarVolumeInfoWrapper_fails()
178 CarAudioGainMonitor carAudioGainMonitor = in constructor_succeeds()
179 new CarAudioGainMonitor(mAudioControlWrapperAidl, mMockVolumeInfoWrapper, in constructor_succeeds()
187 CarAudioGainMonitor carAudioGainMonitor = in registercallback_succeeds()
188 new CarAudioGainMonitor(mAudioControlWrapperAidl, mMockVolumeInfoWrapper, in registercallback_succeeds()
201 CarAudioGainMonitor carAudioGainMonitor = in registercallback_multipleTimes()
202 new CarAudioGainMonitor(mAudioControlWrapperAidl, mMockVolumeInfoWrapper, in registercallback_multipleTimes()
[all …]
DCarAudioZoneUnitTest.java980 CarAudioGainMonitor.convertReasonsToExtraInfo(halReasons); in build()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java38 /* package */ final class CarAudioGainMonitor { class
44 CarAudioGainMonitor(AudioControlWrapper audioControlWrapper, in CarAudioGainMonitor() method in CarAudioGainMonitor
DCarVolumeGroup.java879 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()
DCarAudioZoneConfig.java443 List<Integer> extraInfos = CarAudioGainMonitor.convertReasonsToExtraInfo(halReasons); in onAudioGainChanged()
DCarAudioService.java249 private @Nullable CarAudioGainMonitor mCarAudioGainMonitor;
2221 mCarAudioGainMonitor = new CarAudioGainMonitor(mAudioControlWrapper,