Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp47 : Scheduler([](bool) {}, refreshRateConfigs), mEventThread(std::move(eventThread)) {} in MockScheduler()
53 return std::move(mEventThread); in makeEventThread()
59 std::unique_ptr<EventThread> mEventThread; member in android::SchedulerTest::MockScheduler
66 mock::EventThread* mEventThread; member in android::SchedulerTest
82 mEventThread = eventThread.get(); in SchedulerTest()
84 EXPECT_CALL(*mEventThread, registerDisplayEventConnection(_)).WillOnce(Return(0)); in SchedulerTest()
86 mEventThreadConnection = new MockEventThreadConnection(mEventThread); in SchedulerTest()
90 EXPECT_CALL(*mEventThread, createEventConnection(_, _)) in SchedulerTest()
146 EXPECT_CALL(*mEventThread, onHotplugReceived(_, _)).Times(0); in TEST_F()
150 EXPECT_CALL(*mEventThread, onScreenAcquired()).Times(0); in TEST_F()
[all …]
DDisplayTransactionTest.cpp125 mock::EventThread* mEventThread = new mock::EventThread(); member in android::__anon968546880111::DisplayTransactionTest
195 EXPECT_CALL(*mEventThread, registerDisplayEventConnection(_)); in setupScheduler()
202 mScheduler->addConnection(std::unique_ptr<EventThread>(mEventThread)); in setupScheduler()
1570 expectHotplugReceived<Case, true>(mEventThread); in setupCommonCallExpectationsForConnectProcessing()
1578 expectHotplugReceived<Case, false>(mEventThread); in setupCommonCallExpectationsForDisconnectProcessing()
2809 EXPECT_CALL(*test->mEventThread, onScreenReleased()).Times(0); in setupEventAndEventControlThreadNoCallExpectations()
2810 EXPECT_CALL(*test->mEventThread, onScreenAcquired()).Times(0); in setupEventAndEventControlThreadNoCallExpectations()
2836 EXPECT_CALL(*test->mEventThread, onScreenAcquired()).Times(1); in setupAcquireAndEnableVsyncCallExpectations()
2844 EXPECT_CALL(*test->mEventThread, onScreenReleased()).Times(1); in setupReleaseAndDisableVsyncCallExpectations()
DCompositionTest.cpp141 EXPECT_CALL(*mEventThread.get(), registerDisplayEventConnection(_)); in setupScheduler()
143 mScheduler->addConnection(std::move(mEventThread)); in setupScheduler()
181 std::unique_ptr<mock::EventThread> mEventThread = std::make_unique<mock::EventThread>(); member in android::__anon4393af000111::CompositionTest
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java62 HandlerThread mEventThread; field in DrmManagerClient
291 mEventThread.quit(); in close()
292 mEventThread = null; in close()
924 mEventThread = new HandlerThread("DrmManagerClient.EventHandler"); in createEventThreads()
925 mEventThread.start(); in createEventThreads()
926 mEventHandler = new EventHandler(mEventThread.getLooper()); in createEventThreads()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp90 if (mEventThread == eventThread) { in setEventThread()
98 mEventThread = eventThread; in setEventThread()
DEventThread.cpp118 mEventThread(eventThread), in EventThreadConnection()
128 mEventThread->registerDisplayEventConnection(this); in onFirstRef()
137 mEventThread->setVsyncRate(rate, this); in setVsyncRate()
143 mEventThread->requestNextVsync(this); in requestNextVsync()
DMessageQueue.h118 android::EventThread* mEventThread; variable
DEventThread.h90 EventThread* const mEventThread; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17872 Landroid/drm/DrmManagerClient;->mEventThread:Landroid/os/HandlerThread;