Home
last modified time | relevance | path

Searched refs:ConnectionHandle (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DScheduler.h78 using ConnectionHandle = scheduler::ConnectionHandle; variable
87 sp<EventThreadConnection> getEventConnection(ConnectionHandle);
92 void onScreenAcquired(ConnectionHandle);
93 void onScreenReleased(ConnectionHandle);
105 ConnectionHandle enableVSyncInjection(bool enable);
153 void dump(ConnectionHandle, std::string&) const;
168 size_t getEventThreadConnectionCount(ConnectionHandle handle);
248 ConnectionHandle createConnection(std::unique_ptr<EventThread>);
292 ConnectionHandle::Id mNextConnectionHandleId = 0;
298 ConnectionHandle mInjectorConnectionHandle;
[all …]
H A DSchedulerUtils.h28 struct ConnectionHandle { struct
37 inline bool operator==(ConnectionHandle lhs, ConnectionHandle rhs) { argument
91 struct hash<android::scheduler::ConnectionHandle> {
92 size_t operator()(android::scheduler::ConnectionHandle handle) const {
93 return hash<android::scheduler::ConnectionHandle::Id>()(handle.id);
H A DScheduler.cpp264 Scheduler::ConnectionHandle Scheduler::createConnection( in createConnection()
279 const ConnectionHandle handle = ConnectionHandle{mNextConnectionHandleId++}; in createConnection()
301 sp<EventThreadConnection> Scheduler::getEventConnection(ConnectionHandle handle) { in getEventConnection()
307 void Scheduler::onHotplugReceived(ConnectionHandle handle, PhysicalDisplayId displayId, in onHotplugReceived()
319 void Scheduler::onScreenAcquired(ConnectionHandle handle) { in onScreenAcquired()
330 void Scheduler::onScreenReleased(ConnectionHandle handle) { in onScreenReleased()
363 void Scheduler::onPrimaryDisplayModeChanged(ConnectionHandle handle, DisplayModePtr mode) { in onPrimaryDisplayModeChanged()
415 size_t Scheduler::getEventThreadConnectionCount(ConnectionHandle handle) { in getEventThreadConnectionCount()
421 void Scheduler::dump(ConnectionHandle handle, std::string& result) const { in dump()
431 void Scheduler::setDuration(ConnectionHandle handle, std::chrono::nanoseconds workDuration, in setDuration()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DTestableScheduler.h50 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
103 void onNonPrimaryDisplayModeChanged(ConnectionHandle handle, DisplayModePtr mode) { in onNonPrimaryDisplayModeChanged()
H A DSchedulerTest.cpp81 Scheduler::ConnectionHandle mConnectionHandle;
109 Scheduler::ConnectionHandle handle; in TEST_F()
214 Scheduler::ConnectionHandle invalidHandle = {.id = 123}; in TEST_F()
/aosp12/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h1417 scheduler::ConnectionHandle mAppConnectionHandle;
1418 scheduler::ConnectionHandle mSfConnectionHandle;