Searched refs:actionMap (Results 1 – 5 of 5) sorted by relevance
70 … ThermalDeviceControl::ThermalActionMap actionMap = g_service.GetControl()->GetThermalAction(); in ActionDecision() local71 auto nameIter = actionMap.find(actionIter->name); in ActionDecision()72 if (nameIter != actionMap.end()) { in ActionDecision()91 ThermalDeviceControl::ThermalActionMap actionMap = g_service.GetControl()->GetThermalAction(); in ActionExecution() local92 THERMAL_HILOGI(FEATURE_PROTECTOR, "size: %{public}zu", actionMap.size()); in ActionExecution()94 auto executeIter = actionMap.find(name); in ActionExecution()95 if (executeIter != actionMap.end()) { in ActionExecution()
115 actionMap.emplace(type, action); in AddAction()123 for (auto iterator = actionMap.begin(); iterator != actionMap.end(); iterator++) { in TriggerAllActions()136 auto iterator = actionMap.find(type); in IsValidType()137 if (iterator == actionMap.end()) { in IsValidType()
152 …ThermalActionManager::ThermalActionMap actionMap = g_service->GetActionManagerObj()->GetActionMap(… in ActionDecision() local153 auto actionIter = actionMap.find(action->actionName); in ActionDecision()154 if (actionIter == actionMap.end() || actionIter->second == nullptr) { in ActionDecision()213 ThermalActionManager::ThermalActionMap actionMap = actionMgr->GetActionMap(); in ActionExecution() local214 for (auto iter = actionMap.begin(); iter != actionMap.end(); iter++) { in ActionExecution()
610 auto& actionMap = g_service->actionMgr_->actionMap_; variable611 actionMap["test"] = nullptr;613 EXPECT_FALSE(actionMap.empty());642 auto& actionMap = g_service->actionMgr_->actionMap_; variable643 actionMap["test"] = std::make_shared<ActionCpuBig>(CPU_BIG_ACTION_NAME);644 actionMap["test1"] = std::make_shared<ActionCpuBig>(CPU_BIG_ACTION_NAME);645 actionMap["test2"] = std::make_shared<ActionCpuBig>(CPU_BIG_ACTION_NAME);647 EXPECT_FALSE(actionMap.empty());
56 std::map<uint32_t, ModeAction> actionMap; variable