Home
last modified time | relevance | path

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

/hardware/google/pixel/pixelstats/
DUeventListener.cpp338 std::vector<std::string> type_msg = android::base::Split(thermal_abnormal_event_type, "="); in ReportThermalAbnormalEvent() local
340 if (type_msg.size() != 2 || info_msg.size() != 2) { in ReportThermalAbnormalEvent()
341 ALOGE("Invalid msg size for thermal abnormal with type(%zu) and info(%zu)", type_msg.size(), in ReportThermalAbnormalEvent()
346 if (type_msg[0] != "THERMAL_ABNORMAL_TYPE" || info_msg[0] != "THERMAL_ABNORMAL_INFO") { in ReportThermalAbnormalEvent()
348 type_msg[0].c_str(), info_msg[0].c_str()); in ReportThermalAbnormalEvent()
352 auto abnormality_type = kThermalAbnormalityTypeStrToEnum.find(type_msg[1]); in ReportThermalAbnormalEvent()
354 ALOGE("Unknown thermal abnormal event type %s", type_msg[1].c_str()); in ReportThermalAbnormalEvent()