Searched refs:getMaxGain (Results 1 – 5 of 5) sorted by relevance
136 assertThat(builder.mMaxGain).isEqualTo(mMediaDeviceInfo.getMaxGain()); in setDeviceInfoForContext_withFirstCall_setsMaxGain()177 .setMaxGain(mMediaDeviceInfo.getMaxGain() + 1).build(); in setDeviceInfoForContext_SecondCallWithLargerMaxGain_updatesMaxGain()181 assertThat(builder.mMaxGain).isEqualTo(secondInfo.getMaxGain()); in setDeviceInfoForContext_SecondCallWithLargerMaxGain_updatesMaxGain()189 .setMaxGain(mMediaDeviceInfo.getMaxGain() - 1).build(); in setDeviceInfoForContext_SecondCallWithSmallerMaxGain_keepsFirstMaxGain()193 assertThat(builder.mMaxGain).isEqualTo(mMediaDeviceInfo.getMaxGain()); in setDeviceInfoForContext_SecondCallWithSmallerMaxGain_keepsFirstMaxGain()629 when(infoMock.getMaxGain()).thenReturn(mMaxGain); in build()
156 assertThat(info.getMaxGain()).isEqualTo(MAX_GAIN); in getMaxGain_returnsValueFromDeviceInfo()
381 if (info.getMaxGain() > mMaxGain) { in setDeviceInfoForContext()382 mMaxGain = info.getMaxGain(); in setDeviceInfoForContext()
94 int getMaxGain() { in getMaxGain() method in CarAudioDeviceInfo
122 when(cadiMock.getMaxGain()).thenReturn(5); in generateCarAudioDeviceInfo()