Searched refs:getDefaultGain (Results 1 – 11 of 11) sorted by relevance
160 .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()
88 when(infoMock.getDefaultGain()).thenReturn(mDefaultGain); in build()
259 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()
290 expectWithMessage("Device Info Default Gain").that(info.getDefaultGain()) in getDefaultGain_returnsValueFromDeviceInfo()
98 if (info.getDefaultGain() > mDefaultGain) { in setDeviceInfoForContext()101 mDefaultGain = info.getDefaultGain(); in setDeviceInfoForContext()130 int getDefaultGain() { in getDefaultGain() method in CarVolumeGroupFactory
143 if (info.getDefaultGain() < defaultGain) { in calculateNewGainStageFromDeviceInfos()146 defaultGain = info.getDefaultGain(); in calculateNewGainStageFromDeviceInfos()
229 int getDefaultGain() { in getDefaultGain() method in CarAudioDeviceInfo346 mDefaultGain = audioGainInfo.getDefaultGain(); in setAudioGainInfoIfNeededLocked()
391 public int getDefaultGain() { in getDefaultGain() method in AudioManagerHelper.AudioGainInfo
20 method TIRAMISU_0 int getDefaultGain();
243 method public int getDefaultGain();
276 when(cadiMock.getDefaultGain()).thenReturn(2); in generateCarAudioDeviceInfo()