Lines Matching refs:LogEvent

382 bool parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent);
384 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1,
387 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1,
390 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1,
393 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1,
399 std::shared_ptr<LogEvent> CreateRepeatedValueLogEvent(int atomId, int64_t eventTimeNs,
402 void CreateRepeatedValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs,
405 std::shared_ptr<LogEvent> CreateNoValuesLogEvent(int atomId, int64_t eventTimeNs);
407 void CreateNoValuesLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs);
414 std::shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1,
417 std::shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1,
420 shared_ptr<LogEvent> makeExtraUidsLogEvent(int atomId, int64_t eventTimeNs, int uid1, int data1,
423 std::shared_ptr<LogEvent> makeRepeatedUidLogEvent(int atomId, int64_t eventTimeNs,
426 shared_ptr<LogEvent> makeRepeatedUidLogEvent(int atomId, int64_t eventTimeNs,
429 shared_ptr<LogEvent> makeRepeatedUidLogEvent(int atomId, int64_t eventTimeNs,
433 std::shared_ptr<LogEvent> makeAttributionLogEvent(int atomId, int64_t eventTimeNs,
442 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent(uint64_t timestampNs,
447 std::unique_ptr<LogEvent> CreateScreenBrightnessChangedEvent(uint64_t timestampNs, int level);
450 std::unique_ptr<LogEvent> CreateStartScheduledJobEvent(uint64_t timestampNs,
456 std::unique_ptr<LogEvent> CreateFinishScheduledJobEvent(uint64_t timestampNs,
462 std::unique_ptr<LogEvent> CreateScheduleScheduledJobEvent(uint64_t timestampNs,
468 std::unique_ptr<LogEvent> CreateBatterySaverOnEvent(uint64_t timestampNs);
470 std::unique_ptr<LogEvent> CreateBatterySaverOffEvent(uint64_t timestampNs);
473 std::unique_ptr<LogEvent> CreateBatteryStateChangedEvent(const uint64_t timestampNs,
478 std::unique_ptr<LogEvent> CreateMalformedBatteryStateChangedEvent(const uint64_t timestampNs);
480 std::unique_ptr<LogEvent> CreateActivityForegroundStateChangedEvent(
485 std::unique_ptr<LogEvent> CreateMoveToBackgroundEvent(uint64_t timestampNs, int uid);
488 std::unique_ptr<LogEvent> CreateMoveToForegroundEvent(uint64_t timestampNs, int uid);
491 std::unique_ptr<LogEvent> CreateSyncStartEvent(uint64_t timestampNs, const vector<int>& uids,
495 std::unique_ptr<LogEvent> CreateSyncEndEvent(uint64_t timestampNs, const vector<int>& uids,
499 std::unique_ptr<LogEvent> CreateAppCrashEvent(uint64_t timestampNs, int uid);
502 std::unique_ptr<LogEvent> CreateAppCrashOccurredEvent(uint64_t timestampNs, int uid);
505 std::unique_ptr<LogEvent> CreateAcquireWakelockEvent(uint64_t timestampNs, const vector<int>& uids,
510 std::unique_ptr<LogEvent> CreateReleaseWakelockEvent(uint64_t timestampNs, const vector<int>& uids,
515 std::unique_ptr<LogEvent> CreateIsolatedUidChangedEvent(uint64_t timestampNs, int hostUid,
519 std::unique_ptr<LogEvent> CreateUidProcessStateChangedEvent(
522 std::unique_ptr<LogEvent> CreateBleScanStateChangedEvent(uint64_t timestampNs,
529 std::unique_ptr<LogEvent> CreateOverlayStateChangedEvent(int64_t timestampNs, const int32_t uid,
534 std::unique_ptr<LogEvent> CreateAppStartOccurredEvent(
539 std::unique_ptr<LogEvent> CreateBleScanResultReceivedEvent(uint64_t timestampNs,
544 std::unique_ptr<LogEvent> CreateTestAtomReportedEventVariableRepeatedFields(
550 std::unique_ptr<LogEvent> CreateTestAtomReportedEventWithPrimitives(
554 std::unique_ptr<LogEvent> CreateRestrictedLogEvent(int atomTag, int64_t timestampNs = 0);
555 std::unique_ptr<LogEvent> CreateNonRestrictedLogEvent(int atomTag, int64_t timestampNs = 0);
557 std::unique_ptr<LogEvent> CreatePhoneSignalStrengthChangedEvent(
560 std::unique_ptr<LogEvent> CreateTestAtomReportedEvent(
577 std::unique_ptr<LogEvent> createSocketLossInfoLogEvent(int32_t uid, int32_t lossAtomId);
599 void sortLogEventsByTimestamp(std::vector<std::unique_ptr<LogEvent>> *events);