Home
last modified time | relevance | path

Searched refs:error_log (Results 1 – 3 of 3) sorted by relevance

/system/media/audio_utils/
DErrorLog.cpp27 void error_log_log(error_log_t *error_log, int32_t code, int64_t now_ns) in error_log_log() argument
29 if (error_log == nullptr) { in error_log_log()
32 reinterpret_cast<ErrorLog<int32_t> *>(error_log)->log(code, now_ns); in error_log_log()
36 error_log_t *error_log, int fd, const char *prefix, size_t lines, int64_t limit_ns) in error_log_dump() argument
38 if (error_log == nullptr) { in error_log_dump()
41 return reinterpret_cast<ErrorLog<int32_t> *>(error_log)->dump(fd, prefix, lines, limit_ns); in error_log_dump()
44 void error_log_destroy(error_log_t *error_log) in error_log_destroy() argument
46 delete reinterpret_cast<ErrorLog<int32_t> *>(error_log); in error_log_destroy()
/system/media/audio_utils/tests/
Derrorlog_tests.cpp89 error_log_t *error_log = in TEST() local
93 error_log_log(error_log, 2 /* code */, 1 /* now_ns */); in TEST()
94 error_log_dump(error_log, 0 /* fd */, " " /* prefix */, 0 /* lines */, 0 /* limit_ns */); in TEST()
95 error_log_destroy(error_log); in TEST()
/system/media/audio_utils/include/audio_utils/
DErrorLog.h224 void error_log_log(error_log_t *error_log, int32_t code, int64_t now_ns);
239 error_log_t *error_log, int fd, const char *prefix, size_t lines, int64_t limit_ns);
246 void error_log_destroy(error_log_t *error_log);