Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DVSyncModulator.h60 mEventThread = eventThread; in setEventThread()
107 if (mEventThread) { in updatePhaseOffsets()
108 mEventThread->setPhaseOffset(mEarlyPhaseOffset); in updatePhaseOffsets()
114 if (mEventThread) { in updatePhaseOffsets()
115 mEventThread->setPhaseOffset(mLatePhaseOffset); in updatePhaseOffsets()
129 EventThread* mEventThread = nullptr; variable
DMessageQueue.cpp89 if (mEventThread == eventThread) { in setEventThread()
97 mEventThread = eventThread; in setEventThread()
DEventThread.cpp379 : count(-1), mEventThread(eventThread), mChannel(gui::BitTube::DefaultSize) {} in Connection()
388 mEventThread->registerDisplayEventConnection(this); in onFirstRef()
397 mEventThread->setVsyncRate(count, this); in setVsyncRate()
402 mEventThread->requestNextVsync(this); in requestNextVsync()
DMessageQueue.h116 android::EventThread* mEventThread; variable
DEventThread.h100 EventThread* const mEventThread; variable
DSurfaceFlinger.cpp649 mEventThread = std::make_unique<impl::EventThread>(mEventThreadSource.get(), in init()
1222 return mEventThread->createEventConnection(); in createDisplayEventConnection()
2377 mEventThread->onHotplugReceived(draw[i].type, false); in processDisplayChangesLocked()
2477 mEventThread->onHotplugReceived(state.type, true); in processDisplayChangesLocked()
3733 mEventThread->onScreenAcquired(); in setPowerModeInternal()
3758 mEventThread->onScreenReleased(); in setPowerModeInternal()
3771 mEventThread->onScreenAcquired(); in setPowerModeInternal()
3779 mEventThread->onScreenReleased(); in setPowerModeInternal()
4294 mEventThread->dump(result); in dumpAllLocked()
4601 mEventThread->setPhaseOffset(static_cast<nsecs_t>(n)); in onTransact()
DSurfaceFlinger.h790 std::unique_ptr<EventThread> mEventThread; variable
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java62 HandlerThread mEventThread; field in DrmManagerClient
291 mEventThread.quit(); in close()
292 mEventThread = null; in close()
923 mEventThread = new HandlerThread("DrmManagerClient.EventHandler"); in createEventThreads()
924 mEventThread.start(); in createEventThreads()
925 mEventHandler = new EventHandler(mEventThread.getLooper()); in createEventThreads()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp112 mock::EventThread* mEventThread = new mock::EventThread(); member in android::__anon968546880111::DisplayTransactionTest
153 mFlinger.mutableEventThread().reset(mEventThread); in DisplayTransactionTest()
1163 EXPECT_CALL(*mEventThread, onHotplugReceived(Case::Display::TYPE, true)).Times(1); in setupCommonCallExpectationsForConnectProcessing()
1169 EXPECT_CALL(*mEventThread, onHotplugReceived(Case::Display::TYPE, false)).Times(1); in setupCommonCallExpectationsForDisconnectProcessing()
2384 EXPECT_CALL(*test->mEventThread, onScreenReleased()).Times(0); in setupEventAndEventControlThreadNoCallExpectations()
2385 EXPECT_CALL(*test->mEventThread, onScreenAcquired()).Times(0); in setupEventAndEventControlThreadNoCallExpectations()
2411 EXPECT_CALL(*test->mEventThread, onScreenAcquired()).Times(1); in setupAcquireAndEnableVsyncCallExpectations()
2419 EXPECT_CALL(*test->mEventThread, onScreenReleased()).Times(1); in setupReleaseAndDisableVsyncCallExpectations()
DTestableSurfaceFlinger.h121 auto& mutableEventThread() { return mFlinger->mEventThread; } in mutableEventThread()