Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupFactoryTest.java152 .that(mFactory.getMaxGain()).isEqualTo(mMediaDeviceInfo.getMaxGain()); in setDeviceInfoForContext_withFirstCall_setsMaxGain()
191 .setMaxGain(mMediaDeviceInfo.getMaxGain() + 1).build(); in setDeviceInfoForContext_SecondCallWithLargerMaxGain_updatesMaxGain()
196 .that(mFactory.getMaxGain()).isEqualTo(secondInfo.getMaxGain()); in setDeviceInfoForContext_SecondCallWithLargerMaxGain_updatesMaxGain()
203 .setMaxGain(mMediaDeviceInfo.getMaxGain() - 1).build(); in setDeviceInfoForContext_SecondCallWithSmallerMaxGain_keepsFirstMaxGain()
208 .that(mFactory.getMaxGain()).isEqualTo(mMediaDeviceInfo.getMaxGain()); in setDeviceInfoForContext_SecondCallWithSmallerMaxGain_keepsFirstMaxGain()
DTestCarAudioDeviceInfoBuilder.java89 when(infoMock.getMaxGain()).thenReturn(mMaxGain); in build()
DCarAudioVolumeGroupTest.java255 expect.withMessage("Media device info max gain").that(mMediaDeviceInfo.getMaxGain()) in updateAudioDeviceInfo_succeeds()
263 expect.withMessage("Nav device info max gain").that(mNavigationDeviceInfo.getMaxGain()) in updateAudioDeviceInfo_succeeds()
290 .that(mMediaDeviceInfo.getMaxGain()).isEqualTo(MAX_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
298 .that(mNavigationDeviceInfo.getMaxGain()).isEqualTo(MAX_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
DCarAudioDeviceInfoTest.java271 .that(info.getMaxGain()).isEqualTo(MAX_GAIN); in getMaxGain_returnsValueFromDeviceInfo()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroupFactory.java103 if (info.getMaxGain() > mMaxGain) { in setDeviceInfoForContext()
104 mMaxGain = info.getMaxGain(); in setDeviceInfoForContext()
125 int getMaxGain() { in getMaxGain() method in CarVolumeGroupFactory
DCarAudioDeviceInfo.java235 int getMaxGain() { in getMaxGain() method in CarAudioDeviceInfo
347 mMaxGain = audioGainInfo.getMaxGain(); in setAudioGainInfoIfNeededLocked()
456 + " maxGain: " + getMaxGain() in toString()
DCarAudioVolumeGroup.java148 if (info.getMaxGain() > maxGain) { in calculateNewGainStageFromDeviceInfos()
149 maxGain = info.getMaxGain(); in calculateNewGainStageFromDeviceInfos()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/media/
DAudioManagerHelper.java387 public int getMaxGain() { in getMaxGain() method in AudioManagerHelper.AudioGainInfo
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt19 method TIRAMISU_0 int getMaxGain();
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt244 method public int getMaxGain();
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java277 when(cadiMock.getMaxGain()).thenReturn(5); in generateCarAudioDeviceInfo()