Searched refs:cb_receiver (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchRealtimeTest.cpp | 174 cb_receiver{RepeatingCallbackReceiver(dispatch, toNs(1500us), toNs(2500us)), in TEST_F() local 180 std::thread([&] { cb_receiver[0].repeatedly_schedule(mIterations, on_each_frame); }), in TEST_F() 181 std::thread([&] { cb_receiver[1].repeatedly_schedule(mIterations, on_each_frame); }), in TEST_F() 182 std::thread([&] { cb_receiver[2].repeatedly_schedule(mIterations, on_each_frame); }), in TEST_F() 189 for (auto const& cbs : cb_receiver) { in TEST_F() 202 RepeatingCallbackReceiver cb_receiver(dispatch, toNs(1ms), toNs(5ms)); in TEST_F() local 208 std::thread eventThread([&] { cb_receiver.repeatedly_schedule(mIterations, on_each_frame); }); in TEST_F() 211 cb_receiver.with_callback_times([](auto times) { EXPECT_THAT(times.size(), Eq(mIterations)); }); in TEST_F() 221 RepeatingCallbackReceiver cb_receiver(dispatch, toNs(1ms), toNs(5ms)); in TEST_F() local 230 std::thread eventThread([&] { cb_receiver.repeatedly_schedule(mIterations, on_each_frame); }); in TEST_F() [all …]
|