Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DSchedulerTest.cpp117 EXPECT_CALL(*mEventThread, onHotplugReceived(_, _)).Times(0); in TEST_F()
118 mScheduler->onHotplugReceived(handle, PHYSICAL_DISPLAY_ID, false); in TEST_F()
142 EXPECT_CALL(*mEventThread, onHotplugReceived(PHYSICAL_DISPLAY_ID, false)).Times(1); in TEST_F()
143 mScheduler->onHotplugReceived(mConnectionHandle, PHYSICAL_DISPLAY_ID, false); in TEST_F()
H A DEventThreadTest.cpp151 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, true); in EventThreadTest()
304 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, false); in TEST_F()
526 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, false); in TEST_F()
531 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, true); in TEST_F()
536 mThread->onHotplugReceived(EXTERNAL_DISPLAY_ID, false); in TEST_F()
541 mThread->onHotplugReceived(EXTERNAL_DISPLAY_ID, true); in TEST_F()
H A DSurfaceFlinger_HandleTransactionLockedTest.cpp77 onHotplugReceived(ResultOf(convert, Case::Display::DISPLAY_ID::get()), connected)) in expectHotplugReceived()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DEventThread.h124 virtual void onHotplugReceived(PhysicalDisplayId displayId, bool connected) = 0;
174 void onHotplugReceived(PhysicalDisplayId displayId, bool connected) override;
H A DScheduler.cpp307 void Scheduler::onHotplugReceived(ConnectionHandle handle, PhysicalDisplayId displayId, in onHotplugReceived() function in android::Scheduler
316 thread->onHotplugReceived(displayId, connected); in onHotplugReceived()
467 eventThread->onHotplugReceived(PhysicalDisplayId::fromPort(0), true); in enableVSyncInjection()
H A DScheduler.h89 void onHotplugReceived(ConnectionHandle, PhysicalDisplayId, bool connected);
H A DEventThread.cpp371 void EventThread::onHotplugReceived(PhysicalDisplayId displayId, bool connected) { in onHotplugReceived() function in android::impl::EventThread
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/
H A DMockEventThread.h35 MOCK_METHOD2(onHotplugReceived, void(PhysicalDisplayId, bool));
/aosp12/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2661 mScheduler->onHotplugReceived(mAppConnectionHandle, displayId, connected); in dispatchDisplayHotplugEvent()
2662 mScheduler->onHotplugReceived(mSfConnectionHandle, displayId, connected); in dispatchDisplayHotplugEvent()