Home
last modified time | relevance | path

Searched refs:AddRequest (Results 1 – 10 of 10) sorted by relevance

/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DRequestGroupTest.cc43 bool ret = req.AddRequest("INTERACTION", start + duration); in TEST()
58 bool ret = req.AddRequest("INTERACTION", ReqTime::max()); in TEST()
75 bool ret = req.AddRequest("INTERACTION", start + duration); in TEST()
77 ret = req.AddRequest("INTERACTION", start + duration + 1ms); in TEST()
91 bool ret = req.AddRequest("INTERACTION", start + duration); in TEST()
100 ret = req.AddRequest("INTERACTION", start + shorter_duration); in TEST()
108 ret = req.AddRequest("INTERACTION", start + duration); in TEST()
120 req.AddRequest("INTERACTION", start + duration_interact); in TEST()
122 req.AddRequest("LAUNCH", start + duration_launch); in TEST()
135 req.AddRequest("INTERACTION", start + duration_interact); in TEST()
[all …]
DFileNodeTest.cc123 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 200ms)); in TEST()
129 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 2000ms)); in TEST()
141 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
148 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
171 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
178 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
203 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
210 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
216 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 100ms)); in TEST()
222 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 300ms)); in TEST()
DPropertyNodeTest.cc129 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
136 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
159 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
166 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
189 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
196 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
202 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 100ms)); in TEST()
208 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 300ms)); in TEST()
DNodeLooperThreadTest.cc76 TEST_F(NodeLooperThreadTest, AddRequest) { in TEST_F() argument
/hardware/libhardware/modules/camera/3_4/
Drequest_tracker_test.cpp56 void AddRequest(uint32_t frame, in AddRequest() function in default_camera_hal::RequestTrackerTest
80 AddRequest(frame, {&stream1_}); in TEST_F()
108 AddRequest(99, {&stream1_, &stream2_}); in TEST_F()
119 AddRequest(1, {&stream}, false); in TEST_F()
129 AddRequest(i, {&stream1_}); in TEST_F()
137 AddRequest(stream1_.max_buffers, {&stream1_, &stream2_}, false); in TEST_F()
145 AddRequest(frame, {&stream1_}); in TEST_F()
147 AddRequest(frame, {&stream2_}, false); in TEST_F()
159 AddRequest(frame + 1, {&stream1_}); in TEST_F()
173 AddRequest(frame, {&stream1_}); in TEST_F()
[all …]
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DNode.cc39 bool Node::AddRequest(std::size_t value_index, const std::string& hint_type, in AddRequest() function in android::perfmgr::Node
47 req_sorted_[value_index].AddRequest(hint_type, end_time); in AddRequest()
DRequestGroup.cc29 bool RequestGroup::AddRequest(const std::string& hint_type, ReqTime end_time) { in AddRequest() function in android::perfmgr::RequestGroup
DNodeLooperThread.cc65 ret = nodes_[a.node_index]->AddRequest(a.value_index, hint_type, in Request()
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DRequestGroup.h51 bool AddRequest(const std::string& hint_type, ReqTime end_time);
DNode.h52 bool AddRequest(std::size_t value_index, const std::string& hint_type,