Searched refs:MIN_GAIN (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioVolumeGroupTest.java | 31 import static com.android.car.audio.GainBuilder.MIN_GAIN; 83 private static final int DEFAULT_GAIN_INDEX = getIndexForGain(MIN_GAIN, STEP_SIZE, 86 private static final int MAX_GAIN_INDEX = getIndexForGain(MIN_GAIN, STEP_SIZE, MAX_GAIN); 220 carVolumeGroup.setCurrentGainIndex(MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForUser() 223 GROUP_ID, MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForUser() 232 carVolumeGroup.setCurrentGainIndex(MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser() 236 GROUP_ID, MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser() 288 .that(mMediaDeviceInfo.getMinGain()).isEqualTo(MIN_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate() 296 .that(mNavigationDeviceInfo.getMinGain()).isEqualTo(MIN_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate() 310 TEST_MEDIA_PORT_NAME, MIN_GAIN, MAX_GAIN, DEFAULT_GAIN, STEP_SIZE, in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType() [all …]
|
D | GainBuilder.java | 25 public static final int MIN_GAIN = 0; field in GainBuilder 32 private int mMinValue = MIN_GAIN;
|
D | TestCarAudioDeviceInfoBuilder.java | 34 public static final int MIN_GAIN = 3; field in TestCarAudioDeviceInfoBuilder 42 private int mMinGain = MIN_GAIN;
|
D | HalAudioDeviceInfoBuilder.java | 25 import static com.android.car.audio.GainBuilder.MIN_GAIN; 46 private int mMinValue = MIN_GAIN;
|
D | CarVolumeGroupFactoryTest.java | 42 - TestCarAudioDeviceInfoBuilder.MIN_GAIN) / TestCarAudioDeviceInfoBuilder.STEP_VALUE; 45 - TestCarAudioDeviceInfoBuilder.MIN_GAIN) / TestCarAudioDeviceInfoBuilder.STEP_VALUE;
|
D | CarAudioDeviceInfoTest.java | 33 import static com.android.car.audio.GainBuilder.MIN_GAIN; 281 .that(info.getMinGain()).isEqualTo(MIN_GAIN); in getMinGain_returnsValueFromDeviceInfo()
|
D | CarVolumeGroupUnitTest.java | 78 - TestCarAudioDeviceInfoBuilder.MIN_GAIN) / TestCarAudioDeviceInfoBuilder.STEP_VALUE; 81 - TestCarAudioDeviceInfoBuilder.MIN_GAIN) / TestCarAudioDeviceInfoBuilder.STEP_VALUE; 482 carVolumeGroup.setCurrentGainIndex(TestCarAudioDeviceInfoBuilder.MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForUser() 485 TestCarAudioDeviceInfoBuilder.MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForUser() 494 carVolumeGroup.setCurrentGainIndex(TestCarAudioDeviceInfoBuilder.MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser() 497 GROUP_ID, TestCarAudioDeviceInfoBuilder.MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser()
|
D | CarAudioServiceUnitTest.java | 104 import static com.android.car.audio.GainBuilder.MIN_GAIN; 1783 TEST_PRIMARY_ZONE_GROUP_0)).isEqualTo((MAX_GAIN - MIN_GAIN) / STEP_SIZE); in getGroupMaxVolume_forPrimaryZone() 1802 .isEqualTo((DEFAULT_GAIN - MIN_GAIN) / STEP_SIZE); in getGroupCurrentVolume_forPrimaryZone()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceControllerTest.java | 90 private static final int MIN_GAIN = 0; field in VolumeSettingsPreferenceControllerTest 97 private static final int TEST_MIN_VOLUME = MIN_GAIN / STEP_SIZE;
|