Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp71 MockEventThread* mEventThread; member in android::scheduler::__anonee35d3570111::SchedulerTest
79 mEventThread = eventThread.get(); in SchedulerTest()
80 EXPECT_CALL(*mEventThread, registerDisplayEventConnection(_)).WillOnce(Return(0)); in SchedulerTest()
82 mEventThreadConnection = new MockEventThreadConnection(mEventThread); in SchedulerTest()
86 EXPECT_CALL(*mEventThread, createEventConnection(_, _)) in SchedulerTest()
106 EXPECT_CALL(*mEventThread, onHotplugReceived(_, _)).Times(0); in TEST_F()
109 EXPECT_CALL(*mEventThread, onScreenAcquired()).Times(0); in TEST_F()
112 EXPECT_CALL(*mEventThread, onScreenReleased()).Times(0); in TEST_F()
116 EXPECT_CALL(*mEventThread, dump(_)).Times(0); in TEST_F()
120 EXPECT_CALL(*mEventThread, setDuration(10ns, 20ns)).Times(0); in TEST_F()
[all …]
DDisplayTransactionTest.cpp67 EXPECT_CALL(*mEventThread, registerDisplayEventConnection(_)); in injectMockScheduler()
68 EXPECT_CALL(*mEventThread, createEventConnection(_, _)) in injectMockScheduler()
70 new EventThreadConnection(mEventThread, /*callingUid=*/0, ResyncCallback()))); in injectMockScheduler()
79 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler()
DSurfaceFlinger_SetPowerModeInternalTest.cpp67 EXPECT_CALL(*test->mEventThread, onScreenReleased()).Times(0); in setupVsyncAndEventThreadNoCallExpectations()
68 EXPECT_CALL(*test->mEventThread, onScreenAcquired()).Times(0); in setupVsyncAndEventThreadNoCallExpectations()
94 EXPECT_CALL(*test->mEventThread, onScreenAcquired()).Times(1); in setupAcquireAndEnableVsyncCallExpectations()
102 EXPECT_CALL(*test->mEventThread, onScreenReleased()).Times(1); in setupReleaseAndDisableVsyncCallExpectations()
525 EXPECT_CALL(*mEventThread, onModeChanged(display->getActiveMode())).Times(kTimes); in activeDisplayTest()
544 Mock::VerifyAndClearExpectations(mEventThread); in activeDisplayTest()
DSurfaceFlinger_DisplayTransactionCommitTest.cpp94 expectHotplugReceived<Case, true>(mEventThread); in setupCommonCallExpectationsForConnectProcessing()
102 expectHotplugReceived<Case, false>(mEventThread); in setupCommonCallExpectationsForDisconnectProcessing()
DDisplayTransactionTestHelpers.h132 mock::EventThread* mEventThread = new mock::EventThread; variable
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java67 HandlerThread mEventThread; field in DrmManagerClient
296 mEventThread.quit(); in close()
297 mEventThread = null; in close()
940 mEventThread = new HandlerThread("DrmManagerClient.EventHandler"); in createEventThreads()
941 mEventThread.start(); in createEventThreads()
942 mEventHandler = new EventHandler(mEventThread.getLooper()); in createEventThreads()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp166 mEventThread(eventThread), in EventThreadConnection()
176 mEventThread->registerDisplayEventConnection(this); in onFirstRef()
191 mEventThread->setVsyncRate(static_cast<uint32_t>(rate), this); in setVsyncRate()
197 mEventThread->requestNextVsync(this); in requestNextVsync()
204 outVsyncEventData->vsync = mEventThread->getLatestVsyncEventData(this); in getLatestVsyncEventData()
DEventThread.h114 EventThread* const mEventThread; variable
/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp194 mock::EventThread* mEventThread = new testing::NiceMock<mock::EventThread>(); in generate() local
198 std::unique_ptr<EventThread>(mEventThread), in generate()
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java1343 private HandlerThread mEventThread; field in PlaybackActivityMonitor
1354 mEventThread = new HandlerThread(TAG); in initEventHandler()
1355 mEventThread.start(); in initEventHandler()
1356 mEventHandler = new Handler(mEventThread.getLooper()) { in initEventHandler()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt14985 Landroid/drm/DrmManagerClient;->mEventThread:Landroid/os/HandlerThread;