Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/aidl/android/media/
DISoundDoseCallback.aidl34 oneway void onNewCsdValue(float currentCsd, in SoundDoseRecord[] records); in onNewCsdValue() argument
DISoundDose.aidl36 oneway void resetCsd(float currentCsd, in SoundDoseRecord[] records); in resetCsd() argument
/frameworks/av/services/audioflinger/sounddose/
DSoundDoseManager.cpp351 float currentCsd, const std::vector<media::SoundDoseRecord>& records) { in resetCsd() argument
355 soundDoseManager->resetCsd(currentCsd, records); in resetCsd()
634 void SoundDoseManager::resetCsd(float currentCsd, in resetCsd() argument
644 mMelAggregator->reset(currentCsd, resetRecords); in resetCsd()
653 float currentCsd; in onNewMelValues() local
711 currentCsd = mMelAggregator->getCsd(); in onNewMelValues()
723 soundDoseCallback->onNewCsdValue(currentCsd, newRecordsToReport); in onNewMelValues()
DSoundDoseManager.h175 binder::Status resetCsd(float currentCsd,
215 void resetCsd(float currentCsd, const std::vector<media::SoundDoseRecord>& records);
/frameworks/base/services/core/java/com/android/server/audio/
DSoundDoseHelper.java272 public void onNewCsdValue(float currentCsd, SoundDoseRecord[] records) {
278 Log.i(TAG, "onNewCsdValue: " + currentCsd);
280 if (mCurrentCsd < currentCsd) {
282 if ((mCurrentCsd < mNextCsdWarning) && (currentCsd >= mNextCsdWarning)) {
301 if ((currentCsd < mNextCsdWarning - 1.0f) && (
306 mCurrentCsd = currentCsd;
307 updateSoundDoseRecords_l(records, currentCsd);
1176 private void updateSoundDoseRecords_l(SoundDoseRecord[] newRecords, float currentCsd) { in updateSoundDoseRecords_l() argument
1201 mLogger.enqueue(SoundDoseEvent.getDoseUpdateEvent(currentCsd, totalDuration)); in updateSoundDoseRecords_l()