Home
last modified time | relevance | path

Searched refs:log_buf (Results 1 – 5 of 5) sorted by relevance

/hardware/st/secure_element2/secure_element/esehal/src/
Dlog.c48 if (!ctx->log_buf) { in vsay()
49 ctx->log_buf = malloc(BUFSIZE); in vsay()
50 if (!ctx->log_buf) in vsay()
59 strcpy(ctx->log_buf, levels[n]); in vsay()
60 k += strlen(ctx->log_buf + k); in vsay()
61 k += vsnprintf(ctx->log_buf + k, BUFSIZE - k, fmt + 2, args); in vsay()
64 k += vsnprintf(ctx->log_buf + k, 1024 - k, fmt, args); in vsay()
68 buf = ctx->log_buf; in vsay()
83 if (ctx->log_buf) { in log_teardown()
84 free(ctx->log_buf); in log_teardown()
[all …]
Dlibse-gto-private.h44 char *log_buf; member
/hardware/google/pixel/thermal/utils/
Dpowerhal_helper.cpp117 std::stringstream log_buf; in reconnect() local
121 log_buf << toString(severity).c_str() << ":" << mode << " "; in reconnect()
124 LOG(INFO) << sensor_name << " send powerhint: " << log_buf.str(); in reconnect()
125 log_buf.clear(); in reconnect()
164 std::stringstream log_buf; in sendPowerExtHint() local
181 log_buf << toString(severity).c_str() << ":" << mode << " "; in sendPowerExtHint()
184 LOG(INFO) << t.name << " send powerhint: " << log_buf.str(); in sendPowerExtHint()
Dthermal_throttling.cpp327 const std::unordered_map<std::string, PowerStatus> &power_status_map, std::string *log_buf, in computeExcludedPower() argument
338 log_buf->append(StringPrintf( in computeExcludedPower()
370 std::string log_buf; in allocatePowerToCdev() local
380 &log_buf, temp.name); in allocatePowerToCdev()
382 if (!log_buf.empty()) { in allocatePowerToCdev()
383 LOG(INFO) << temp.name << " power budget=" << total_power_budget << " after " << log_buf in allocatePowerToCdev()
455 log_buf.append(StringPrintf("(%s: %0.2f mW)", in allocatePowerToCdev()
465 log_buf.append(StringPrintf("(%s: %0.2f mW)", in allocatePowerToCdev()
582 if (log_buf.size()) { in allocatePowerToCdev()
583 LOG(INFO) << temp.name << " binded power rails: " << log_buf; in allocatePowerToCdev()
Dthermal_throttling.h110 std::string *log_buf, std::string_view sensor_name);