Searched refs:stateMap (Results 1 – 5 of 5) sorted by relevance
664 std::map<std::string, std::string> stateMap; variable665 stateMap["test"] = "test";666 EXPECT_FALSE(policy.StateMachineDecision(stateMap));671 EXPECT_FALSE(policy.StateMachineDecision(stateMap));675 EXPECT_FALSE(policy.StateMachineDecision(stateMap));678 stateMap["test"] = "1";681 EXPECT_TRUE(policy.StateMachineDecision(stateMap));683 EXPECT_FALSE(policy.StateMachineDecision(stateMap));685 stateMap["test1"] = "0";687 EXPECT_FALSE(policy.StateMachineDecision(stateMap));
176 std::map<std::string, std::string> stateMap; in StateDecision() local177 GetStateMap(stateMap); in StateDecision()179 auto stateIter = stateMap.find(prop.first); in StateDecision()184 if (stateIter != stateMap.end()) { in StateDecision()219 void ThermalActionReportTest::GetStateMap(std::map<std::string, std::string>& stateMap) in GetStateMap() argument231 stateMap.emplace(std::pair(stateIter.name, state)); in GetStateMap()233 for (auto iter : stateMap) { in GetStateMap()
42 static void GetStateMap(std::map<std::string, std::string>& stateMap);
188 bool ThermalPolicy::StateMachineDecision(const std::map<std::string, std::string>& stateMap) in StateMachineDecision() argument190 for (auto prop = stateMap.begin(); prop != stateMap.end(); prop++) { in StateMachineDecision()
64 bool StateMachineDecision(const std::map<std::string, std::string>& stateMap);