Searched refs:EventThreadConnection (Results 1 – 15 of 15) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.h | 73 class EventThreadConnection : public BnDisplayEventConnection { 75 EventThreadConnection(EventThread*, ResyncCallback, 77 virtual ~EventThreadConnection(); 108 virtual sp<EventThreadConnection> createEventConnection( 128 const sp<EventThreadConnection>& connection) = 0; 129 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0; 131 virtual void requestNextVsync(const sp<EventThreadConnection>& connection) = 0; 135 virtual void requestLatestConfig(const sp<EventThreadConnection>& connection) = 0; 150 sp<EventThreadConnection> createEventConnection( 153 status_t registerDisplayEventConnection(const sp<EventThreadConnection>& connection) override; [all …]
|
D | EventThread.cpp | 69 std::string toString(const EventThreadConnection& connection) { in toString() 122 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() function in android::EventThreadConnection 130 EventThreadConnection::~EventThreadConnection() { in ~EventThreadConnection() 135 void EventThreadConnection::onFirstRef() { in onFirstRef() 140 status_t EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel() 145 status_t EventThreadConnection::setVsyncRate(uint32_t rate) { in setVsyncRate() 150 void EventThreadConnection::requestNextVsync() { in requestNextVsync() 155 void EventThreadConnection::requestLatestConfig() { in requestLatestConfig() 160 status_t EventThreadConnection::postEvent(const DisplayEventReceiver::Event& event) { in postEvent() 214 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection() [all …]
|
D | MessageQueue.h | 66 virtual void setEventConnection(const sp<EventThreadConnection>& connection) = 0; 95 sp<EventThreadConnection> mEvents; 105 void setEventConnection(const sp<EventThreadConnection>& connection) override;
|
D | Scheduler.h | 92 sp<EventThreadConnection> getEventConnection(ConnectionHandle); 184 sp<EventThreadConnection> createConnectionInternal(EventThread*, 210 sp<EventThreadConnection> connection;
|
D | MessageQueue.cpp | 70 void MessageQueue::setEventConnection(const sp<EventThreadConnection>& connection) { in setEventConnection()
|
D | Scheduler.cpp | 199 sp<EventThreadConnection> Scheduler::createConnectionInternal( in createConnectionInternal() 210 sp<EventThreadConnection> Scheduler::getEventConnection(ConnectionHandle handle) { in getEventConnection()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockEventThread.h | 32 sp<EventThreadConnection>(ResyncCallback, ISurfaceComposer::ConfigChanged)); 40 status_t(const sp<android::EventThreadConnection> &)); 41 MOCK_METHOD2(setVsyncRate, void(uint32_t, const sp<android::EventThreadConnection> &)); 42 MOCK_METHOD1(requestNextVsync, void(const sp<android::EventThreadConnection> &)); 43 MOCK_METHOD1(requestLatestConfig, void(const sp<android::EventThreadConnection> &));
|
D | MockMessageQueue.h | 32 MOCK_METHOD1(setEventConnection, void(const sp<EventThreadConnection>& connection));
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerTest.cpp | 46 class MockEventThreadConnection : public android::EventThreadConnection { 49 : EventThreadConnection(eventThread, ResyncCallback(), in MockEventThreadConnection()
|
D | RefreshRateSelectionTest.cpp | 135 .WillOnce(Return(new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler() 140 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
|
D | TransactionApplicationTest.cpp | 70 new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler() 76 new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
|
D | EventThreadTest.cpp | 58 class MockEventThreadConnection : public EventThreadConnection { 62 : EventThreadConnection(eventThread, std::move(resyncCallback), configChanged) {} in MockEventThreadConnection()
|
D | SetFrameRateTest.cpp | 171 .WillOnce(Return(new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler() 176 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
|
D | CompositionTest.cpp | 136 new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler() 142 new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
|
D | DisplayTransactionTest.cpp | 205 .WillOnce(Return(new EventThreadConnection(mEventThread, ResyncCallback(), in injectMockScheduler() 210 .WillOnce(Return(new EventThreadConnection(mSFEventThread, ResyncCallback(), in injectMockScheduler()
|