Home
last modified time | relevance | path

Searched refs:statsdLoggerWrite (Results 1 – 2 of 2) sorted by relevance

/system/core/libstats/push_compat/
Dstats_event_list.c41 extern struct android_log_transport_write statsdLoggerWrite;
124 statsdLoggerWrite.noteDrop(error, tag); in note_log_drop()
130 if (statsdLoggerWrite.close) { in stats_log_close()
131 (*statsdLoggerWrite.close)(); in stats_log_close()
138 if (!statsdLoggerWrite.open || ((*statsdLoggerWrite.open)() < 0)) { in __write_to_statsd_initialize_locked()
139 if (statsdLoggerWrite.close) { in __write_to_statsd_initialize_locked()
140 (*statsdLoggerWrite.close)(); in __write_to_statsd_initialize_locked()
169 int ret = (int)(*statsdLoggerWrite.write)(&ts, vec, nr); in __write_to_stats_daemon()
Dstatsd_writer.c66 struct android_log_transport_write statsdLoggerWrite = { variable
80 i = atomic_load(&statsdLoggerWrite.sock); in statsdOpen()
110 i = atomic_exchange(&statsdLoggerWrite.sock, ret); in statsdOpen()
117 ret = atomic_exchange(&statsdLoggerWrite.sock, sock); in statsdOpen()
130 int sock = atomic_exchange(&statsdLoggerWrite.sock, negative_errno); in __statsdClose()
141 if (atomic_load(&statsdLoggerWrite.sock) < 0) { in statsdAvailable()
164 sock = atomic_load(&statsdLoggerWrite.sock); in statsdWrite()
271 ret = TEMP_FAILURE_RETRY(writev(atomic_load(&statsdLoggerWrite.sock), newVec, i)); in statsdWrite()