Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCoreAudioVolumeGroup.java180 int previousAudibleIndex = getRestrictedGainForIndexLocked(mCurrentGainIndex); in onAudioVolumeGroupChanged()
225 if (mAmCurrentGainIndex == mCurrentGainIndex) { in syncMuteState()
241 mCurrentGainIndex = 0; in syncMuteState()
262 if (mCurrentGainIndex != mLimitedGainIndex) { in syncGainIndex()
263 mCurrentGainIndex = mLimitedGainIndex; in syncGainIndex()
274 mCurrentGainIndex = mAmCurrentGainIndex; in syncGainIndex()
277 } else if (getRestrictedGainForIndexLocked(mCurrentGainIndex) != mAmCurrentGainIndex) { in syncGainIndex()
282 mCurrentGainIndex = mAmCurrentGainIndex; in syncGainIndex()
DCarVolumeGroup.java121 protected int mCurrentGainIndex = UNINITIALIZED; field in CarVolumeGroup
249 return isOverLimitLocked(mCurrentGainIndex); in isOverLimitLocked()
487 return mCurrentGainIndex; in getCurrentGainIndexLocked()
529 mCurrentGainIndex = currentgainIndex; in setCurrentGainIndex()
534 setCurrentGainIndexLocked(mCurrentGainIndex); in setCurrentGainIndex()
577 mCurrentGainIndex = activationVolume; in handleActivationVolume()
578 setCurrentGainIndexLocked(mCurrentGainIndex); in handleActivationVolume()
592 + " currentGainIndex: " + mCurrentGainIndex in toString()
616 mCurrentGainIndex); in dump()
675 proto.write(CarAudioDumpProto.CarVolumeGain.CURRENT_GAIN_INDEX, mCurrentGainIndex); in dumpProto()
[all …]
DCarAudioVolumeGroup.java104 mMaxGain, mDefaultGain, getGainForIndexLocked(mCurrentGainIndex)); in dumpLocked()
196 mCurrentGainIndex = getIndexForGainLocked(epCurrentGainInMb); in calculateNewGainStageFromDeviceInfos()
197 if (!isValidGainIndexLocked(mCurrentGainIndex)) { in calculateNewGainStageFromDeviceInfos()
198 mCurrentGainIndex = getIndexForGainLocked(mDefaultGain); in calculateNewGainStageFromDeviceInfos()
231 setCurrentGainIndexLocked(getRestrictedGainForIndexLocked(mCurrentGainIndex)); in calculateNewGainStageFromDeviceInfos()