Home
last modified time | relevance | path

Searched refs:LogEvent (Results 1 – 25 of 122) sorted by relevance

12345

/packages/modules/StatsD/statsd/benchmark/
Dlog_event_benchmark.cpp62 LogEvent event(/*uid=*/ 1000, /*pid=*/ 1001); in BM_LogEventCreation()
72 LogEvent event(/*uid=*/1000, /*pid=*/1001); in BM_LogEventCreationWithPrefetch()
75 const LogEvent::BodyBufferInfo header = event.parseHeader(msg, size); in BM_LogEventCreationWithPrefetch()
87 LogEvent event(/*uid=*/1000, /*pid=*/1001); in BM_LogEventCreationWithPrefetchOnly()
99 LogEvent event(/*uid=*/1000, /*pid=*/1001); in BM_LogEventCreationMedium()
110 LogEvent event(/*uid=*/1000, /*pid=*/1001); in BM_LogEventCreationMediumWithPrefetch()
113 const LogEvent::BodyBufferInfo header = event.parseHeader(msg, size); in BM_LogEventCreationMediumWithPrefetch()
125 LogEvent event(/*uid=*/1000, /*pid=*/1001); in BM_LogEventCreationMediumWithPrefetchOnly()
137 LogEvent event(/*uid=*/1000, /*pid=*/1001); in BM_LogEventCreationLarge()
148 LogEvent event(/*uid=*/1000, /*pid=*/1001); in BM_LogEventCreationLargeWithPrefetch()
[all …]
Ddb_benchmark.cpp33 unique_ptr<LogEvent> event = in BM_insertAtomsIntoDbTablesNewConnection()
35 vector<LogEvent> logEvents; in BM_insertAtomsIntoDbTablesNewConnection()
65 unique_ptr<LogEvent> event = in BM_insertAtomsIntoDbTablesReuseConnection()
67 vector<LogEvent> logEvents; in BM_insertAtomsIntoDbTablesReuseConnection()
99 unique_ptr<LogEvent> event = in BM_createDbTables()
101 vector<LogEvent> logEvents{*event.get()}; in BM_createDbTables()
Dvalue_metric_benchmark.cpp32 vector<shared_ptr<LogEvent>> createEvents() { in createEvents()
33 vector<shared_ptr<LogEvent>> events; in createEvents()
58 vector<shared_ptr<LogEvent>> events = createEvents(); in BM_ValueMetricPushedDiffedViaStatsLogProcessor()
76 vector<shared_ptr<LogEvent>> events = createEvents(); in BM_ValueMetricPushedDiffedViaNumericValueMetricProducer()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp56 LogEvent::LogEvent(int32_t uid, int32_t pid) in LogEvent() function in android::os::statsd::LogEvent
60 LogEvent::LogEvent(const string& trainName, int64_t trainVersionCode, bool requiresStaging, in LogEvent() function in android::os::statsd::LogEvent
80 LogEvent::LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs, in LogEvent() function in android::os::statsd::LogEvent
95 void LogEvent::parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt32()
101 void LogEvent::parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt64()
107 void LogEvent::parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseString()
121 void LogEvent::parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseFloat()
127 void LogEvent::parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseBool()
134 void LogEvent::parseByteArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseByteArray()
148 void LogEvent::parseKeyValuePairs(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseKeyValuePairs()
[all …]
/packages/apps/Settings/src/com/android/settings/spa/core/instrumentation/
DSpaLogProvider.kt26 import com.android.settingslib.spa.framework.common.LogEvent
40 override fun event(id: String, event: LogEvent, category: LogCategory, extraData: Bundle) { in event()
42 LogEvent.PAGE_ENTER, LogEvent.PAGE_LEAVE -> in event()
66 class SpaLogData(val id: String, val event: LogEvent,
85 LogEvent.PAGE_ENTER, LogEvent.PAGE_LEAVE -> id in getPageId()
96 LogEvent.PAGE_ENTER -> SettingsEnums.PAGE_VISIBLE in getAction()
97 LogEvent.PAGE_LEAVE -> SettingsEnums.PAGE_HIDE in getAction()
98 LogEvent.ENTRY_CLICK -> SettingsEnums.ACTION_SETTINGS_TILE_CLICK in getAction()
99 LogEvent.ENTRY_SWITCH -> SettingsEnums.ACTION_SETTINGS_PREFERENCE_CHANGE in getAction()
109 LogEvent.PAGE_ENTER -> dataModel.addTimeStamp( in getValue()
[all …]
DSpaLogMetricsProvider.kt25 import com.android.settingslib.spa.framework.common.LogEvent
32 override fun event(id: String, event: LogEvent, category: LogCategory, extraData: Bundle) { in event()
42 LogEvent.PAGE_ENTER -> { in event()
51 LogEvent.PAGE_LEAVE -> { in event()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h382 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,
[all …]
Dstatsd_test_util.cpp727 bool parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent) { in parseStatsEventToLogEvent()
739 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
751 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
753 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateTwoValueLogEvent()
758 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
771 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
773 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateThreeValueLogEvent()
778 void CreateRepeatedValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, in CreateRepeatedValueLogEvent()
790 shared_ptr<LogEvent> CreateRepeatedValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value) { in CreateRepeatedValueLogEvent()
791 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in CreateRepeatedValueLogEvent()
[all …]
DLogEvent_test.cpp50 bool createFieldWithBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createFieldWithBoolAnnotationLogEvent()
61 const LogEvent::BodyBufferInfo bodyInfo = logEvent->parseHeader(buf, size); in createFieldWithBoolAnnotationLogEvent()
71 bool createFieldWithIntAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createFieldWithIntAnnotationLogEvent()
82 const LogEvent::BodyBufferInfo bodyInfo = logEvent->parseHeader(buf, size); in createFieldWithIntAnnotationLogEvent()
92 bool createAtomLevelIntAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createAtomLevelIntAnnotationLogEvent()
104 const LogEvent::BodyBufferInfo bodyInfo = logEvent->parseHeader(buf, size); in createAtomLevelIntAnnotationLogEvent()
114 bool createAtomLevelBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createAtomLevelBoolAnnotationLogEvent()
126 const LogEvent::BodyBufferInfo bodyInfo = logEvent->parseHeader(buf, size); in createAtomLevelBoolAnnotationLogEvent()
176 bool ParseBuffer(LogEvent& logEvent, const uint8_t* buf, size_t size) { in ParseBuffer()
180 const LogEvent::BodyBufferInfo bodyInfo = logEvent.parseHeader(buf, size); in ParseBuffer()
[all …]
DLogEntryMatcher_test.cpp45 void makeIntLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeIntLogEvent()
55 void makeFloatLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeFloatLogEvent()
65 void makeStringLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeStringLogEvent()
75 void makeIntWithBoolAnnotationLogEvent(LogEvent* logEvent, const int32_t atomId, in makeIntWithBoolAnnotationLogEvent()
86 void makeAttributionLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeAttributionLogEvent()
99 void makeBoolLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeBoolLogEvent()
111 void makeRepeatedIntLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedIntLogEvent()
119 void makeRepeatedUidLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedUidLogEvent()
128 void makeRepeatedStringLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedStringLogEvent()
151 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST()
[all …]
/packages/modules/StatsD/statsd/tests/utils/
DDbUtils_test.cpp48 LogEvent makeLogEvent(AStatsEvent* statsEvent) { in makeLogEvent()
49 LogEvent event(/*uid=*/0, /*pid=*/0); in makeLogEvent()
75 LogEvent logEvent = makeLogEvent(statsEvent); in TEST_F()
76 vector<LogEvent> events{logEvent}; in TEST_F()
101 LogEvent logEvent = makeLogEvent(statsEvent); in TEST_F()
102 vector<LogEvent> events{logEvent}; in TEST_F()
129 LogEvent logEvent = makeLogEvent(statsEvent); in TEST_F()
130 vector<LogEvent> events{logEvent}; in TEST_F()
156 LogEvent logEvent = makeLogEvent(statsEvent); in TEST_F()
157 vector<LogEvent> events{logEvent}; in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tests/state/
DStateTracker_test.cpp69 std::unique_ptr<LogEvent> buildIncorrectOverlayEvent(int uid, const std::string& packageName, in buildIncorrectOverlayEvent()
80 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in buildIncorrectOverlayEvent()
86 std::unique_ptr<LogEvent> buildOverlayEventBadStateType(int uid, const std::string& packageName) { in buildOverlayEventBadStateType()
96 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in buildOverlayEventBadStateType()
129 std::unique_ptr<LogEvent> event = CreateScreenStateChangedEvent( in TEST()
258 std::unique_ptr<LogEvent> event1 = CreateAcquireWakelockEvent(timestampNs, attributionUids1, in TEST()
266 std::unique_ptr<LogEvent> event2 = CreateAcquireWakelockEvent( in TEST()
271 std::unique_ptr<LogEvent> event3 = CreateReleaseWakelockEvent( in TEST()
276 std::unique_ptr<LogEvent> event4 = CreateReleaseWakelockEvent( in TEST()
299 std::unique_ptr<LogEvent> event1 = in TEST()
[all …]
/packages/modules/StatsD/statsd/tests/external/
DStatsPuller_test.cpp45 vector<std::shared_ptr<LogEvent>> pullData;
54 PullErrorCode PullInternal(vector<std::shared_ptr<LogEvent>>* data) override { in PullInternal()
63 std::unique_ptr<LogEvent> createSimpleEvent(int64_t eventTimeNs, int64_t value) { in createSimpleEvent()
69 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in createSimpleEvent()
94 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F()
122 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F()
154 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F()
173 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F()
184 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F()
194 vector<std::shared_ptr<LogEvent>> dataHolder; in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tests/metrics/
DCountMetricProducer_test.cpp46 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId) { in makeLogEvent()
54 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId, string uid) { in makeLogEvent()
105 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
107 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
129 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST()
172 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
182 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
216 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
219 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
285 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_P()
[all …]
DDurationMetricProducer_test.cpp49 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId) { in makeLogEvent()
97 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
99 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
137 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
139 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
141 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST()
143 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST()
196 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
198 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
200 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST()
[all …]
DNumericValueMetricProducer_test.cpp303 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
313 vector<shared_ptr<LogEvent>> allData; in TEST()
368 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P()
377 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P()
390 vector<shared_ptr<LogEvent>> allData; in TEST_P()
428 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
438 vector<shared_ptr<LogEvent>> allData; in TEST()
489 vector<shared_ptr<LogEvent>> allData; in TEST()
542 vector<shared_ptr<LogEvent>> allData; in TEST()
590 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
[all …]
DEventMetricProducer_test.cpp43 void makeLogEvent(LogEvent* logEvent, int32_t atomId, int64_t timestampNs, string str, in makeLogEvent()
76 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_F()
79 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_F()
114 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_F()
117 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_F()
162 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_F()
168 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_F()
208 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_F()
210 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_F()
212 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_F()
[all …]
DGaugeMetricProducer_test.cpp59 shared_ptr<LogEvent> makeLogEvent(int32_t atomId, int64_t timestampNs, int32_t value1, string str1, in makeLogEvent()
69 shared_ptr<LogEvent> logEvent = std::make_shared<LogEvent>(/*uid=*/0, /*pid=*/0); in makeLogEvent()
137 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
152 vector<shared_ptr<LogEvent>> allData; in TEST()
246 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_P()
271 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P()
286 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_P()
295 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST_P()
326 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P()
339 vector<shared_ptr<LogEvent>> allData; in TEST_P()
[all …]
DRestrictedEventMetricProducer_test.cpp63 std::unique_ptr<LogEvent> event1 = CreateRestrictedLogEvent(/*atomTag=*/123, /*timestampNs=*/1); in TEST_F()
64 std::unique_ptr<LogEvent> event2 = CreateRestrictedLogEvent(/*atomTag=*/123, /*timestampNs=*/3); in TEST_F()
106 LogEvent logEvent(/*uid=*/0, /*pid=*/0); in TEST_F()
141 std::unique_ptr<LogEvent> event1 = CreateRestrictedLogEvent(/*atomTag=*/123, /*timestampNs=*/1); in TEST_F()
142 std::unique_ptr<LogEvent> event2 = CreateRestrictedLogEvent(/*atomTag=*/123, /*timestampNs=*/3); in TEST_F()
174 std::unique_ptr<LogEvent> event1 = CreateRestrictedLogEvent(/*timestampNs=*/1); in TEST_F()
197 std::unique_ptr<LogEvent> event1 = CreateRestrictedLogEvent(/*timestampNs=*/1); in TEST_F()
218 std::unique_ptr<LogEvent> event1 = CreateRestrictedLogEvent(/*atomTag=*/123, /*timestampNs=*/1); in TEST_F()
220 std::unique_ptr<LogEvent> event2 = CreateRestrictedLogEvent(/*atomTag=*/123, /*timestampNs=*/3); in TEST_F()
DKllMetricProducer_test.cpp182 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_P()
203 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P()
214 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_P()
231 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
234 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
261 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
269 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST()
279 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST()
289 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST()
348 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST()
[all …]
/packages/modules/StatsD/statsd/tests/e2e/
DRestrictedEventMetric_e2e_test.cpp137 std::vector<std::unique_ptr<LogEvent>> events; in TEST_F()
175 std::vector<std::unique_ptr<LogEvent>> events; in TEST_F()
186 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in TEST_F()
222 std::vector<std::unique_ptr<LogEvent>> events; in TEST_F()
232 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in TEST_F()
269 std::vector<std::unique_ptr<LogEvent>> events; in TEST_F()
278 std::unique_ptr<LogEvent> logEvent = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in TEST_F()
314 std::unique_ptr<LogEvent> event1 = CreateRestrictedLogEvent(atomTag, originalEventElapsedTime); in TEST_F()
348 std::unique_ptr<LogEvent> event2 = std::make_unique<LogEvent>(/*uid=*/0, /*pid=*/0); in TEST_F()
379 std::vector<std::unique_ptr<LogEvent>> events; in TEST_F()
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/core/instrumentation/
DSpaLogDataTest.kt22 import com.android.settingslib.spa.framework.common.LogEvent
46 val spaLogData = SpaLogData(TEST_PID, LogEvent.PAGE_ENTER, bundle, dataModel) in getSessionType_withoutSessionExtraData_returnSessionUnknow()
54 val spaLogData = SpaLogData(TEST_PID, LogEvent.PAGE_ENTER, bundle, dataModel) in getSessionType_hasSessionBrowseExtraData_returnSessionBrowse()
62 val spaLogData = SpaLogData(TEST_PID, LogEvent.PAGE_ENTER, bundle, dataModel) in getSessionType_hasSessionSearchExtraData_returnSessionSearch()
70 val spaLogData = SpaLogData(TEST_PID, LogEvent.PAGE_ENTER, bundle, dataModel) in getSessionType_hasSessionUnknownExtraData_returnSessionUnknow()
77 val spaLogData1 = SpaLogData(TEST_PID, LogEvent.PAGE_ENTER, bundle, dataModel) in getPageId_withPageEvent_returnInputId()
80 val spaLogData2 = SpaLogData(TEST_PID, LogEvent.PAGE_LEAVE, bundle, dataModel) in getPageId_withPageEvent_returnInputId()
/packages/modules/StatsD/statsd/tests/condition/
DSimpleConditionTracker_test.cpp67 void makeWakeLockEvent(LogEvent* logEvent, const vector<int>& uids, const string& wl, int acquire) { in makeWakeLockEvent()
153 unique_ptr<LogEvent> screenOffEvent = in TEST()
166 unique_ptr<LogEvent> screenOnEvent = in TEST()
207 unique_ptr<LogEvent> screenOffEvent = in TEST()
220 unique_ptr<LogEvent> screenOnEvent = in TEST()
251 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST()
338 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST()
412 LogEvent event1(/*uid=*/0, /*pid=*/0); in TEST_P()
440 LogEvent event2(/*uid=*/0, /*pid=*/0); in TEST_P()
455 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_P()
[all …]
/packages/modules/StatsD/statsd/src/external/
DStatsCallbackPuller.cpp45 PullErrorCode StatsCallbackPuller::PullInternal(vector<shared_ptr<LogEvent>>* data) { in PullInternal()
57 shared_ptr<vector<shared_ptr<LogEvent>>> sharedData = in PullInternal()
58 make_shared<vector<shared_ptr<LogEvent>>>(); in PullInternal()
69 shared_ptr<LogEvent> event = make_shared<LogEvent>(/*uid=*/-1, /*pid=*/-1); in PullInternal()
/packages/modules/StatsD/statsd/src/utils/
DDbUtils.h42 bool createTableIfNeeded(const ConfigKey& key, int64_t metricId, const LogEvent& event);
47 bool isEventCompatible(const ConfigKey& key, int64_t metricId, const LogEvent& event);
66 bool insert(const ConfigKey& key, int64_t metricId, const vector<LogEvent>& events, string& error);
69 bool insert(sqlite3* db, int64_t metricId, const vector<LogEvent>& events, string& error);

12345