Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DSoundDoseHelper.java254 public void onNewCsdValue(float currentCsd, SoundDoseRecord[] records) {
260 Log.i(TAG, "onNewCsdValue: " + currentCsd);
262 if (mCurrentCsd < currentCsd) {
264 if ((mCurrentCsd < mNextCsdWarning) && (currentCsd >= mNextCsdWarning)) {
283 if ((currentCsd < mNextCsdWarning - 1.0f) && (
288 mCurrentCsd = currentCsd;
289 updateSoundDoseRecords_l(records, currentCsd);
1128 private void updateSoundDoseRecords_l(SoundDoseRecord[] newRecords, float currentCsd) { in updateSoundDoseRecords_l() argument
1151 mLogger.enqueue(SoundDoseEvent.getDoseUpdateEvent(currentCsd, totalDuration)); in updateSoundDoseRecords_l()