Searched refs:volumeDb (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 101 void setVolume(float volumeDb) { mCurVolumeDb = volumeDb; } in setVolume() argument 159 virtual bool setVolume(float volumeDb, 222 void setCurVolume(VolumeSource vs, float volumeDb) in setCurVolume() argument 225 mVolumeActivities[vs].setVolume(volumeDb); in setCurVolume() 335 virtual bool setVolume(float volumeDb, 409 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() 392 bool SwAudioOutputDescriptor::setVolume(float volumeDb, in setVolume() argument 399 if (!AudioOutputDescriptor::setVolume(volumeDb, vs, streamTypes, device, delayMs, force)) { in setVolume() 425 int gainValueMb = ((volumeDb * 100)/ gainStepValueInMb) * gainStepValueInMb; in setVolume() 442 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume() 633 bool HwAudioOutputDescriptor::setVolume(float volumeDb, in setVolume() argument 640 AudioOutputDescriptor::setVolume(volumeDb, volumeSource, streams, device, delayMs, force); in setVolume()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 5683 float volumeDb = curves.volIndexToDb(Volume::getDeviceCategory(device), index); in computeVolume() local 5699 return ringVolumeDb - 4 > volumeDb ? ringVolumeDb - 4 : volumeDb; in computeVolume() 5725 volumeSource, volumeDb); in computeVolume() 5726 if ((volumeDb > maxVoiceVolDb) && !exemptFromCapping) { in computeVolume() 5728 volumeSource, volumeDb, callVolumeSrc, maxVoiceVolDb); in computeVolume() 5729 volumeDb = maxVoiceVolDb; in computeVolume() 5755 volumeDb += SONIFICATION_HEADSET_VOLUME_FACTOR_DB; in computeVolume() 5764 if (volumeDb > minVolDb) { in computeVolume() 5765 volumeDb = minVolDb; in computeVolume() 5772 if ((volumeDb > -96.0f) && in computeVolume() [all …]
|