Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
Daction_cpu_isolate.cpp90 auto thermalInterface = g_service->GetThermalInterface(); in RequestCpuIsolate() local
91 if (thermalInterface != nullptr) { in RequestCpuIsolate()
92 int32_t ret = thermalInterface->IsolateCpu(isolateNum); in RequestCpuIsolate()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_charger.cpp105 auto thermalInterface = g_service->GetThermalInterface(); in ChargerRequest() local
106 if (thermalInterface != nullptr) { in ChargerRequest()
107 int32_t ret = thermalInterface->SetBatteryCurrent(current); in ChargerRequest()