Home
last modified time | relevance | path

Searched refs:gains (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioDeviceInfoTest.java136 AudioGain[] gains = new AudioGain[] { in constructor_requiresJointModeAudioGain() local
147 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresJointModeAudioGain()
159 AudioGain[] gains = new AudioGain[] { in constructor_requiresMaxGainLargerThanMin() local
170 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresMaxGainLargerThanMin()
182 AudioGain[] gains = new AudioGain[] { in constructor_requiresDefaultGainLargerThanMin() local
193 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresDefaultGainLargerThanMin()
205 AudioGain[] gains = new AudioGain[] { in constructor_requiresDefaultGainSmallerThanMax() local
216 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresDefaultGainSmallerThanMax()
228 AudioGain[] gains = new AudioGain[] { in constructor_requiresGainStepSizeFactorOfRange() local
239 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresGainStepSizeFactorOfRange()
[all …]
DCarAudioHalTestUtils.java50 static AudioPort createAudioPort(int id, String name, AudioGain[] gains, in createAudioPort() argument
55 audioPort.gains = gains; in createAudioPort()
DAudioControlWrapperAidlTest.java778 AudioGainConfigInfo[] gains = new AudioGainConfigInfo[] {gainInfo1, gainInfo2}; in onAudioDeviceGainsChanged_succeeds() local
782 captor.getValue().onAudioDeviceGainsChanged(halReasons, gains); in onAudioDeviceGainsChanged_succeeds()
813 AudioGainConfigInfo[] gains = new AudioGainConfigInfo[] {gainInfo1, gainInfo2}; in onAudioDeviceGainsChanged_invalidReasons() local
817 captor.getValue().onAudioDeviceGainsChanged(halReasons, gains); in onAudioDeviceGainsChanged_invalidReasons()
849 AudioGainConfigInfo[] gains = new AudioGainConfigInfo[] {gainInfo1, gainInfo2}; in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons() local
853 captor.getValue().onAudioDeviceGainsChanged(halReasons, gains); in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons()
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioDeviceInfo.java59 mAudioGain = getAudioGain(port.gains); in HalAudioDeviceInfo()
155 private static AudioGain getAudioGain(@NonNull AudioGain[] gains) { in getAudioGain() argument
156 Objects.requireNonNull(gains, "Audio gains can not be null"); in getAudioGain()
157 Preconditions.checkArgument(gains.length > 0, "Audio port must have gains defined"); in getAudioGain()
158 for (int index = 0; index < gains.length; index++) { in getAudioGain()
159 AudioGain gain = Objects.requireNonNull(gains[index], "Audio gain can not be null"); in getAudioGain()
DAudioControlWrapperAidl.java449 public void onAudioDeviceGainsChanged(int[] halReasons, AudioGainConfigInfo[] gains) { in onAudioDeviceGainsChanged() argument
451 for (int index = 0; index < gains.length; index++) { in onAudioDeviceGainsChanged()
452 AudioGainConfigInfo gain = gains[index]; in onAudioDeviceGainsChanged()
DHalAudioGainCallback.java112 void onAudioDeviceGainsChanged(List<Integer> halReasons, List<CarAudioGainConfigInfo> gains); in onAudioDeviceGainsChanged() argument
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java77 void handleAudioDeviceGainsChanged(List<Integer> reasons, List<CarAudioGainConfigInfo> gains) { in handleAudioDeviceGainsChanged() argument
82 for (int index = 0; index < gains.size(); index++) { in handleAudioDeviceGainsChanged()
83 CarAudioGainConfigInfo gain = gains.get(index); in handleAudioDeviceGainsChanged()
99 gains); in handleAudioDeviceGainsChanged()
DCarAudioService.java370 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/
DCarAudioGainMonitorTest.java254 List<CarAudioGainConfigInfo> gains = in handleAudioDeviceGainsChanged_validZones() local
261 carAudioGainMonitor.handleAudioDeviceGainsChanged(reasons, gains); in handleAudioDeviceGainsChanged_validZones()
297 List<CarAudioGainConfigInfo> gains = in handleAudioDeviceGainsChanged_validAndUnknownZones() local
299 carAudioGainMonitor.handleAudioDeviceGainsChanged(reasons, gains); in handleAudioDeviceGainsChanged_validAndUnknownZones()
328 List<CarAudioGainConfigInfo> gains = List.of(unknownCarGain, unknownCarGain2); in handleAudioDeviceGainsChanged_unknownZones() local
329 carAudioGainMonitor.handleAudioDeviceGainsChanged(reasons, gains); in handleAudioDeviceGainsChanged_unknownZones()
DCarAudioDeviceInfoTest.java532 private AudioDeviceInfo getMockAudioDeviceInfo(AudioGain[] gains) { in getMockAudioDeviceInfo() argument
533 return getMockAudioDeviceInfo(gains, TYPE_BUS); in getMockAudioDeviceInfo()
536 private AudioDeviceInfo getMockAudioDeviceInfo(AudioGain[] gains, int type) { in getMockAudioDeviceInfo() argument
539 .setAudioGains(gains) in getMockAudioDeviceInfo()
DAudioDeviceInfoBuilder.java60 when(port.gains()).thenReturn(mAudioGains); in build()
DHalAudioDeviceInfoBuilder.java100 audioPort.gains = new android.media.audio.common.AudioGain[] { in build()
DCarAudioVolumeGroupTest.java766 private AudioDeviceAttributes getMockAudioDevice(AudioGain[] gains, String address) { in getMockAudioDevice() argument
769 .setAudioGains(gains) in getMockAudioDevice()
790 audioPort.gains = new android.media.audio.common.AudioGain[] { in createHalAudioDeviceInfo()
DCarAudioServiceUnitTest.java6447 audioPort.gains = new android.media.audio.common.AudioGain[] { in createHalAudioDeviceInfo()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/media/
DAudioManagerHelper.java123 Preconditions.checkArgument(deviceport.gains().length > 0, in getAudioGain()
125 for (int index = 0; index < deviceport.gains().length; index++) { in getAudioGain()
126 AudioGain gain = deviceport.gains()[index]; in getAudioGain()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dfr_wordlist.combined.gz