Searched refs:currentCsd (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | ISoundDoseCallback.aidl | 34 oneway void onNewCsdValue(float currentCsd, in SoundDoseRecord[] records); in onNewCsdValue() argument
|
D | ISoundDose.aidl | 36 oneway void resetCsd(float currentCsd, in SoundDoseRecord[] records); in resetCsd() argument
|
/frameworks/av/services/audioflinger/sounddose/ |
D | SoundDoseManager.cpp | 351 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()
|
D | SoundDoseManager.h | 175 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/ |
D | SoundDoseHelper.java | 272 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()
|