Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/
H A Dthermal_action_manager.cpp33 std::shared_ptr<IThermalAction> thermalAction = nullptr; in Init() local
36 thermalAction = actionThermalLevel_; in Init()
38 thermalAction = ThermalActionFactory::Create(item->protocol, item->name); in Init()
40 thermalAction = ThermalActionFactory::Create(item->name, item->name); in Init()
42 if (thermalAction == nullptr) { in Init()
46 thermalAction->InitParams(item->params); in Init()
47 thermalAction->SetStrict(item->strict); in Init()
48 thermalAction->SetEnableEvent(item->enableEvent); in Init()
49 actionMap_.emplace(item->name, thermalAction); in Init()