Searched refs:mMinGain (Results 1 – 3 of 3) sorted by relevance
59 private final int mMinGain; field in CarVolumeGroup86 mMinGain = minGain; in CarVolumeGroup()147 return getIndexForGain(mMinGain); in getMinGainIndex()163 "Gain out of range (%d:%d) %d index %d", mMinGain, mMaxGain, in setCurrentGainIndex() local211 writer.printf("Gain values (min / max / default/ current): %d %d %d %d\n", mMinGain, in dump()295 return gainIndex >= getIndexForGain(mMinGain) in isValidGainIndex()312 return mMinGain + gainIndex * mStepSize; in getGainForIndex()316 return (gainInMillibel - mMinGain) / mStepSize; in getIndexForGain()349 int mMinGain = Integer.MAX_VALUE; field in CarVolumeGroup.Builder384 if (info.getMinGain() < mMinGain) { in setDeviceInfoForContext()[all …]
53 private final int mMinGain; field in CarAudioDeviceInfo72 mMinGain = audioGain.minValue(); in CarAudioDeviceInfo()99 return mMinGain; in getMinGain()130 if (gainInMillibels < mMinGain) { in setCurrentGain()131 gainInMillibels = mMinGain; in setCurrentGain()228 + " minGain: " + mMinGain; in toString()238 mMinGain, mMaxGain, mDefaultGain, mCurrentGain); in dump()
127 assertThat(builder.mMinGain).isEqualTo(mMediaDeviceInfo.getMinGain()); in setDeviceInfoForContext_withFirstCall_setsMinGain()157 assertThat(builder.mMinGain).isEqualTo(secondInfo.getMinGain()); in setDeviceInfoForContext_SecondCallWithSmallerMinGain_updatesMinGain()169 assertThat(builder.mMinGain).isEqualTo(mMediaDeviceInfo.getMinGain()); in setDeviceInfoForContext_SecondCallWithLargerMinGain_keepsFirstMinGain()598 private int mMinGain = MIN_GAIN; field in CarVolumeGroupUnitTest.InfoBuilder616 mMinGain = minGain; in setMinGain()630 when(infoMock.getMinGain()).thenReturn(mMinGain); in build()