Searched refs:log_level (Results 1 – 7 of 7) sorted by relevance
118 int log_level = -1; in check_loglevel() local119 ParseInt(args[1], &log_level); in check_loglevel()120 if (log_level < 0 || log_level > 7) { in check_loglevel()
1039 int log_level = -1; in do_loglevel() local1040 android::base::ParseInt(args[1], &log_level); in do_loglevel()1042 switch (log_level) { in do_loglevel()1052 return Error() << "invalid log level " << log_level; in do_loglevel()
105 bool SetLogSeverity(ReportLib* report_lib, const char* log_level) EXPORT;145 bool SetLogSeverity(const char* log_level);203 bool ReportLib::SetLogSeverity(const char* log_level) { in SetLogSeverity() argument205 if (!GetLogSeverity(log_level, &severity)) { in SetLogSeverity()206 LOG(ERROR) << "Unknown log severity: " << log_level; in SetLogSeverity()472 bool SetLogSeverity(ReportLib* report_lib, const char* log_level) { in SetLogSeverity() argument473 return report_lib->SetLogSeverity(log_level); in SetLogSeverity()
230 uint8_t log_level = hh_cb.trace_level; in HID_HostInit() local232 hh_cb.trace_level = log_level; in HID_HostInit()
49 uint8_t log_level = hd_cb.trace_level; in HID_DevInit() local54 hd_cb.trace_level = log_level; in HID_DevInit()
277 def SetLogSeverity(self, log_level='info'): argument279 cond = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level))
507 ::android::base::LogSeverity log_level) { in MapExpectedOrLog() argument508 return observable.filter([log_level](const auto& result) { in MapExpectedOrLog()512 LOG(log_level) << result.error(); in MapExpectedOrLog()