Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchRealtimeTest.cpp32 constexpr nsecs_t toNs(std::chrono::duration<Rep, Per> const& tp) { in toNs() function
38 FixedRateIdealStubTracker() : mPeriod{toNs(3ms)} {} in FixedRateIdealStubTracker()
98 static nsecs_t constexpr mDispatchGroupThreshold = toNs(100us);
99 static nsecs_t constexpr mVsyncMoveThreshold = toNs(500us);
161 cb_receiver{RepeatingCallbackReceiver(dispatch, toNs(1500us)), in TEST_F()
162 RepeatingCallbackReceiver(dispatch, toNs(0h)), in TEST_F()
163 RepeatingCallbackReceiver(dispatch, toNs(1ms))}; in TEST_F()
183 auto next_vsync_interval = toNs(3ms); in TEST_F()
188 RepeatingCallbackReceiver cb_receiver(dispatch, toNs(1ms)); in TEST_F()
191 tracker.set_interval(next_vsync_interval += toNs(1ms), last_known); in TEST_F()
[all …]