/packages/modules/StatsD/lib/libstatssocket/include/ |
D | stats_event.h | 53 struct AStatsEvent; 54 typedef struct AStatsEvent AStatsEvent; typedef 60 AStatsEvent* AStatsEvent_obtain(); 72 void AStatsEvent_build(AStatsEvent* event); 80 int AStatsEvent_write(AStatsEvent* event); 87 void AStatsEvent_release(AStatsEvent* event); 95 void AStatsEvent_setAtomId(AStatsEvent* event, uint32_t atomId); 100 void AStatsEvent_writeInt32(AStatsEvent* event, int32_t value); 105 void AStatsEvent_writeInt64(AStatsEvent* event, int64_t value); 110 void AStatsEvent_writeFloat(AStatsEvent* event, float value); [all …]
|
/packages/modules/StatsD/lib/libstatssocket/ |
D | stats_event.c | 69 struct AStatsEvent { struct 90 AStatsEvent* AStatsEvent_obtain() { in AStatsEvent_obtain() argument 91 AStatsEvent* event = malloc(sizeof(AStatsEvent)); in AStatsEvent_obtain() 107 void AStatsEvent_release(AStatsEvent* event) { in AStatsEvent_release() 112 void AStatsEvent_setAtomId(AStatsEvent* event, uint32_t atomId) { in AStatsEvent_setAtomId() 125 void AStatsEvent_overwriteTimestamp(AStatsEvent* event, uint64_t timestampNs) { in AStatsEvent_overwriteTimestamp() 132 static bool overflows(AStatsEvent* event, size_t size) { in overflows() 156 static void append_byte(AStatsEvent* event, uint8_t value) { in append_byte() 163 static void append_bool(AStatsEvent* event, bool value) { in append_bool() 167 static void append_int32(AStatsEvent* event, int32_t value) { in append_int32() [all …]
|
/packages/modules/StatsD/lib/libstatssocket/tests/ |
D | stats_event_test.cpp | 125 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 166 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 191 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 216 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 242 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 281 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 323 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 368 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 397 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 411 AStatsEvent* event = AStatsEvent_obtain(); in TEST() [all …]
|
D | stats_writer_test.cpp | 23 AStatsEvent* event = AStatsEvent_obtain(); in TEST()
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 50 AStatsEvent* statsEvent = AStatsEvent_obtain(); in createIntWithBoolAnnotationLogEvent() 65 AStatsEvent* statsEvent = AStatsEvent_obtain(); in createIntWithIntAnnotationLogEvent() 81 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 131 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 169 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 199 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 229 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 334 AStatsEvent* statsEvent = AStatsEvent_obtain(); in TEST() 367 AStatsEvent* event = AStatsEvent_obtain(); in TEST() 397 AStatsEvent* event = AStatsEvent_obtain(); in TEST() [all …]
|
D | statsd_test_util.cpp | 616 void writeAttribution(AStatsEvent* statsEvent, const vector<int>& attributionUids, in writeAttribution() 628 void parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent) { in parseStatsEventToLogEvent() 640 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateTwoValueLogEvent() 659 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateThreeValueLogEvent() 679 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateRepeatedValueLogEvent() 696 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateNoValuesLogEvent() 711 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeUidLogEvent() 728 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeAttributionLogEvent() 762 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateScreenStateChangedEvent() 775 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateBatterySaverOnEvent() [all …]
|
D | LogEntryMatcher_test.cpp | 46 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeIntLogEvent() 56 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeFloatLogEvent() 66 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeStringLogEvent() 77 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeIntWithBoolAnnotationLogEvent() 88 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeAttributionLogEvent() 100 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeBoolLogEvent()
|
D | statsd_test_util.h | 247 void writeAttribution(AStatsEvent* statsEvent, const vector<int>& attributionUids, 251 void parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent);
|
D | FieldValue_test.cpp | 40 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeLogEvent() 53 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeLogEvent()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | metric_util.cpp | 250 void writeAttribution(AStatsEvent* statsEvent, const vector<int>& attributionUids, in writeAttribution() 262 void parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent) { in parseStatsEventToLogEvent() 274 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateScreenStateChangedEvent() 287 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateScheduledJobStateChangedEvent() 322 AStatsEvent* statsEvent = AStatsEvent_obtain(); in CreateSyncStateChangedEvent()
|
D | metric_util.h | 96 void writeAttribution(AStatsEvent* statsEvent, const vector<int>& attributionUids, 99 void parseStatsEventToLogEvent(AStatsEvent* statsEvent, LogEvent* logEvent);
|
D | log_event_benchmark.cpp | 26 AStatsEvent* event = AStatsEvent_obtain(); in createAndParseStatsEvent()
|
D | filter_value_benchmark.cpp | 33 AStatsEvent* statsEvent = AStatsEvent_obtain(); in createLogEventAndMatcher()
|
D | get_dimensions_for_condition_benchmark.cpp | 33 AStatsEvent* statsEvent = AStatsEvent_obtain(); in createLogEventAndLink()
|
/packages/modules/StatsD/statsd/tests/external/ |
D | StatsPullerManager_test.cpp | 47 AStatsEvent* createSimpleEvent(int32_t atomId, int32_t value) { in createSimpleEvent() 48 AStatsEvent* event = AStatsEvent_obtain(); in createSimpleEvent() 61 AStatsEvent* event = createSimpleEvent(atomTag, mUid); in onPullAtom()
|
D | StatsCallbackPuller_test.cpp | 61 AStatsEvent* createSimpleEvent(int64_t value) { in createSimpleEvent() 62 AStatsEvent* event = AStatsEvent_obtain(); in createSimpleEvent() 73 AStatsEvent* event = createSimpleEvent(values[i]); in executePull()
|
D | StatsPuller_test.cpp | 64 AStatsEvent* statsEvent = AStatsEvent_obtain(); in createSimpleEvent()
|
/packages/modules/StatsD/lib/libstatspull/ |
D | stats_pull_atom_callback.cpp | 40 std::vector<AStatsEvent*> data; 43 AStatsEvent* AStatsEventList_addStatsEvent(AStatsEventList* pull_data) { in AStatsEventList_addStatsEvent() 44 AStatsEvent* event = AStatsEvent_obtain(); in AStatsEventList_addStatsEvent()
|
/packages/modules/StatsD/lib/libstatspull/include/ |
D | stats_pull_atom_callback.h | 126 AStatsEvent* AStatsEventList_addStatsEvent(AStatsEventList* pull_data);
|
/packages/modules/StatsD/apex/tests/libstatspull/jni/ |
D | stats_pull_helper.cpp | 39 AStatsEvent* event = AStatsEventList_addStatsEvent(data); in pullAtomCallback()
|
/packages/modules/StatsD/statsd/tests/log_event/ |
D | LogEventQueue_test.cpp | 38 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeLogEvent()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | CountMetricProducer_test.cpp | 47 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeLogEvent() 55 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeLogEvent()
|
D | EventMetricProducer_test.cpp | 45 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeLogEvent()
|
/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 70 AStatsEvent* statsEvent = AStatsEvent_obtain(); in buildIncorrectOverlayEvent() 86 AStatsEvent* statsEvent = AStatsEvent_obtain(); in buildOverlayEventBadStateType()
|
/packages/modules/StatsD/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 175 AStatsEvent* statsEvent = AStatsEvent_obtain(); in makeCpuActiveTimeAtom()
|