Searched refs:EventThreadConnection (Results 1 – 13 of 13) sorted by relevance
| /frameworks/native/services/surfaceflinger/Scheduler/ |
| D | EventThread.h | 70 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 …]
|
| D | EventThread.cpp | 82 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 …]
|
| D | LayerHistory.h | 89 const sp<EventThreadConnection>& choreographerConnection); 131 std::unordered_multimap<int32_t, wp<EventThreadConnection>> mAttachedChoreographers
|
| D | LayerHistory.cpp | 140 sp<EventThreadConnection> choreographerConnection = it->second.promote(); in record() 305 const sp<EventThreadConnection>& choreographerConnection) { in attachChoreographer() 307 mAttachedChoreographers.insert({layerId, wp<EventThreadConnection>(choreographerConnection)}); in attachChoreographer()
|
| D | Scheduler.h | 159 sp<EventThreadConnection> getEventConnection(ConnectionHandle); 334 sp<EventThreadConnection> createConnectionInternal( 418 sp<EventThreadConnection> connection;
|
| D | Scheduler.cpp | 303 sp<EventThreadConnection> Scheduler::createConnectionInternal( in createConnectionInternal() 321 sp<EventThreadConnection> Scheduler::getEventConnection(ConnectionHandle handle) { in getEventConnection()
|
| /frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
| D | MockEventThread.h | 32 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/ |
| D | DisplayTransactionTest.cpp | 70 .WillOnce(Return(sp<EventThreadConnection>::make(mEventThread, in injectMockScheduler() 76 .WillOnce(Return(sp<EventThreadConnection>::make(mSFEventThread, in injectMockScheduler()
|
| D | SchedulerTest.cpp | 47 class MockEventThreadConnection : public android::EventThreadConnection { 50 : EventThreadConnection(eventThread, /*callingUid*/ static_cast<uid_t>(0), in MockEventThreadConnection()
|
| D | SurfaceFlinger_DisplayModeSwitching.cpp | 118 .WillOnce(Return(sp<EventThreadConnection>::make(eventThread.get(), in setupScheduler() 124 .WillOnce(Return(sp<EventThreadConnection>::make(sfEventThread.get(), in setupScheduler()
|
| D | EventThreadTest.cpp | 65 class MockEventThreadConnection : public EventThreadConnection { 70 : EventThreadConnection(eventThread, callingUid, std::move(resyncCallback), in MockEventThreadConnection()
|
| D | TestableSurfaceFlinger.h | 277 .WillOnce(Return(sp<EventThreadConnection>::make(eventThread.get(), 283 .WillOnce(Return(sp<EventThreadConnection>::make(sfEventThread.get(),
|
| /frameworks/native/services/surfaceflinger/fuzzer/ |
| D | surfaceflinger_scheduler_fuzzer.cpp | 112 sp<EventThreadConnection> connection = in fuzzEventThread() 113 sp<EventThreadConnection>::make(thread.get(), mFdp.ConsumeIntegral<uint16_t>(), in fuzzEventThread()
|