Home
last modified time | relevance | path

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

/system/extras/libperfmgr/include/perfmgr/
DNodeLooperThread.h35 struct NodeAction { struct
36 NodeAction(std::size_t node_index, std::size_t value_index, in NodeAction() function
68 bool Request(const std::vector<NodeAction>& actions,
73 bool Cancel(const std::vector<NodeAction>& actions,
DHintManager.h39 const std::map<std::string, std::vector<NodeAction>>& actions) in HintManager()
76 static std::map<std::string, std::vector<NodeAction>> ParseActions(
86 const std::map<std::string, std::vector<NodeAction>> actions_;
/system/extras/libperfmgr/tests/
DNodeLooperThreadTest.cc82 std::vector<NodeAction> actions{{0, 0, 200ms}, {1, 1, 400ms}}; in TEST_F()
104 std::vector<NodeAction> actions{{0, 0, 200ms}, {1, 1, 500ms}}; in TEST_F()
112 actions = std::vector<NodeAction>{{0, 0, 300ms}, {1, 1, 100ms}}; in TEST_F()
135 std::vector<NodeAction> actions{{0, 0, 0ms}, {1, 1, 0ms}}; in TEST_F()
155 std::vector<NodeAction> actions_interaction{{0, 1, 800ms}, {1, 1, 0ms}}; in TEST_F()
163 std::vector<NodeAction> actions_launch{{0, 0, 0ms}, {1, 0, 400ms}}; in TEST_F()
DHintManagerTest.cc127 std::map<std::string, std::vector<NodeAction>>{}) { in HintManagerTest()
157 actions_ = std::map<std::string, std::vector<NodeAction>>{ in SetUp()
184 std::map<std::string, std::vector<NodeAction>> actions_;
410 std::map<std::string, std::vector<NodeAction>> actions = in TEST_F()
452 std::map<std::string, std::vector<NodeAction>> actions = in TEST_F()
465 std::map<std::string, std::vector<NodeAction>> actions = in TEST_F()
474 std::map<std::string, std::vector<NodeAction>> actions = in TEST_F()
/system/extras/libperfmgr/
DNodeLooperThread.cc27 bool NodeLooperThread::Request(const std::vector<NodeAction>& actions, in Request()
66 bool NodeLooperThread::Cancel(const std::vector<NodeAction>& actions, in Cancel()
DHintManager.cc61 std::vector<NodeAction> actions_override = actions_.at(hint_type); in DoHint()
119 std::map<std::string, std::vector<NodeAction>> actions = in GetFromJSON()
280 std::map<std::string, std::vector<NodeAction>> HintManager::ParseActions( in ParseActions()
284 std::map<std::string, std::vector<NodeAction>> actions_parsed; in ParseActions()
349 actions_parsed[hint_type] = std::vector<NodeAction>{ in ParseActions()
/system/extras/libperfmgr/tools/
DConfigVerifier.cc69 const std::map<std::string, std::vector<NodeAction>>& actions) in NodeVerifier()