Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java127 assertThat(builder.mMinGain).isEqualTo(mMediaDeviceInfo.getMinGain()); in setDeviceInfoForContext_withFirstCall_setsMinGain()
153 .setMinGain(mMediaDeviceInfo.getMinGain() - 1).build(); in setDeviceInfoForContext_SecondCallWithSmallerMinGain_updatesMinGain()
157 assertThat(builder.mMinGain).isEqualTo(secondInfo.getMinGain()); in setDeviceInfoForContext_SecondCallWithSmallerMinGain_updatesMinGain()
165 .setMinGain(mMediaDeviceInfo.getMinGain() + 1).build(); in setDeviceInfoForContext_SecondCallWithLargerMinGain_keepsFirstMinGain()
169 assertThat(builder.mMinGain).isEqualTo(mMediaDeviceInfo.getMinGain()); in setDeviceInfoForContext_SecondCallWithLargerMinGain_keepsFirstMinGain()
630 when(infoMock.getMinGain()).thenReturn(mMinGain); in build()
DCarAudioDeviceInfoTest.java164 assertThat(info.getMinGain()).isEqualTo(MIN_GAIN); in getMinGain_returnsValueFromDeviceInfo()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java384 if (info.getMinGain() < mMinGain) { in setDeviceInfoForContext()
385 mMinGain = info.getMinGain(); in setDeviceInfoForContext()
DCarAudioDeviceInfo.java98 int getMinGain() { in getMinGain() method in CarAudioDeviceInfo
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java123 when(cadiMock.getMinGain()).thenReturn(0); in generateCarAudioDeviceInfo()