Home
last modified time | relevance | path

Searched refs:GainBuilder (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DGainBuilder.java24 public final class GainBuilder { class
36 GainBuilder setMode(int mode) { in setMode()
41 GainBuilder setMaxValue(int maxValue) { in setMaxValue()
46 GainBuilder setMinValue(int minValue) { in setMinValue()
51 GainBuilder setDefaultValue(int defaultValue) { in setDefaultValue()
56 GainBuilder setStepSize(int stepSize) { in setStepSize()
DCarAudioDeviceInfoTest.java32 import static com.android.car.audio.GainBuilder.MAX_GAIN;
33 import static com.android.car.audio.GainBuilder.MIN_GAIN;
34 import static com.android.car.audio.GainBuilder.STEP_SIZE;
95 AudioGain gainWithChannelMode = new GainBuilder().setMode(AudioGain.MODE_CHANNELS).build(); in setAudioDeviceInfo_requiresJointModeGain()
110 AudioGain gainWithChannelMode = new GainBuilder().setMaxValue(10).setMinValue(20).build(); in setAudioDeviceInfo_requiresMaxGainLargerThanMin()
125 AudioGain gainWithChannelMode = new GainBuilder().setDefaultValue(10).setMinValue( in setAudioDeviceInfo_requiresDefaultGainLargerThanMin()
141 AudioGain gainWithChannelMode = new GainBuilder().setDefaultValue(15).setMaxValue( in setAudioDeviceInfo_requiresDefaultGainSmallerThanMax()
157 AudioGain gainWithChannelMode = new GainBuilder().setStepSize(7).build(); in setAudioDeviceInfo_requiresGainStepSizeFactorOfRange()
172 AudioGain gainWithChannelMode = new GainBuilder().setStepSize(7).setMaxValue(98).build(); in setAudioDeviceInfo_requiresGainStepSizeFactorOfRangeToDefault()
291 .isEqualTo(GainBuilder.DEFAULT_GAIN); in getDefaultGain_returnsValueFromDeviceInfo()
[all …]
DHalAudioDeviceInfoBuilder.java23 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN;
24 import static com.android.car.audio.GainBuilder.MAX_GAIN;
25 import static com.android.car.audio.GainBuilder.MIN_GAIN;
26 import static com.android.car.audio.GainBuilder.STEP_SIZE;
DVolumeGroupBuilder.java21 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN;
22 import static com.android.car.audio.GainBuilder.MAX_GAIN;
23 import static com.android.car.audio.GainBuilder.STEP_SIZE;
DCarAudioVolumeGroupTest.java29 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN;
30 import static com.android.car.audio.GainBuilder.MAX_GAIN;
31 import static com.android.car.audio.GainBuilder.MIN_GAIN;
32 import static com.android.car.audio.GainBuilder.STEP_SIZE;
762 AudioGain mockGain = new GainBuilder().build(); in getMockAudioDevice()
774 AudioGain mockGain = new GainBuilder().build(); in getMockAudioDeviceInfo()
DCarAudioGainMonitorTest.java22 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN;
23 import static com.android.car.audio.GainBuilder.MAX_GAIN;
24 import static com.android.car.audio.GainBuilder.STEP_SIZE;
DCarAudioServiceUnitTest.java102 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN;
103 import static com.android.car.audio.GainBuilder.MAX_GAIN;
104 import static com.android.car.audio.GainBuilder.MIN_GAIN;
105 import static com.android.car.audio.GainBuilder.STEP_SIZE;
6603 .setAudioGains(new AudioGain[] {new GainBuilder().build()}) in generateOutputDeviceInfos()
6607 .setAudioGains(new AudioGain[] {new GainBuilder().build()}) in generateOutputDeviceInfos()
6611 .setAudioGains(new AudioGain[] {new GainBuilder().build()}) in generateOutputDeviceInfos()
6615 .setAudioGains(new AudioGain[] {new GainBuilder().build()}) in generateOutputDeviceInfos()
6619 .setAudioGains(new AudioGain[] {new GainBuilder().build()}) in generateOutputDeviceInfos()
6623 .setAudioGains(new AudioGain[] {new GainBuilder().build()}) in generateOutputDeviceInfos()
[all …]