Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.h61 virtual void setPhaseOffset(scheduler::ConnectionHandle, nsecs_t phaseOffset) = 0;
85 using ConnectionHandle = scheduler::ConnectionHandle; variable
86 ConnectionHandle createConnection(const char* connectionName, nsecs_t phaseOffsetNs,
89 sp<IDisplayEventConnection> createDisplayEventConnection(ConnectionHandle,
92 sp<EventThreadConnection> getEventConnection(ConnectionHandle);
94 void onHotplugReceived(ConnectionHandle, PhysicalDisplayId, bool connected);
95 void onPrimaryDisplayConfigChanged(ConnectionHandle, PhysicalDisplayId,
98 void onNonPrimaryDisplayConfigChanged(ConnectionHandle, PhysicalDisplayId,
100 void onScreenAcquired(ConnectionHandle);
101 void onScreenReleased(ConnectionHandle);
[all …]
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);
DVSyncModulator.h68 VSyncModulator(IPhaseOffsetControl&, ConnectionHandle appConnectionHandle,
69 ConnectionHandle sfConnectionHandle, const OffsetsConfig&);
105 const ConnectionHandle mAppConnectionHandle;
106 const ConnectionHandle mSfConnectionHandle;
DScheduler.cpp179 Scheduler::ConnectionHandle Scheduler::createConnection( in createConnection()
188 Scheduler::ConnectionHandle Scheduler::createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
189 const ConnectionHandle handle = ConnectionHandle{mNextConnectionHandleId++}; in createConnection()
205 ConnectionHandle handle, ISurfaceComposer::ConfigChanged configChanged) { in createDisplayEventConnection()
210 sp<EventThreadConnection> Scheduler::getEventConnection(ConnectionHandle handle) { in getEventConnection()
215 void Scheduler::onHotplugReceived(ConnectionHandle handle, PhysicalDisplayId displayId, in onHotplugReceived()
221 void Scheduler::onScreenAcquired(ConnectionHandle handle) { in onScreenAcquired()
226 void Scheduler::onScreenReleased(ConnectionHandle handle) { in onScreenReleased()
231 void Scheduler::onPrimaryDisplayConfigChanged(ConnectionHandle handle, PhysicalDisplayId displayId, in onPrimaryDisplayConfigChanged()
258 void Scheduler::onNonPrimaryDisplayConfigChanged(ConnectionHandle handle, in onNonPrimaryDisplayConfigChanged()
[all …]
DVSyncModulator.cpp35 Scheduler::ConnectionHandle appConnectionHandle, in VSyncModulator()
36 Scheduler::ConnectionHandle sfConnectionHandle, in VSyncModulator()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncModulatorTest.cpp32 void setPhaseOffset(ConnectionHandle handle, nsecs_t phaseOffset) { in setPhaseOffset()
36 nsecs_t getOffset(ConnectionHandle handle) { return mPhaseOffset[handle]; } in getOffset()
39 std::unordered_map<ConnectionHandle, nsecs_t> mPhaseOffset;
61 ConnectionHandle mAppConnection{1};
62 ConnectionHandle mSfConnection{2};
DSchedulerTest.cpp64 Scheduler::ConnectionHandle mConnectionHandle;
112 Scheduler::ConnectionHandle handle; in TEST_F()
DTestableScheduler.h53 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h1205 scheduler::ConnectionHandle mAppConnectionHandle;
1206 scheduler::ConnectionHandle mSfConnectionHandle;