Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DEventLoggerTest.java57 private EventLogger mEventLogger; field in EventLoggerTest.BasicOperationsTest
64 mEventLogger = new EventLogger(EVENTS_LOGGER_SIZE, EVENTS_LOGGER_TAG); in setUp()
69 mEventLogger.dump(mTestConsumer); in testThatConsumerProducesEmptyListFromEmptyLog()
75 mEventLogger.dump(mTestPrintWriter); in testThatPrintWriterProducesOnlyTitleFromEmptyLog()
77 .isEqualTo(mEventLogger.getDumpTitle() + "\n"); in testThatPrintWriterProducesOnlyTitleFromEmptyLog()
117 private EventLogger mEventLogger; field in EventLoggerTest.LoggingOperationTest
136 mEventLogger = new EventLogger(EVENTS_LOGGER_SIZE, EVENTS_LOGGER_TAG); in setUp()
142 mEventLogger.enqueue(event); in testThatConsumerDumpsEventsAsExpected()
145 mEventLogger.dump(mTestConsumer); in testThatConsumerDumpsEventsAsExpected()
155 mEventLogger.enqueue(event); in testThatPrintWriterDumpsEventsAsExpected()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLogging.java189 private EventLogger mEventLogger; field in SoundTriggerMiddlewareLogging.ModuleLogging
193 mEventLogger = eventLogger; in attach()
200 mEventLogger.enqueue(SessionEvent.createForReturn( in loadModel()
205 mEventLogger.enqueue(SessionEvent.createForReturn( in loadModel()
216 mEventLogger.enqueue(SessionEvent.createForReturn( in loadPhraseModel()
221 mEventLogger.enqueue(SessionEvent.createForException( in loadPhraseModel()
232 mEventLogger.enqueue(SessionEvent.createForVoid( in unloadModel()
236 mEventLogger.enqueue(SessionEvent.createForException( in unloadModel()
248 mEventLogger.enqueue(SessionEvent.createForReturn( in startRecognition()
253 mEventLogger.enqueue(SessionEvent.createForException( in startRecognition()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java518 private final EventLogger mEventLogger; field in SoundTriggerService.SoundTriggerSessionStub
526 mEventLogger = eventLogger; in SoundTriggerSessionStub()
527 mSessionEventLoggers.add(mEventLogger); in SoundTriggerSessionStub()
549 mEventLogger.enqueue(new SessionEvent(Type.START_RECOGNITION, getUuid(soundModel))); in startRecognition()
555 mEventLogger.enqueue(new SessionEvent(Type.START_RECOGNITION, in startRecognition()
576 mEventLogger.enqueue(new SessionEvent(Type.STOP_RECOGNITION, getUuid(parcelUuid))); in stopRecognition()
600 mEventLogger.enqueue(new SessionEvent(Type.UPDATE_MODEL, getUuid(soundModel))); in updateSoundModel()
609 mEventLogger.enqueue(new SessionEvent(Type.DELETE_MODEL, getUuid(soundModelId))); in deleteSoundModel()
624 mEventLogger.enqueue(new SessionEvent(Type.LOAD_MODEL, getUuid(soundModel))); in loadGenericSoundModel()
628 mEventLogger.enqueue(new SessionEvent(Type.LOAD_MODEL, in loadGenericSoundModel()
[all …]
DDeviceStateHandler.java57 private final EventLogger mEventLogger; field in DeviceStateHandler
82 mEventLogger.enqueue(new SoundTriggerPowerEvent(soundTriggerPowerSaveMode)); in onPowerModeChanged()
95 mEventLogger.enqueue(new PhoneCallEvent(isInPhoneCall)); in onPhoneCallStateChanged()
134 mEventLogger = Objects.requireNonNull(eventLogger); in DeviceStateHandler()
174 mEventLogger.enqueue(new DeviceStateEvent(mSoundTriggerDeviceState)); in evaluateStateChange()
DSoundTriggerHelper.java114 private final EventLogger mEventLogger; field in SoundTriggerHelper
132 mEventLogger = eventLogger; in SoundTriggerHelper()
344 mEventLogger.enqueue(new SessionEvent(Type.PAUSE, modelData.getModelId())); in startRecognition()
348 mEventLogger.enqueue(new SessionEvent( in startRecognition()
828 mEventLogger.enqueue(new SessionEvent(Type.RECOGNITION, model.getModelId())); in onGenericRecognitionLocked()
831 mEventLogger.enqueue(new SessionEvent( in onGenericRecognitionLocked()
885 mEventLogger.enqueue(new SessionEvent(Type.RESOURCES_AVAILABLE, null)); in onResourcesAvailableLocked()
902 mEventLogger.enqueue(new SessionEvent(Type.PAUSE, modelData.getModelId())); in onRecognitionAbortLocked()
906 mEventLogger.enqueue(new SessionEvent( in onRecognitionAbortLocked()
954 mEventLogger.enqueue(new SessionEvent(Type.RECOGNITION, modelData.getModelId())); in onKeyphraseRecognitionLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DRadioEventLogger.java33 private final LocalLog mEventLogger; field in RadioEventLogger
38 mEventLogger = new LocalLog(loggerQueueSize); in RadioEventLogger()
48 mEventLogger.log(log); in logRadioEvent()
59 mEventLogger.dump(pw); in dump()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java52 private final RadioEventLogger mEventLogger; field in TunerSession
75 mEventLogger = new RadioEventLogger(TAG, TUNER_EVENT_LOGGER_QUEUE_SIZE); in TunerSession()
80 mEventLogger.logRadioEvent("Close"); in close()
92 mEventLogger.logRadioEvent("Close on error %d", error); in close()
163 mEventLogger.logRadioEvent("Step with direction %s, skipSubChannel? %s", in step()
178 mEventLogger.logRadioEvent("Seek with direction %s, skipSubChannel? %s", in seek()
193 mEventLogger.logRadioEvent("Tune with selector %s", selector); in tune()
226 mEventLogger.logRadioEvent("Get image for %d", id); in getImage()
244 mEventLogger.logRadioEvent("start programList updates %s", filter); in startProgramListUpdates()
308 mEventLogger.logRadioEvent("Stop programList updates"); in stopProgramListUpdates()
[all …]
DRadioModule.java68 private final RadioEventLogger mEventLogger; field in RadioModule
156 mEventLogger = new RadioEventLogger(TAG, RADIO_EVENT_LOGGER_QUEUE_SIZE); in RadioModule()
200 mEventLogger.logRadioEvent("Open TunerSession"); in openSession()
207 mEventLogger.logRadioEvent("New HIDL 2.0 tuner session is opened"); in openSession()
231 mEventLogger.logRadioEvent("Close TunerSessions"); in closeSessions()
348 mEventLogger.logRadioEvent("Closing HAL tuner session"); in onTunerSessionsClosedLocked()
405 mEventLogger.logRadioEvent("Add AnnouncementListener"); in addAnnouncementListener()
440 mEventLogger.logRadioEvent("Get image for id %d", id);
482 mEventLogger.dump(pw);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureController.java68 private final UiEventLogger mEventLogger; field in ScrollCaptureController
157 mEventLogger = logger; in ScrollCaptureController()
203 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_FAILURE, 0, mWindowOwner); in onCancelled()
212 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_STARTED, 0, mWindowOwner); in onStartComplete()
218 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_FAILURE, 0, mWindowOwner); in onStartComplete()
342 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_COMPLETED, 0, mWindowOwner); in finishCapture()
344 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_FAILURE, 0, mWindowOwner); in finishCapture()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java130 private WallpaperEventLogger mEventLogger; field in WallpaperBackupAgent
153 mEventLogger = new WallpaperEventLogger(mBackupManager, /* wallpaperAgent */ this); in onCreate()
201 mEventLogger.onBackupException(e); in onFullBackup()
269 mEventLogger.onSystemLiveWallpaperBackupFailed(ERROR_NO_METADATA); in backupWallpaperInfoFile()
272 mEventLogger.onLockLiveWallpaperBackupFailed(ERROR_NO_METADATA); in backupWallpaperInfoFile()
289 mEventLogger.onSystemLiveWallpaperBackedUp( in backupWallpaperInfoFile()
293 mEventLogger.onLockLiveWallpaperBackedUp(mWallpaperManager.getWallpaperInfo(FLAG_LOCK)); in backupWallpaperInfoFile()
325 mEventLogger.onSystemImageWallpaperBackedUp(); in backupSystemWallpaperFile()
332 mEventLogger.onSystemImageWallpaperBackupFailed(error); in logSystemImageErrorIfNoLiveComponent()
382 mEventLogger.onLockImageWallpaperBackedUp(); in backupLockWallpaperFileIfItExists()
[all …]
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperEventLoggerTest.java54 private BackupRestoreEventLogger mEventLogger; field in WallpaperEventLoggerTest
71 when(mMockBackupAgent.getBackupRestoreEventLogger()).thenReturn(mEventLogger); in setUp()
72 when(mMockBackupManager.getBackupRestoreEventLogger(any())).thenReturn(mEventLogger); in setUp()
387 for (BackupRestoreEventLogger.DataTypeResult result : mEventLogger.getLoggingResults()) { in getLogsForType()
396 mEventLogger = new BackupRestoreEventLogger(BackupAnnotations.OperationType.BACKUP); in setUpLoggerForBackup()
401 mEventLogger = new BackupRestoreEventLogger(BackupAnnotations.OperationType.RESTORE); in setUpLoggerForRestore()
406 when(mMockBackupAgent.getBackupRestoreEventLogger()).thenReturn(mEventLogger); in createEventLogger()
407 when(mMockBackupManager.getBackupRestoreEventLogger(any())).thenReturn(mEventLogger); in createEventLogger()
/frameworks/base/services/core/java/com/android/server/audio/
DHardeningEnforcer.java55 final EventLogger mEventLogger = new EventLogger(LOG_NB_EVENTS, field in HardeningEnforcer
95 mEventLogger.dump(pw); in dump()
162 mEventLogger.enqueueAndSlog(errorMssg, EventLogger.Event.ALOGI, TAG); in blockFocusMethod()
DMediaFocusControl.java124 mEventLogger.dump(pw); in dump()
221 mEventLogger = new EventLogger(50, field in MediaFocusControl
234 mEventLogger.enqueue((new EventLogger.StringEvent( in noFocusForSuspendedApp()
520 mEventLogger.enqueue(new EventLogger.StringEvent( in removeFocusStackEntryOnDeath()
557 mEventLogger.enqueue(new EventLogger.StringEvent( in removeFocusEntryForExtPolicyOnDeath()
1116 mEventLogger.enqueue((new EventLogger.StringEvent( in requestAudioFocus()
1302 mEventLogger.enqueue((new EventLogger.StringEvent( in abandonAudioFocus()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DDeviceStateHandlerTest.java61 private EventLogger mEventLogger; field in DeviceStateHandlerTest
66 mEventLogger = new EventLogger(256, "test logger"); in setup()
77 mHandler = new DeviceStateHandler(Runnable::run, mEventLogger); in setup()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsHistoryTest.java83 private BatteryStatsHistory.EventLogger mEventLogger; field in BatteryStatsHistoryTest
102 mStepDetailsCalculator, mClock, mMonotonicClock, mTracer, mEventLogger); in setUp()
241 null, mClock, mMonotonicClock, mTracer, mEventLogger); in testStartNextFile()
537 mStepDetailsCalculator, mClock, mMonotonicClock, mTracer, mEventLogger); in largeTagPool()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java983 private final EventLogger mEventLogger; field in TextToSpeechService.SynthesisSpeechItem
999 mEventLogger = new EventLogger(mSynthesisRequest, callerUid, callerPid, mPackageName); in SynthesisSpeechItem()
1022 mEventLogger.onRequestProcessingStart(); in playImpl()
1043 mAudioPlaybackHandler, this, getCallerIdentity(), mEventLogger, false); in createSynthesisCallback()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java589 private final EventLogger mEventLogger; field in BatteryStatsHistory
617 mEventLogger = eventLogger; in BatteryStatsHistory()
656 mEventLogger = new EventLogger(); in BatteryStatsHistory()
716 null, mEventLogger, this); in copy()
2392 mEventLogger.writeCommitSysConfigFile(startTimeMs); in writeParcelToFileLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java128 private final SystemConfigFileCommitEventLogger mEventLogger; field in JobStore
197 mEventLogger = new SystemConfigFileCommitEventLogger("jobs"); in JobStore()
234 return new AtomicFile(file, mEventLogger); in createJobFile()
791 mEventLogger.setStartTime(SystemClock.uptimeMillis());
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt50734 Landroid/speech/tts/TextToSpeechService$SynthesisSpeechItem;->mEventLogger:Landroid/speech/tts/Even…