Searched refs:EventThreadConnection (Results 1 – 7 of 7) sorted by relevance
/aosp_15_r20/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | EventThread.h | 71 class EventThreadConnection : public gui::BnDisplayEventConnection { 73 EventThreadConnection(EventThread*, uid_t callingUid, 75 virtual ~EventThreadConnection(); 105 virtual sp<EventThreadConnection> createEventConnection( 133 const sp<EventThreadConnection>& connection) = 0; 134 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0; 136 virtual void requestNextVsync(const sp<EventThreadConnection>& connection) = 0; 137 virtual VsyncEventData getLatestVsyncEventData(const sp<EventThreadConnection>& connection, 168 sp<EventThreadConnection> createEventConnection( 171 status_t registerDisplayEventConnection(const sp<EventThreadConnection>& connection) override; [all …]
|
H A D | EventThread.cpp | 82 std::string toString(const EventThreadConnection& connection) { in toString() 208 EventThreadConnection::EventThreadConnection(EventThread* eventThread, uid_t callingUid, in EventThreadConnection() function in android::EventThreadConnection 215 EventThreadConnection::~EventThreadConnection() { in ~EventThreadConnection() 220 void EventThreadConnection::onFirstRef() { in onFirstRef() 222 mEventThread->registerDisplayEventConnection(sp<EventThreadConnection>::fromExisting(this)); in onFirstRef() 225 binder::Status EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel() 236 binder::Status EventThreadConnection::setVsyncRate(int rate) { in setVsyncRate() 238 sp<EventThreadConnection>::fromExisting(this)); in setVsyncRate() 242 binder::Status EventThreadConnection::requestNextVsync() { in requestNextVsync() 244 mEventThread->requestNextVsync(sp<EventThreadConnection>::fromExisting(this)); in requestNextVsync() [all …]
|
H A D | Scheduler.h | 598 std::unordered_set<wp<EventThreadConnection>, WpHash> connections;
|
H A D | Scheduler.cpp | 1053 sp<EventThreadConnection> choreographerConnection = it->promote(); in updateAttachedChoreographersFrameRate()
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
H A D | MockEventThread.h | 30 MOCK_METHOD(sp<EventThreadConnection>, createEventConnection, (EventRegistrationFlags), 46 (const sp<android::EventThreadConnection>&), (override)); 47 MOCK_METHOD(void, setVsyncRate, (uint32_t, const sp<android::EventThreadConnection>&), 49 MOCK_METHOD(void, requestNextVsync, (const sp<android::EventThreadConnection>&), (override)); 51 (const sp<android::EventThreadConnection>&, nsecs_t), (const, override)); 52 MOCK_METHOD(void, requestLatestConfig, (const sp<android::EventThreadConnection>&));
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | EventThreadTest.cpp | 69 class MockEventThreadConnection : public EventThreadConnection { 73 : EventThreadConnection(eventThread, callingUid, eventRegistration) {} in MockEventThreadConnection()
|
H A D | SchedulerTest.cpp | 68 class MockEventThreadConnection : public android::EventThreadConnection { 71 : EventThreadConnection(eventThread, /*callingUid*/ static_cast<uid_t>(0)) {} in MockEventThreadConnection()
|