Searched refs:AddRequest (Results 1 - 8 of 8) sorted by relevance

/system/extras/libperfmgr/tests/
H A DRequestGroupTest.cc38 // Test AddRequest()
43 bool ret = req.AddRequest("INTERACTION", start + duration);
54 // Test AddRequest() with a huge expire time which could be done in some long
58 bool ret = req.AddRequest("INTERACTION", ReqTime::max());
70 // Test AddRequest() and expires
75 bool ret = req.AddRequest("INTERACTION", start + duration);
77 ret = req.AddRequest("INTERACTION", start + duration + 1ms);
86 // Test AddRequest() with new value
91 bool ret = req.AddRequest("INTERACTION", start + duration);
100 ret = req.AddRequest("INTERACTIO
[all...]
H A DNodeTest.cc113 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 200ms));
119 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 2000ms));
131 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms));
138 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms));
161 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms));
168 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms));
192 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms));
199 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms));
205 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 100ms));
211 EXPECT_TRUE(t.AddRequest(
[all...]
H A DNodeLooperThreadTest.cc76 TEST_F(NodeLooperThreadTest, AddRequest) {
/system/extras/libperfmgr/include/perfmgr/
H A DRequestGroup.h50 bool AddRequest(const std::string& hint_type, ReqTime end_time);
H A DNode.h54 bool AddRequest(std::size_t value_index, const std::string& hint_type,
/system/extras/libperfmgr/
H A DRequestGroup.cc24 bool RequestGroup::AddRequest(const std::string& hint_type, ReqTime end_time) { function in class:android::perfmgr::RequestGroup
H A DNode.cc48 bool Node::AddRequest(std::size_t value_index, const std::string& hint_type, function in class:android::perfmgr::Node
56 req_sorted_[value_index].AddRequest(hint_type, end_time);
H A DNodeLooperThread.cc57 ret = nodes_[a.node_index]->AddRequest(a.value_index, hint_type,

Completed in 78 milliseconds