Searched refs:stats_event (Results 1 – 6 of 6) sorted by relevance
/system/core/libstats/socket/include/ |
D | stats_event.h | 81 struct stats_event; 84 struct stats_event* stats_event_obtain(); 87 void stats_event_build(struct stats_event* event); 88 int stats_event_write(struct stats_event* event); 89 void stats_event_release(struct stats_event* event); 91 void stats_event_set_atom_id(struct stats_event* event, uint32_t atomId); 93 void stats_event_write_int32(struct stats_event* event, int32_t value); 94 void stats_event_write_int64(struct stats_event* event, int64_t value); 95 void stats_event_write_float(struct stats_event* event, float value); 96 void stats_event_write_bool(struct stats_event* event, bool value); [all …]
|
/system/core/libstats/socket/ |
D | stats_event.c | 40 struct stats_event { struct 58 struct stats_event* stats_event_obtain() { in stats_event_obtain() argument 59 struct stats_event* event = malloc(sizeof(struct stats_event)); in stats_event_obtain() 79 void stats_event_release(struct stats_event* event) { in stats_event_release() 84 void stats_event_set_atom_id(struct stats_event* event, uint32_t atomId) { in stats_event_set_atom_id() 92 static bool overflows(struct stats_event* event, size_t size) { in overflows() 102 static void append_byte(struct stats_event* event, uint8_t value) { in append_byte() 109 static void append_bool(struct stats_event* event, bool value) { in append_bool() 113 static void append_int32(struct stats_event* event, int32_t value) { in append_int32() 120 static void append_int64(struct stats_event* event, int64_t value) { in append_int64() [all …]
|
D | Android.bp | 24 "stats_event.c", 25 // TODO(b/145573568): Remove stats_event_list once stats_event
|
/system/core/libstats/socket/benchmark/ |
D | stats_event_benchmark.cpp | 20 static struct stats_event* constructStatsEvent() { in constructStatsEvent() 21 struct stats_event* event = stats_event_obtain(); in constructStatsEvent() 35 struct stats_event* event = constructStatsEvent(); in BM_stats_event_truncate_buffer() 46 struct stats_event* event = constructStatsEvent(); in BM_stats_event_full_buffer()
|
/system/core/libstats/socket/tests/ |
D | stats_event_test.cpp | 91 struct stats_event* event = stats_event_obtain(); in TEST() 132 struct stats_event* event = stats_event_obtain(); in TEST() 157 struct stats_event* event = stats_event_obtain(); in TEST() 191 struct stats_event* event = stats_event_obtain(); in TEST() 227 struct stats_event* event = stats_event_obtain(); in TEST() 285 struct stats_event* event = stats_event_obtain(); in TEST() 320 struct stats_event* event = stats_event_obtain(); in TEST() 331 struct stats_event* event = stats_event_obtain(); in TEST()
|
/system/core/libstats/push_compat/include/ |
D | StatsEventCompat.h | 63 struct stats_event* mEventR = nullptr;
|