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.cpp108 power_log_t *power_log = power_log_create( in TEST() local
119 power_log_log(power_log, &quarter, 1 /* frame */, 0 /* now_ns */); in TEST()
120 power_log_log(power_log, &zero, 1 /* frame */, 1 /* now_ns */); in TEST()
121 power_log_dump(power_log, 0 /* fd */, " " /* prefix */, 0 /* lines */, 0 /* limit_ns */); in TEST()
122 power_log_destroy(power_log); in TEST()
/system/media/audio_utils/
DPowerLog.cpp264 void power_log_log(power_log_t *power_log, in power_log_log() argument
267 if (power_log == nullptr) { in power_log_log()
270 reinterpret_cast<PowerLog *>(power_log)->log(buffer, frames, now_ns); in power_log_log()
274 power_log_t *power_log, int fd, const char *prefix, size_t lines, int64_t limit_ns) in power_log_dump() argument
276 if (power_log == nullptr) { in power_log_dump()
279 return reinterpret_cast<PowerLog *>(power_log)->dump(fd, prefix, lines, limit_ns); in power_log_dump()
282 void power_log_destroy(power_log_t *power_log) in power_log_destroy() argument
284 delete reinterpret_cast<PowerLog *>(power_log); in power_log_destroy()
/system/media/audio_utils/include/audio_utils/
DPowerLog.h144 void power_log_log(power_log_t *power_log, const void *buffer, size_t frames, int64_t now_ns);
161 power_log_t *power_log, int fd, const char *prefix, size_t lines, int64_t limit_ns);
168 void power_log_destroy(power_log_t *power_log);