Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DBatteryThermalControl.cpp30 void BatteryThermalControl::setThermalMode(bool isEnable, bool isWeakCharger) { in setThermalMode() argument
31 std::string action = (isEnable) ? "enabled" : "disabled"; in setThermalMode()
33 if (mStatus != isEnable) { in setThermalMode()
34 if (!isEnable && isWeakCharger) in setThermalMode()
37 mStatus = isEnable; in setThermalMode()