Home
last modified time | relevance | path

Searched refs:mLimitedGainIndex (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCoreAudioVolumeGroup.java83 mLimitedGainIndex = mMaxGainIndex; in CoreAudioVolumeGroup()
227 setCurrentGainIndexLocked(mLimitedGainIndex, in syncMuteState()
260 mLimitedGainIndex); in syncGainIndex()
262 if (mCurrentGainIndex != mLimitedGainIndex) { in syncGainIndex()
263 mCurrentGainIndex = mLimitedGainIndex; in syncGainIndex()
267 setCurrentGainIndexLocked(mLimitedGainIndex, /* canChangeMuteState= */ false); in syncGainIndex()
DCarVolumeGroup.java148 protected int mLimitedGainIndex; field in CarVolumeGroup
234 mLimitedGainIndex = limitIndex; in setLimitLocked()
244 return mLimitedGainIndex != getMaxGainIndex(); in isLimitedLocked()
254 return isLimitedLocked() && (index > mLimitedGainIndex); in isOverLimitLocked()
496 return mLimitedGainIndex; in getRestrictedGainForIndexLocked()
522 currentgainIndex = mLimitedGainIndex; in setCurrentGainIndex()
645 (isLimitedLocked() ? " (at: " + mLimitedGainIndex + ")" : "")); in dump()
710 proto.write(GainInfo.LIMITED_GAIN_INDEX, mLimitedGainIndex); in dumpProto()
888 || (shouldLimit && (halIndex != mLimitedGainIndex))) { in onAudioGainChanged()
DCarAudioVolumeGroup.java62 mLimitedGainIndex = getIndexForGainLocked(mMaxGain); in CarAudioVolumeGroup()
160 int epLimitedGainInMb = getGainForIndexLocked(mLimitedGainIndex); in calculateNewGainStageFromDeviceInfos()