Home
last modified time | relevance | path

Searched refs:getDefaultGain (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupFactoryTest.java160 .that(mFactory.getDefaultGain()).isEqualTo(mMediaDeviceInfo.getDefaultGain()); in setDeviceInfoForContext_withFirstCall_setsDefaultGain()
215 .setDefaultGain(mMediaDeviceInfo.getDefaultGain() + 1).build(); in setDeviceInfoForContext_SecondCallWithLargerDefaultGain_updatesDefaultGain()
220 .that(mFactory.getDefaultGain()).isEqualTo(secondInfo.getDefaultGain()); in setDeviceInfoForContext_SecondCallWithLargerDefaultGain_updatesDefaultGain()
227 .setDefaultGain(mMediaDeviceInfo.getDefaultGain() - 1).build(); in setDeviceInfoForContext_SecondCallWithSmallerDefaultGain_keepsFirstDefaultGain()
232 .that(mFactory.getDefaultGain()).isEqualTo(mMediaDeviceInfo.getDefaultGain()); in setDeviceInfoForContext_SecondCallWithSmallerDefaultGain_keepsFirstDefaultGain()
DTestCarAudioDeviceInfoBuilder.java88 when(infoMock.getDefaultGain()).thenReturn(mDefaultGain); in build()
DCarAudioVolumeGroupTest.java259 expect.withMessage("Media device info default gain").that(mMediaDeviceInfo.getDefaultGain()) in updateAudioDeviceInfo_succeeds()
268 .that(mNavigationDeviceInfo.getDefaultGain()).isEqualTo(TEST_GAIN_DEFAULT_VALUE); in updateAudioDeviceInfo_succeeds()
294 .that(mMediaDeviceInfo.getDefaultGain()).isEqualTo(DEFAULT_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
302 .that(mNavigationDeviceInfo.getDefaultGain()).isEqualTo(DEFAULT_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
DCarAudioDeviceInfoTest.java290 expectWithMessage("Device Info Default Gain").that(info.getDefaultGain()) in getDefaultGain_returnsValueFromDeviceInfo()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroupFactory.java98 if (info.getDefaultGain() > mDefaultGain) { in setDeviceInfoForContext()
101 mDefaultGain = info.getDefaultGain(); in setDeviceInfoForContext()
130 int getDefaultGain() { in getDefaultGain() method in CarVolumeGroupFactory
DCarAudioVolumeGroup.java143 if (info.getDefaultGain() < defaultGain) { in calculateNewGainStageFromDeviceInfos()
146 defaultGain = info.getDefaultGain(); in calculateNewGainStageFromDeviceInfos()
DCarAudioDeviceInfo.java229 int getDefaultGain() { in getDefaultGain() method in CarAudioDeviceInfo
346 mDefaultGain = audioGainInfo.getDefaultGain(); in setAudioGainInfoIfNeededLocked()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/media/
DAudioManagerHelper.java391 public int getDefaultGain() { in getDefaultGain() method in AudioManagerHelper.AudioGainInfo
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt20 method TIRAMISU_0 int getDefaultGain();
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt243 method public int getDefaultGain();
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java276 when(cadiMock.getDefaultGain()).thenReturn(2); in generateCarAudioDeviceInfo()