Searched refs:SoundDoseEvent (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioServiceEvents.java | 518 static final class SoundDoseEvent extends EventLogger.Event { class in AudioServiceEvents 527 private SoundDoseEvent(int event, float f, long l) { in SoundDoseEvent() method in AudioServiceEvents.SoundDoseEvent 533 static SoundDoseEvent getMomentaryExposureEvent(float mel) { in getMomentaryExposureEvent() 534 return new SoundDoseEvent(MOMENTARY_EXPOSURE, mel, 0 /*ignored*/); in getMomentaryExposureEvent() 537 static SoundDoseEvent getDoseUpdateEvent(float csd, long totalDuration) { in getDoseUpdateEvent() 538 return new SoundDoseEvent(DOSE_UPDATE, csd, totalDuration); in getDoseUpdateEvent() 541 static SoundDoseEvent getDoseRepeat5xEvent() { in getDoseRepeat5xEvent() 542 return new SoundDoseEvent(DOSE_REPEAT_5X, 0 /*ignored*/, 0 /*ignored*/); in getDoseRepeat5xEvent() 545 static SoundDoseEvent getDoseAccumulationStartEvent() { in getDoseAccumulationStartEvent() 546 return new SoundDoseEvent(DOSE_ACCUMULATION_START, 0 /*ignored*/, 0 /*ignored*/); in getDoseAccumulationStartEvent()
|
H A D | SoundDoseHelper.java | 55 import com.android.server.audio.AudioServiceEvents.SoundDoseEvent; 235 mLogger.enqueue(SoundDoseEvent.getMomentaryExposureEvent(currentMel)); 1151 mLogger.enqueue(SoundDoseEvent.getDoseUpdateEvent(currentCsd, totalDuration)); in updateSoundDoseRecords_l()
|