Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dpowerlog_tests.cpp81 power_log_t *power_log = power_log_create( in TEST() local
92 power_log_log(power_log, &quarter, 1 /* frame */, 0 /* now_ns */); in TEST()
93 power_log_log(power_log, &zero, 1 /* frame */, 1 /* now_ns */); in TEST()
94 power_log_dump(power_log, 0 /* fd */, " " /* prefix */, 0 /* lines */, 0 /* limit_ns */); in TEST()
95 power_log_destroy(power_log); in TEST()
/system/media/audio_utils/
DPowerLog.cpp260 void power_log_log(power_log_t *power_log, in power_log_log() argument
263 if (power_log == nullptr) { in power_log_log()
266 reinterpret_cast<PowerLog *>(power_log)->log(buffer, frames, now_ns); in power_log_log()
270 power_log_t *power_log, int fd, const char *prefix, size_t lines, int64_t limit_ns) in power_log_dump() argument
272 if (power_log == nullptr) { in power_log_dump()
275 return reinterpret_cast<PowerLog *>(power_log)->dump(fd, prefix, lines, limit_ns); in power_log_dump()
278 void power_log_destroy(power_log_t *power_log) in power_log_destroy() argument
280 delete reinterpret_cast<PowerLog *>(power_log); in power_log_destroy()
/system/media/audio_utils/include/audio_utils/
DPowerLog.h139 void power_log_log(power_log_t *power_log, const void *buffer, size_t frames, int64_t now_ns);
154 power_log_t *power_log, int fd, const char *prefix, size_t lines, int64_t limit_ns);
161 void power_log_destroy(power_log_t *power_log);