/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | EventThread.h | 83 class EventThreadConnection : public BnDisplayEventConnection { 85 EventThreadConnection(EventThread*, uid_t callingUid, ResyncCallback, 87 virtual ~EventThreadConnection(); 114 virtual sp<EventThreadConnection> createEventConnection( 139 const sp<EventThreadConnection>& connection) = 0; 142 virtual void requestNextVsync(const sp<EventThreadConnection>& connection) = 0; 160 sp<EventThreadConnection> createEventConnection( 166 void requestNextVsync(const sp<EventThreadConnection>& connection) override; 191 using DisplayEventConsumers = std::vector<sp<EventThreadConnection>>; 200 void removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) [all …]
|
H A D | EventThread.cpp | 78 std::string toString(const EventThreadConnection& connection) { in toString() 154 EventThreadConnection::EventThreadConnection( in EventThreadConnection() function in android::EventThreadConnection 163 EventThreadConnection::~EventThreadConnection() { in ~EventThreadConnection() 168 void EventThreadConnection::onFirstRef() { in onFirstRef() 173 status_t EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel() 179 status_t EventThreadConnection::setVsyncRate(uint32_t rate) { in setVsyncRate() 184 void EventThreadConnection::requestNextVsync() { in requestNextVsync() 189 status_t EventThreadConnection::postEvent(const DisplayEventReceiver::Event& event) { in postEvent() 271 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection() 274 return new EventThreadConnection(const_cast<EventThread*>(this), in createEventConnection() [all …]
|
H A D | MessageQueue.h | 70 virtual void setInjector(sp<EventThreadConnection>) = 0; 124 sp<EventThreadConnection> connection GUARDED_BY(mutex); 141 void setInjector(sp<EventThreadConnection>) override;
|
H A D | Scheduler.h | 87 sp<EventThreadConnection> getEventConnection(ConnectionHandle); 249 sp<EventThreadConnection> createConnectionInternal( 288 sp<EventThreadConnection> connection;
|
H A D | MessageQueue.cpp | 76 void MessageQueue::setInjector(sp<EventThreadConnection> connection) { in setInjector()
|
H A D | Scheduler.cpp | 289 sp<EventThreadConnection> Scheduler::createConnectionInternal( in createConnectionInternal() 301 sp<EventThreadConnection> Scheduler::getEventConnection(ConnectionHandle handle) { in getEventConnection()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
H A D | MockEventThread.h | 31 sp<EventThreadConnection>(ResyncCallback, 44 status_t(const sp<android::EventThreadConnection> &)); 45 MOCK_METHOD2(setVsyncRate, void(uint32_t, const sp<android::EventThreadConnection> &)); 46 MOCK_METHOD1(requestNextVsync, void(const sp<android::EventThreadConnection> &)); 47 MOCK_METHOD1(requestLatestConfig, void(const sp<android::EventThreadConnection> &));
|
H A D | MockMessageQueue.h | 33 MOCK_METHOD1(setInjector, void(sp<EventThreadConnection>));
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | GameModeTest.cpp | 67 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 72 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | TransactionFrameTracerTest.cpp | 75 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 80 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | DisplayTransactionTest.cpp | 71 new EventThreadConnection(mEventThread, /*callingUid=*/0, ResyncCallback()))); in injectMockScheduler() 76 new EventThreadConnection(mSFEventThread, /*callingUid=*/0, ResyncCallback()))); in injectMockScheduler()
|
H A D | TunnelModeEnabledReporterTest.cpp | 114 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 119 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | FpsReporterTest.cpp | 128 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 133 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | SchedulerTest.cpp | 41 class MockEventThreadConnection : public android::EventThreadConnection { 44 : EventThreadConnection(eventThread, /*callingUid=*/0, ResyncCallback()) {} in MockEventThreadConnection()
|
H A D | RefreshRateSelectionTest.cpp | 129 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 134 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | TransactionApplicationTest.cpp | 65 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 70 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | TransactionSurfaceFrameTest.cpp | 75 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 80 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | EventThreadTest.cpp | 65 class MockEventThreadConnection : public EventThreadConnection { 70 : EventThreadConnection(eventThread, callingUid, std::move(resyncCallback), in MockEventThreadConnection()
|
H A D | SetFrameRateTest.cpp | 166 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 171 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|
H A D | CompositionTest.cpp | 127 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 132 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
|