Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/
DDisplayEventReceiver_test.cpp24 void SetUp() override { EXPECT_EQ(NO_ERROR, mDisplayEventReceiver.initCheck()); } in SetUp()
26 DisplayEventReceiver mDisplayEventReceiver; member in android::DisplayEventReceiverTest
32 EXPECT_EQ(NO_ERROR, mDisplayEventReceiver.getLatestVsyncEventData(&parcelableVsyncEventData)); in TEST_F()
DLayerCallback_test.cpp39 EXPECT_EQ(NO_ERROR, mDisplayEventReceiver.initCheck()); in SetUp()
46 EXPECT_EQ(0, epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mDisplayEventReceiver.getFd(), &event)); in SetUp()
134 DisplayEventReceiver mDisplayEventReceiver; member in android::LayerCallbackTest
143 mDisplayEventReceiver.requestNextVsync(); in waitForNextVsync()
149 while (mDisplayEventReceiver.getEvents(&event, 1) > 0) { in waitForNextVsync()
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp72 mLooper->addFd(mDisplayEventReceiver.getFd(), EVENT_ID, Looper::EVENT_INPUT, nullptr, nullptr); in TestContext()
133 mDisplayEventReceiver.requestNextVsync(); in waitForVsync()
140 while (mDisplayEventReceiver.getEvents(buf, 100) > 0) { in waitForVsync()
DTestContext.h69 DisplayEventReceiver mDisplayEventReceiver; variable
/frameworks/base/libs/input/
DPointerControllerContext.cpp156 if (mDisplayEventReceiver.initCheck() == NO_ERROR) { in initializeDisplayEventReceiver()
157 mContext.mLooper->addFd(mDisplayEventReceiver.getFd(), Looper::POLL_CALLBACK, in initializeDisplayEventReceiver()
185 while ((n = mDisplayEventReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in handleVsyncEvents()
208 mDisplayEventReceiver.requestNextVsync(); in startAnimationLocked()
DPointerControllerContext.h156 DisplayEventReceiver mDisplayEventReceiver; variable
/frameworks/base/core/java/android/view/
DChoreographer.java179 private final FrameDisplayEventReceiver mDisplayEventReceiver; field in Choreographer
282 mDisplayEventReceiver = USE_VSYNC in Choreographer()
360 mDisplayEventReceiver.dispose(); in dispose()
773 if (mDisplayEventReceiver == null) { in getLatestExpectedPresentTimeNanos()
777 return mDisplayEventReceiver.getLatestVsyncEventData() in getLatestExpectedPresentTimeNanos()
895 frameTimeNanos, mDisplayEventReceiver, jitterNanos); in doFrame()
1003 mFrameData.update(frameTimeNanos, mDisplayEventReceiver, jitterNanos); in doCallbacks()
1053 mDisplayEventReceiver.scheduleVsync(); in scheduleVsyncLocked()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h173 std::unique_ptr<DisplayEventReceiver> mDisplayEventReceiver; variable
DBootAnimation.cpp438 numEvents = mBootAnimation->mDisplayEventReceiver->getEvents(buffer, kBufferSize); in handleEvent()
633 mDisplayEventReceiver = std::make_unique<DisplayEventReceiver>(); in readyToRun()
634 status_t status = mDisplayEventReceiver->initCheck(); in readyToRun()
637 mLooper->addFd(mDisplayEventReceiver->getFd(), 0, Looper::EVENT_INPUT, in readyToRun()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.h440 DisplayEventReceiver mDisplayEventReceiver; variable
DCamera3OutputStream.cpp1376 auto res = mDisplayEventReceiver.getLatestVsyncEventData(&parcelableVsyncEventData); in syncTimestampToDisplayLocked()