Lines Matching refs:action
127 for (auto &action : actions_.at(hint_type).hint_actions) { in DoHintAction() local
128 if (!action.enable_property.empty() && in DoHintAction()
129 !android::base::GetBoolProperty(action.enable_property, true)) { in DoHintAction()
133 switch (action.type) { in DoHintAction()
135 DoHint(action.value); in DoHintAction()
138 EndHint(action.value); in DoHintAction()
141 if (actions_.find(action.value) == actions_.end()) { in DoHintAction()
142 LOG(ERROR) << "Failed to find " << action.value << " action"; in DoHintAction()
145 actions_.at(action.value).mask_requesters.insert(hint_type); in DoHintAction()
151 << static_cast<std::underlying_type<HintActionType>::type>(action.type) in DoHintAction()
158 for (auto &action : actions_.at(hint_type).hint_actions) { in EndHintAction() local
159 if (action.type == HintActionType::MaskHint && in EndHintAction()
160 actions_.find(action.value) != actions_.end()) { in EndHintAction()
162 actions_.at(action.value).mask_requesters.erase(hint_type); in EndHintAction()
186 for (auto& action : actions_override) { in DoHint() local
187 action.timeout_ms = timeout_ms_override; in DoHint()
213 for (auto const& action : actions_) { in GetHints() local
214 hints.push_back(action.first); in GetHints()
625 for (const auto &action : actions_parsed[hint_type].node_actions) { in ParseActions() local
626 if (action.node_index == node_index) { in ParseActions()
655 for (const auto& action : actions_parsed) { in ParseActions() local
656 LOG(INFO) << "PowerHint " << action.first << " has " << action.second.node_actions.size() in ParseActions()
658 << ", and " << action.second.hint_actions.size() << " hint actions parsed"; in ParseActions()