Lines Matching refs:Connection
540 // Tracks the progress of dispatching a particular event to a particular connection.
592 class Connection;
600 sp<Connection> connection;
800 class Connection : public RefBase {
802 virtual ~Connection();
825 // Queue of events that need to be published to the connection.
828 // Queue of events that have been published to the connection but that have not
832 explicit Connection(const sp<InputChannel>& inputChannel,
898 KeyedVector<int, sp<Connection> > mConnectionsByFd;
1065 // Manage the dispatch cycle for a single connection.
1067 // with the mutex held makes it easier to ensure that connection invariants are maintained.
1069 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1071 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
1073 void enqueueDispatchEntryLocked(const sp<Connection>& connection,
1075 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection);
1076 void finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1078 void abortBrokenDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1089 void synthesizeCancelationEventsForConnectionLocked(const sp<Connection>& connection,
1106 // Add or remove a connection to the mActiveConnections vector.
1107 void activateConnectionLocked(Connection* connection);
1108 void deactivateConnectionLocked(Connection* connection);
1112 nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled);
1114 nsecs_t currentTime, const sp<Connection>& connection);
1126 bool afterKeyEventLockedInterruptible(const sp<Connection>& connection,
1128 bool afterMotionEventLockedInterruptible(const sp<Connection>& connection,
1137 void traceOutboundQueueLengthLocked(const sp<Connection>& connection);
1138 void traceWaitQueueLengthLocked(const sp<Connection>& connection);