Searched refs:volumeDb (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 102 void setVolume(float volumeDb) { mCurVolumeDb = volumeDb; } in setVolume() argument 161 virtual bool setVolume(float volumeDb, 224 void setCurVolume(VolumeSource vs, float volumeDb) in setCurVolume() argument 227 mVolumeActivities[vs].setVolume(volumeDb); in setCurVolume() 346 virtual bool setVolume(float volumeDb, 420 virtual bool setVolume(float volumeDb,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 152 bool AudioOutputDescriptor::setVolume(float volumeDb, in setVolume() argument 162 if (volumeDb != getCurVolume(volumeSource) || force) { in setVolume() 163 … ALOGV("%s for volumeSrc %d, volume %f, delay %d", __func__, volumeSource, volumeDb, delayMs); in setVolume() 164 setCurVolume(volumeSource, volumeDb); in setVolume() 410 bool SwAudioOutputDescriptor::setVolume(float volumeDb, in setVolume() argument 417 if (!AudioOutputDescriptor::setVolume(volumeDb, vs, streamTypes, deviceTypes, delayMs, force)) { in setVolume() 443 int gainValueMb = ((volumeDb * 100)/ gainStepValueInMb) * gainStepValueInMb; in setVolume() 460 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume() 652 bool HwAudioOutputDescriptor::setVolume(float volumeDb, in setVolume() argument 659 volumeDb, volumeSource, streams, deviceTypes, delayMs, force); in setVolume()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 5772 float volumeDb = curves.volIndexToDb(Volume::getDeviceCategory(deviceTypes), index); in computeVolume() local 5789 return ringVolumeDb - 4 > volumeDb ? ringVolumeDb - 4 : volumeDb; in computeVolume() 5817 volumeSource, volumeDb); in computeVolume() 5818 if ((volumeDb > maxVoiceVolDb) && !exemptFromCapping) { in computeVolume() 5820 volumeSource, volumeDb, callVolumeSrc, maxVoiceVolDb); in computeVolume() 5821 volumeDb = maxVoiceVolDb; in computeVolume() 5848 volumeDb += SONIFICATION_HEADSET_VOLUME_FACTOR_DB; in computeVolume() 5859 if (volumeDb > minVolDb) { in computeVolume() 5860 volumeDb = minVolDb; in computeVolume() 5867 if ((volumeDb > -96.0f) && in computeVolume() [all …]
|