Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupFactoryTest.java144 .that(mFactory.getMinGain()).isEqualTo(mMediaDeviceInfo.getMinGain()); in setDeviceInfoForContext_withFirstCall_setsMinGain()
167 .setMinGain(mMediaDeviceInfo.getMinGain() - 1).build(); in setDeviceInfoForContext_SecondCallWithSmallerMinGain_updatesMinGain()
172 .that(mFactory.getMinGain()).isEqualTo(secondInfo.getMinGain()); in setDeviceInfoForContext_SecondCallWithSmallerMinGain_updatesMinGain()
179 .setMinGain(mMediaDeviceInfo.getMinGain() + 1).build(); in setDeviceInfoForContext_SecondCallWithLargerMinGain_keepsFirstMinGain()
184 .that(mFactory.getMinGain()).isEqualTo(mMediaDeviceInfo.getMinGain()); in setDeviceInfoForContext_SecondCallWithLargerMinGain_keepsFirstMinGain()
DTestCarAudioDeviceInfoBuilder.java90 when(infoMock.getMinGain()).thenReturn(mMinGain); in build()
DCarAudioVolumeGroupTest.java253 expect.withMessage("Media device info min gain").that(mMediaDeviceInfo.getMinGain()) in updateAudioDeviceInfo_succeeds()
261 expect.withMessage("Nav device info min gain").that(mNavigationDeviceInfo.getMinGain()) in updateAudioDeviceInfo_succeeds()
288 .that(mMediaDeviceInfo.getMinGain()).isEqualTo(MIN_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
296 .that(mNavigationDeviceInfo.getMinGain()).isEqualTo(MIN_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
DCarAudioDeviceInfoTest.java281 .that(info.getMinGain()).isEqualTo(MIN_GAIN); in getMinGain_returnsValueFromDeviceInfo()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroupFactory.java106 if (info.getMinGain() < mMinGain) { in setDeviceInfoForContext()
107 mMinGain = info.getMinGain(); in setDeviceInfoForContext()
120 int getMinGain() { in getMinGain() method in CarVolumeGroupFactory
DCarAudioDeviceInfo.java241 int getMinGain() { in getMinGain() method in CarAudioDeviceInfo
348 mMinGain = audioGainInfo.getMinGain(); in setAudioGainInfoIfNeededLocked()
457 + " minGain: " + getMinGain(); in toString()
DCarAudioVolumeGroup.java151 if (info.getMinGain() < minGain) { in calculateNewGainStageFromDeviceInfos()
152 minGain = info.getMinGain(); in calculateNewGainStageFromDeviceInfos()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/media/
DAudioManagerHelper.java383 public int getMinGain() { in getMinGain() method in AudioManagerHelper.AudioGainInfo
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt18 method TIRAMISU_0 int getMinGain();
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt245 method public int getMinGain();
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java278 when(cadiMock.getMinGain()).thenReturn(0); in generateCarAudioDeviceInfo()