Lines Matching refs:LogEvent
248 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent( in CreateScreenStateChangedEvent()
250 auto event = std::make_unique<LogEvent>(android::util::SCREEN_STATE_CHANGED, timestampNs); in CreateScreenStateChangedEvent()
256 std::unique_ptr<LogEvent> CreateScreenBrightnessChangedEvent( in CreateScreenBrightnessChangedEvent()
258 auto event = std::make_unique<LogEvent>(android::util::SCREEN_BRIGHTNESS_CHANGED, timestampNs); in CreateScreenBrightnessChangedEvent()
265 std::unique_ptr<LogEvent> CreateScheduledJobStateChangedEvent( in CreateScheduledJobStateChangedEvent()
268 … auto event = std::make_unique<LogEvent>(android::util::SCHEDULED_JOB_STATE_CHANGED, timestampNs); in CreateScheduledJobStateChangedEvent()
276 std::unique_ptr<LogEvent> CreateStartScheduledJobEvent( in CreateStartScheduledJobEvent()
284 std::unique_ptr<LogEvent> CreateFinishScheduledJobEvent( in CreateFinishScheduledJobEvent()
291 std::unique_ptr<LogEvent> CreateWakelockStateChangedEvent( in CreateWakelockStateChangedEvent()
294 auto event = std::make_unique<LogEvent>(android::util::WAKELOCK_STATE_CHANGED, timestampNs); in CreateWakelockStateChangedEvent()
303 std::unique_ptr<LogEvent> CreateAcquireWakelockEvent( in CreateAcquireWakelockEvent()
310 std::unique_ptr<LogEvent> CreateReleaseWakelockEvent( in CreateReleaseWakelockEvent()
317 std::unique_ptr<LogEvent> CreateActivityForegroundStateChangedEvent( in CreateActivityForegroundStateChangedEvent()
319 auto event = std::make_unique<LogEvent>( in CreateActivityForegroundStateChangedEvent()
329 std::unique_ptr<LogEvent> CreateMoveToBackgroundEvent(const int uid, uint64_t timestampNs) { in CreateMoveToBackgroundEvent()
334 std::unique_ptr<LogEvent> CreateMoveToForegroundEvent(const int uid, uint64_t timestampNs) { in CreateMoveToForegroundEvent()
339 std::unique_ptr<LogEvent> CreateSyncStateChangedEvent( in CreateSyncStateChangedEvent()
342 auto event = std::make_unique<LogEvent>(android::util::SYNC_STATE_CHANGED, timestampNs); in CreateSyncStateChangedEvent()
350 std::unique_ptr<LogEvent> CreateSyncStartEvent( in CreateSyncStartEvent()
356 std::unique_ptr<LogEvent> CreateSyncEndEvent( in CreateSyncEndEvent()
381 void sortLogEventsByTimestamp(std::vector<std::unique_ptr<LogEvent>> *events) { in sortLogEventsByTimestamp()
383 [](const std::unique_ptr<LogEvent>& a, const std::unique_ptr<LogEvent>& b) { in sortLogEventsByTimestamp()