/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioVolumeGroupTest.java | 29 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN; 84 DEFAULT_GAIN); 294 .that(mMediaDeviceInfo.getDefaultGain()).isEqualTo(DEFAULT_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate() 302 .that(mNavigationDeviceInfo.getDefaultGain()).isEqualTo(DEFAULT_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate() 310 TEST_MEDIA_PORT_NAME, MIN_GAIN, MAX_GAIN, DEFAULT_GAIN, STEP_SIZE, in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType() 313 TEST_NAV_PORT_NAME, MIN_GAIN, MAX_GAIN, DEFAULT_GAIN, STEP_SIZE, in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType() 335 TEST_MEDIA_PORT_NAME, MIN_GAIN, MAX_GAIN, DEFAULT_GAIN * 2, STEP_SIZE, in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType() 338 TEST_NAV_PORT_NAME, MIN_GAIN, MAX_GAIN, DEFAULT_GAIN * 2, STEP_SIZE, in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType() 360 TEST_MEDIA_PORT_NAME, MIN_GAIN, MAX_GAIN, DEFAULT_GAIN, STEP_SIZE, in calculateNewGainStageFromDeviceInfos_withDifferentStepValues_throws() 363 TEST_NAV_PORT_NAME, MIN_GAIN, MAX_GAIN, DEFAULT_GAIN, STEP_SIZE - 1, in calculateNewGainStageFromDeviceInfos_withDifferentStepValues_throws() [all …]
|
D | GainBuilder.java | 27 public static final int DEFAULT_GAIN = 50; field in GainBuilder 33 private int mDefaultValue = DEFAULT_GAIN;
|
D | TestCarAudioDeviceInfoBuilder.java | 36 public static final int DEFAULT_GAIN = 9; field in TestCarAudioDeviceInfoBuilder 41 private int mDefaultGain = DEFAULT_GAIN;
|
D | HalAudioDeviceInfoBuilder.java | 23 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN; 47 private int mDefaultValue = DEFAULT_GAIN;
|
D | VolumeGroupBuilder.java | 21 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN; 174 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) in build()
|
D | CarAudioGainMonitorTest.java | 22 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN; 90 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) 98 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) 106 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE)
|
D | CarVolumeGroupUnitTest.java | 77 private static final int DEFAULT_GAIN_INDEX = (TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN 1492 verify(mMediaDeviceInfo).setCurrentGain(TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN); in onAudioGainChanged_validGain() 1493 verify(mNavigationDeviceInfo).setCurrentGain(TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN); in onAudioGainChanged_validGain() 1498 TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN); in onAudioGainChanged_validGain() 1500 TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN); in onAudioGainChanged_validGain() 2288 TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN)); in build()
|
D | CarVolumeGroupFactoryTest.java | 41 private static final int DEFAULT_GAIN_INDEX = (TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN
|
D | CarAudioServiceUnitTest.java | 102 import static com.android.car.audio.GainBuilder.DEFAULT_GAIN; 681 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) in setUpAudioManager() 692 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) in setUpAudioManager() 704 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) in setUpAudioManager() 715 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) in setUpAudioManager() 725 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) in setUpAudioManager() 735 .setVolumeGainIndex(DEFAULT_GAIN / STEP_SIZE) in setUpAudioManager() 1186 service.createAudioPatch(PRIMARY_ZONE_FM_TUNER_ADDRESS, USAGE_MEDIA, DEFAULT_GAIN)); in createAudioPatch_onMediaOutputDevice_failsForConfigurationMissing() 1201 USAGE_MEDIA, DEFAULT_GAIN)); in createAudioPatch_onMediaOutputDevice_failsForMissingPermission() 1216 .createAudioPatch(mFmTunerInputDevice, mMediaOutputDevice, DEFAULT_GAIN)); in createAudioPatch_onMediaOutputDevice_succeeds() [all …]
|
D | CarAudioDeviceInfoTest.java | 291 .isEqualTo(GainBuilder.DEFAULT_GAIN); in getDefaultGain_returnsValueFromDeviceInfo()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceControllerTest.java | 92 private static final int DEFAULT_GAIN = 50; field in VolumeSettingsPreferenceControllerTest 95 private static final int TEST_DEFAULT_VOLUME = DEFAULT_GAIN / STEP_SIZE;
|