Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVsyncScheduleTest.cpp47 const std::unique_ptr<scheduler::VsyncSchedule> mVsyncSchedule = member in android::VsyncScheduleTest
55 return *static_cast<mock::VsyncController*>(&mVsyncSchedule->getController()); in getController()
76 ASSERT_FALSE(mVsyncSchedule->isHardwareVsyncAllowed(false /* makeAllowed */)); in TEST_F()
82 mVsyncSchedule->enableHardwareVsync(); in TEST_F()
88 mVsyncSchedule->disableHardwareVsync(false /* disallow */); in TEST_F()
94 mVsyncSchedule->disableHardwareVsync(true /* disallow */); in TEST_F()
98 ASSERT_TRUE(mVsyncSchedule->isHardwareVsyncAllowed(true /* makeAllowed */)); in TEST_F()
102 ASSERT_TRUE(mVsyncSchedule->isHardwareVsyncAllowed(true /* makeAllowed */)); in TEST_F()
105 mVsyncSchedule->disableHardwareVsync(false /* disallow */); in TEST_F()
109 ASSERT_TRUE(mVsyncSchedule->isHardwareVsyncAllowed(true /* makeAllowed */)); in TEST_F()
[all …]
DEventThreadTest.cpp142 std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule; member in android::EventThreadTest
160 mVsyncSchedule = std::shared_ptr<scheduler::VsyncSchedule>( in EventThreadTest()
204 mThread = std::make_unique<impl::EventThread>("EventThreadTest", mVsyncSchedule, in setupEventThread()
492 *static_cast<mock::VSyncTracker*>(&mVsyncSchedule->getTracker()); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp283 mVsyncSchedule(std::move(vsyncSchedule)), in EventThread()
284 mVsyncRegistration(mVsyncSchedule->getDispatch(), createDispatchCallback(), name), in EventThread()
402 const auto vsyncTime = mVsyncSchedule->getTracker().nextAnticipatedVSyncTimeFrom( in getLatestVsyncEventData()
576 return !mVsyncSchedule->getTracker() in shouldConsumeEvent()
789 mVsyncSchedule = std::move(schedule); in onNewVsyncScheduleInternal()
792 scheduler::VSyncCallbackRegistration(mVsyncSchedule->getDispatch(), in onNewVsyncScheduleInternal()
DEventThread.h221 std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule GUARDED_BY(mMutex);