Searched refs:getDefaultGain (Results 1 – 5 of 5) sorted by relevance
145 assertThat(builder.mDefaultGain).isEqualTo(mMediaDeviceInfo.getDefaultGain()); in setDeviceInfoForContext_withFirstCall_setsDefaultGain()201 .setDefaultGain(mMediaDeviceInfo.getDefaultGain() + 1).build(); in setDeviceInfoForContext_SecondCallWithLargerDefaultGain_updatesDefaultGain()205 assertThat(builder.mDefaultGain).isEqualTo(secondInfo.getDefaultGain()); in setDeviceInfoForContext_SecondCallWithLargerDefaultGain_updatesDefaultGain()213 .setDefaultGain(mMediaDeviceInfo.getDefaultGain() - 1).build(); in setDeviceInfoForContext_SecondCallWithSmallerDefaultGain_keepsFirstDefaultGain()217 assertThat(builder.mDefaultGain).isEqualTo(mMediaDeviceInfo.getDefaultGain()); in setDeviceInfoForContext_SecondCallWithSmallerDefaultGain_keepsFirstDefaultGain()628 when(infoMock.getDefaultGain()).thenReturn(mDefaultGain); in build()
172 assertThat(info.getDefaultGain()).isEqualTo(DEFAULT_GAIN); in getDefaultGain_returnsValueFromDeviceInfo()
376 if (info.getDefaultGain() > mDefaultGain) { in setDeviceInfoForContext()379 mDefaultGain = info.getDefaultGain(); in setDeviceInfoForContext()
90 int getDefaultGain() { in getDefaultGain() method in CarAudioDeviceInfo
121 when(cadiMock.getDefaultGain()).thenReturn(2); in generateCarAudioDeviceInfo()