Searched refs:mVsyncSchedule (Results 1 – 4 of 4) sorted by relevance
47 const std::unique_ptr<scheduler::VsyncSchedule> mVsyncSchedule = member in android::VsyncScheduleTest55 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 …]
142 std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule; member in android::EventThreadTest160 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()
283 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()
221 std::shared_ptr<scheduler::VsyncSchedule> mVsyncSchedule GUARDED_BY(mMutex);