Searched refs:mDefaultGain (Results 1 – 3 of 3) sorted by relevance
56 private final int mDefaultGain; field in CarVolumeGroup85 mDefaultGain = defaultGain; in CarVolumeGroup()212 mMaxGain, mDefaultGain, getGainForIndex(mCurrentGainIndex)); in dump()290 mCurrentGainIndex = getIndexForGain(mDefaultGain); in updateCurrentGainIndexLocked()301 return getIndexForGain(mDefaultGain); in getDefaultGainIndex()345 int mDefaultGain = Integer.MIN_VALUE; field in CarVolumeGroup.Builder376 if (info.getDefaultGain() > mDefaultGain) { in setDeviceInfoForContext()379 mDefaultGain = info.getDefaultGain(); in setDeviceInfoForContext()395 mDefaultGain, mMinGain, mMaxGain, mContextToAddress, in build()
51 private final int mDefaultGain; field in CarAudioDeviceInfo70 mDefaultGain = audioGain.defaultValue(); in CarAudioDeviceInfo()91 return mDefaultGain; in getDefaultGain()238 mMinGain, mMaxGain, mDefaultGain, mCurrentGain); in dump()
145 assertThat(builder.mDefaultGain).isEqualTo(mMediaDeviceInfo.getDefaultGain()); in setDeviceInfoForContext_withFirstCall_setsDefaultGain()205 assertThat(builder.mDefaultGain).isEqualTo(secondInfo.getDefaultGain()); in setDeviceInfoForContext_SecondCallWithLargerDefaultGain_updatesDefaultGain()217 assertThat(builder.mDefaultGain).isEqualTo(mMediaDeviceInfo.getDefaultGain()); in setDeviceInfoForContext_SecondCallWithSmallerDefaultGain_keepsFirstDefaultGain()597 private int mDefaultGain = DEFAULT_GAIN; field in CarVolumeGroupUnitTest.InfoBuilder611 mDefaultGain = defaultGain; in setDefaultGain()628 when(infoMock.getDefaultGain()).thenReturn(mDefaultGain); in build()