Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java129 void setCurrentGain(int gainInMillibels) { in setCurrentGain() argument
131 if (gainInMillibels < mMinGain) { in setCurrentGain()
132 gainInMillibels = mMinGain; in setCurrentGain()
133 } else if (gainInMillibels > mMaxGain) { in setCurrentGain()
134 gainInMillibels = mMaxGain; in setCurrentGain()
149 new int[] { gainInMillibels }, in setCurrentGain()
160 mCurrentGain = gainInMillibels; in setCurrentGain()
DCarVolumeGroup.java199 int gainInMillibels = getGainForIndex(gainIndex); in setCurrentGainIndex() local
202 gainInMillibels >= mMinGain && gainInMillibels <= mMaxGain, in setCurrentGainIndex()
206 + gainInMillibels + "index " in setCurrentGainIndex()
211 info.setCurrentGain(gainInMillibels); in setCurrentGainIndex()
DCarAudioService.java600 @AudioAttributes.AttributeUsage int usage, int gainInMillibels) { in createAudioPatch() argument
603 return createAudioPatchLocked(sourceAddress, usage, gainInMillibels); in createAudioPatch()
616 @AudioAttributes.AttributeUsage int usage, int gainInMillibels) { in createAudioPatchLocked() argument
649 audioGain.channelMask(), new int[] { gainInMillibels }, 0); in createAudioPatchLocked()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java329 @AudioAttributes.AttributeUsage int usage, int gainInMillibels) { in createAudioPatch() argument
331 return mService.createAudioPatch(sourceAddress, usage, gainInMillibels); in createAudioPatch()
DICarAudio.aidl38 CarAudioPatchHandle createAudioPatch(in String sourceAddress, int usage, int gainInMillibels); in createAudioPatch() argument