Home
last modified time | relevance | path

Searched defs:logEvent (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp48 void createIntWithBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t annotationId, in createIntWithBoolAnnotationLogEvent()
63 void createIntWithIntAnnotationLogEvent(LogEvent* logEvent, uint8_t annotationId, in createIntWithIntAnnotationLogEvent()
92 LogEvent logEvent(/*uid=*/1000, /*pid=*/1001); in TEST() local
141 LogEvent logEvent(/*uid=*/1000, /*pid=*/1001); in TEST() local
178 LogEvent logEvent(/*uid=*/1000, /*pid=*/1001); in TEST() local
208 LogEvent logEvent(/*uid=*/1000, /*pid=*/1001); in TEST() local
244 LogEvent logEvent(/*uid=*/1000, /*pid=*/1001); in TEST() local
346 LogEvent logEvent(/*uid=*/0, /*pid=*/0); in TEST() local
389 LogEvent logEvent(/*uid=*/1000, /*pid=*/1001); in TEST() local
419 LogEvent logEvent(/*uid=*/1000, /*pid=*/1001); in TEST() local
[all …]
Dstatsd_test_util.cpp515 void parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent) { in parseStatsEventToLogEvent()
525 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
539 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateTwoValueLogEvent() local
544 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
559 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateThreeValueLogEvent() local
564 void CreateRepeatedValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, in CreateRepeatedValueLogEvent()
577 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateRepeatedValueLogEvent() local
582 void CreateNoValuesLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs) { in CreateNoValuesLogEvent()
591 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateNoValuesLogEvent() local
607 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in makeUidLogEvent() local
[all …]
DLogEntryMatcher_test.cpp47 void makeIntLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeIntLogEvent()
57 void makeFloatLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeFloatLogEvent()
67 void makeStringLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeStringLogEvent()
77 void makeIntWithBoolAnnotationLogEvent(LogEvent* logEvent, const int32_t atomId, in makeIntWithBoolAnnotationLogEvent()
88 void makeAttributionLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeAttributionLogEvent()
101 void makeBoolLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeBoolLogEvent()
DFieldValue_test.cpp43 void makeLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeLogEvent()
56 void makeLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeLogEvent()
DStatsLogProcessor_test.cpp1741 shared_ptr<LogEvent> logEvent = makeUidLogEvent(atomId, eventTimeNs, hostUid, field1, field2); in TEST() local
1765 shared_ptr<LogEvent> logEvent = in TEST() local
1790 shared_ptr<LogEvent> logEvent = makeAttributionLogEvent(atomId, eventTimeNs, {hostUid, 200}, in TEST() local
1818 shared_ptr<LogEvent> logEvent = makeAttributionLogEvent(atomId, eventTimeNs, {isolatedUid, 200}, in TEST() local
/frameworks/base/core/java/android/net/
DIIpConnectivityMetrics.aidl30 int logEvent(in ConnectivityMetricsEvent event); in logEvent() method
DICaptivePortal.aidl26 void logEvent(int eventId, String packageName); in logEvent() method
DCaptivePortal.java187 public void logEvent(@EventId int eventId, @NonNull String packageName) { in logEvent() method in CaptivePortal
/frameworks/base/cmds/statsd/tests/shell/
DShellSubscriber_test.cpp129 std::unique_ptr<LogEvent> logEvent = CreateScreenStateChangedEvent( in TEST() local
181 std::shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in makeCpuActiveTimeAtom() local
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp262 void parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent) { in parseStatsEventToLogEvent()
279 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateScreenStateChangedEvent() local
295 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateScheduledJobStateChangedEvent() local
330 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateSyncStateChangedEvent() local
/frameworks/base/tests/net/common/java/android/net/
DCaptivePortalTest.java59 public void logEvent(int eventId, String packageName) throws RemoteException { in logEvent() method in CaptivePortalTest.MyCaptivePortalImpl
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp129 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(uid, pid); in onDataAvailable() local
/frameworks/base/apex/statsd/framework/java/android/util/
DStatsLog.java88 public static boolean logEvent(int label) { in logEvent() method in StatsLog
/frameworks/base/cmds/statsd/tests/log_event/
DLogEventQueue_test.cpp42 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in makeLogEvent() local
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DNetworkWatchlistServiceTests.java92 public int logEvent(ConnectivityMetricsEvent connectivityMetricsEvent) in logEvent() method in NetworkWatchlistServiceTests.TestIIpConnectivityMetrics
/frameworks/base/cmds/statsd/tests/e2e/
DGaugeMetric_e2e_push_test.cpp88 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateAppStartOccurredEvent() local
/frameworks/base/services/core/java/com/android/server/rollback/
DWatchdogRollbackLogger.java192 public static void logEvent(@Nullable VersionedPackage logPackage, int type, in logEvent() method in WatchdogRollbackLogger
/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp45 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId) { in makeLogEvent()
53 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId, string uid) { in makeLogEvent()
DEventMetricProducer_test.cpp42 void makeLogEvent(LogEvent* logEvent, int32_t atomId, int64_t timestampNs, string str) { in makeLogEvent()
DDurationMetricProducer_test.cpp48 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId) { in makeLogEvent()
/frameworks/base/cmds/statsd/tests/external/
DStatsPuller_test.cpp69 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in createSimpleEvent() local
/frameworks/base/cmds/statsd/tests/state/
DStateTracker_test.cpp79 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in buildIncorrectOverlayEvent() local
95 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in buildOverlayEventBadStateType() local
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java303 public int logEvent(ConnectivityMetricsEvent event) { in logEvent() method in IpConnectivityMetrics.Impl
/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java153 private void logEvent(String msg) { in logEvent() method in SoundEffectsHelper
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp63 void makeWakeLockEvent(LogEvent* logEvent, uint32_t atomId, uint64_t timestamp, in makeWakeLockEvent()

12