Searched refs:SoundDoseEvent (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 574 static final class SoundDoseEvent extends EventLogger.Event { class in AudioServiceEvents 585 private SoundDoseEvent(int event, float f, long l) { in SoundDoseEvent() method in AudioServiceEvents.SoundDoseEvent 591 static SoundDoseEvent getMomentaryExposureEvent(float mel) { in getMomentaryExposureEvent() 592 return new SoundDoseEvent(MOMENTARY_EXPOSURE, mel, 0 /*ignored*/); in getMomentaryExposureEvent() 595 static SoundDoseEvent getDoseUpdateEvent(float csd, long totalDuration) { in getDoseUpdateEvent() 596 return new SoundDoseEvent(DOSE_UPDATE, csd, totalDuration); in getDoseUpdateEvent() 599 static SoundDoseEvent getDoseRepeat5xEvent() { in getDoseRepeat5xEvent() 600 return new SoundDoseEvent(DOSE_REPEAT_5X, 0 /*ignored*/, 0 /*ignored*/); in getDoseRepeat5xEvent() 603 static SoundDoseEvent getDoseAccumulationStartEvent() { in getDoseAccumulationStartEvent() 604 return new SoundDoseEvent(DOSE_ACCUMULATION_START, 0 /*ignored*/, 0 /*ignored*/); in getDoseAccumulationStartEvent() [all …]
|
D | SoundDoseHelper.java | 58 import com.android.server.audio.AudioServiceEvents.SoundDoseEvent; 253 mLogger.enqueue(SoundDoseEvent.getMomentaryExposureEvent(currentMel)); 1201 mLogger.enqueue(SoundDoseEvent.getDoseUpdateEvent(currentCsd, totalDuration)); in updateSoundDoseRecords_l() 1316 mLogger.enqueue(SoundDoseEvent.getLowerVolumeToRs1Event()); in onLowerVolumeToRs1()
|