D | UeventListener.cpp | 120 void UeventListener::ReportUsbPortOverheatEvent(const char *driver) { in ReportUsbPortOverheatEvent() argument 124 if (!driver || strcmp(driver, "DRIVER=google,overheat_mitigation")) { in ReportUsbPortOverheatEvent() 216 void UeventListener::ReportChargeMetricsEvent(const char *driver) { in ReportChargeMetricsEvent() argument 217 if (!driver || strcmp(driver, "DRIVER=google,battery")) { in ReportChargeMetricsEvent() 255 const char *action, *power_supply_typec_mode, *driver, *product; in ProcessUevent() local 276 action = power_supply_typec_mode = driver = product = NULL; in ProcessUevent() 291 driver = cp; in ProcessUevent() 310 ReportUsbPortOverheatEvent(driver); in ProcessUevent() 311 ReportChargeMetricsEvent(driver); in ProcessUevent()
|