Home
last modified time | relevance | path

Searched refs:EventThreadConnection (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.h70 class EventThreadConnection : public gui::BnDisplayEventConnection {
72 EventThreadConnection(EventThread*, uid_t callingUid, ResyncCallback,
74 virtual ~EventThreadConnection();
106 virtual sp<EventThreadConnection> createEventConnection(
127 const sp<EventThreadConnection>& connection) = 0;
128 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0;
130 virtual void requestNextVsync(const sp<EventThreadConnection>& connection) = 0;
132 const sp<EventThreadConnection>& connection) const = 0;
152 sp<EventThreadConnection> createEventConnection(
155 status_t registerDisplayEventConnection(const sp<EventThreadConnection>& connection) override;
[all …]
DEventThread.cpp82 std::string toString(const EventThreadConnection& connection) { in toString()
164 EventThreadConnection::EventThreadConnection(EventThread* eventThread, uid_t callingUid, in EventThreadConnection() function in android::EventThreadConnection
173 EventThreadConnection::~EventThreadConnection() { in ~EventThreadConnection()
178 void EventThreadConnection::onFirstRef() { in onFirstRef()
180 mEventThread->registerDisplayEventConnection(sp<EventThreadConnection>::fromExisting(this)); in onFirstRef()
183 binder::Status EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel()
194 binder::Status EventThreadConnection::setVsyncRate(int rate) { in setVsyncRate()
196 sp<EventThreadConnection>::fromExisting(this)); in setVsyncRate()
200 binder::Status EventThreadConnection::requestNextVsync() { in requestNextVsync()
202 mEventThread->requestNextVsync(sp<EventThreadConnection>::fromExisting(this)); in requestNextVsync()
[all …]
DLayerHistory.h89 const sp<EventThreadConnection>& choreographerConnection);
131 std::unordered_multimap<int32_t, wp<EventThreadConnection>> mAttachedChoreographers
DLayerHistory.cpp140 sp<EventThreadConnection> choreographerConnection = it->second.promote(); in record()
305 const sp<EventThreadConnection>& choreographerConnection) { in attachChoreographer()
307 mAttachedChoreographers.insert({layerId, wp<EventThreadConnection>(choreographerConnection)}); in attachChoreographer()
DScheduler.h159 sp<EventThreadConnection> getEventConnection(ConnectionHandle);
334 sp<EventThreadConnection> createConnectionInternal(
418 sp<EventThreadConnection> connection;
DScheduler.cpp303 sp<EventThreadConnection> Scheduler::createConnectionInternal( in createConnectionInternal()
321 sp<EventThreadConnection> Scheduler::getEventConnection(ConnectionHandle handle) { in getEventConnection()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h32 MOCK_METHOD(sp<EventThreadConnection>, createEventConnection,
44 (const sp<android::EventThreadConnection>&), (override));
45 MOCK_METHOD(void, setVsyncRate, (uint32_t, const sp<android::EventThreadConnection>&),
47 MOCK_METHOD(void, requestNextVsync, (const sp<android::EventThreadConnection>&), (override));
49 (const sp<android::EventThreadConnection>&), (const, override));
50 MOCK_METHOD(void, requestLatestConfig, (const sp<android::EventThreadConnection>&));
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp70 .WillOnce(Return(sp<EventThreadConnection>::make(mEventThread, in injectMockScheduler()
76 .WillOnce(Return(sp<EventThreadConnection>::make(mSFEventThread, in injectMockScheduler()
DSchedulerTest.cpp47 class MockEventThreadConnection : public android::EventThreadConnection {
50 : EventThreadConnection(eventThread, /*callingUid*/ static_cast<uid_t>(0), in MockEventThreadConnection()
DSurfaceFlinger_DisplayModeSwitching.cpp118 .WillOnce(Return(sp<EventThreadConnection>::make(eventThread.get(), in setupScheduler()
124 .WillOnce(Return(sp<EventThreadConnection>::make(sfEventThread.get(), in setupScheduler()
DEventThreadTest.cpp65 class MockEventThreadConnection : public EventThreadConnection {
70 : EventThreadConnection(eventThread, callingUid, std::move(resyncCallback), in MockEventThreadConnection()
DTestableSurfaceFlinger.h277 .WillOnce(Return(sp<EventThreadConnection>::make(eventThread.get(),
283 .WillOnce(Return(sp<EventThreadConnection>::make(sfEventThread.get(),
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp112 sp<EventThreadConnection> connection = in fuzzEventThread()
113 sp<EventThreadConnection>::make(thread.get(), mFdp.ConsumeIntegral<uint16_t>(), in fuzzEventThread()