/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchTimerQueueTest.cpp | 248 {.workDuration = 100, .readyDuration = 0, .lastVsync = 1000}); in TEST_F() 262 {.workDuration = 100, .readyDuration = 0, .lastVsync = intended}); in TEST_F() 282 {.workDuration = 100, .readyDuration = 0, .lastVsync = intended}); in TEST_F() 288 mDispatch->update(cb, {.workDuration = 300, .readyDuration = 0, .lastVsync = intended}); in TEST_F() 306 mDispatch->update(cb, {.workDuration = 300, .readyDuration = 0, .lastVsync = intended}); in TEST_F() 317 mDispatch->schedule(cb, {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F() 336 .readyDuration = 0, in TEST_F() 350 {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F() 364 {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F() 379 {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F() [all …]
|
D | MessageQueueTest.cpp | 98 .readyDuration = 0, in TEST_F() 116 .readyDuration = 0, in TEST_F() 143 .readyDuration = 0, in TEST_F() 174 .readyDuration = 0, in TEST_F() 187 .readyDuration = 0, in TEST_F()
|
D | VSyncDispatchRealtimeTest.cpp | 110 nsecs_t readyDuration) in RepeatingCallbackReceiver() argument 112 mReadyDuration(readyDuration), in RepeatingCallbackReceiver() 120 .readyDuration = mReadyDuration, in repeatedly_schedule() 133 .readyDuration = mReadyDuration, in repeatedly_schedule()
|
D | EventThreadTest.cpp | 246 EXPECT_EQ(expectedReadyDuration.count(), std::get<1>(args.value()).readyDuration); in expectVSyncSetDurationCallReceived()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncDispatch.h | 102 nsecs_t readyDuration = 0; member 106 return workDuration == other.workDuration && readyDuration == other.readyDuration &&
|
D | VSyncDispatchTimerQueue.cpp | 43 return {TimePoint::fromNs(nextVsyncTime - timing.readyDuration - timing.workDuration), in getExpectedCallbackTime() 105 timing.readyDuration), in schedule() 107 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule() 121 nextWakeupTime = std::max(now, nextVsyncTime - timing.workDuration - timing.readyDuration); in schedule() 127 nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule() 130 auto const nextReadyTime = nextVsyncTime - timing.readyDuration; in schedule() 176 const auto earliestReadyBy = now + timing.workDuration + timing.readyDuration; in getArmedInfo() 183 const auto nextReadyTime = nextVsyncTime - timing.readyDuration; in getArmedInfo() 209 const auto readyDelta = mWorkloadUpdateInfo->readyDuration - mScheduleTiming.readyDuration; in update() 266 mScheduleTiming.workDuration / 1e6f, mScheduleTiming.readyDuration / 1e6f, in dump()
|
D | MessageQueue.cpp | 126 .readyDuration = 0, in onNewVsyncScheduleLocked() 144 .readyDuration = 0, in setDuration() 197 .readyDuration = 0, in scheduleFrame()
|
D | EventThread.h | 123 std::chrono::nanoseconds readyDuration) = 0; 154 std::chrono::nanoseconds workDuration, std::chrono::nanoseconds readyDuration); 180 std::chrono::nanoseconds readyDuration) override;
|
D | EventThread.cpp | 278 std::chrono::nanoseconds readyDuration) in EventThread() argument 282 mReadyDuration(readyDuration), in EventThread() 317 std::chrono::nanoseconds readyDuration) { in setDuration() argument 320 mReadyDuration = readyDuration; in setDuration() 323 .readyDuration = mReadyDuration.count(), in setDuration() 533 .readyDuration = mReadyDuration.count(), in threadMain() 797 .readyDuration = mReadyDuration.count(), in onNewVsyncScheduleInternal()
|
D | Scheduler.h | 142 std::chrono::nanoseconds readyDuration); 168 std::chrono::nanoseconds readyDuration);
|
D | Scheduler.cpp | 350 std::chrono::nanoseconds readyDuration) { in createEventThread() argument 354 workDuration, readyDuration); in createEventThread() 473 std::chrono::nanoseconds readyDuration) { in setDuration() argument 475 eventThreadFor(cycle).setDuration(workDuration, readyDuration); in setDuration()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockEventThread.h | 50 (std::chrono::nanoseconds workDuration, std::chrono::nanoseconds readyDuration),
|