Home | History | Annotate | Download | only in ui

Lines Matching defs:Connection

536     // Tracks the progress of dispatching a particular event to a particular connection.
587 class Connection;
595 sp<Connection> connection;
776 class Connection : public RefBase {
778 virtual ~Connection();
799 explicit Connection(const sp<InputChannel>& inputChannel);
861 KeyedVector<int, sp<Connection> > mConnectionsByReceiveFd;
867 // during unregistration which causes the connection's outbound queue to be cleared
868 // and the connection itself to be deactivated.
869 Vector<Connection*> mActiveConnections;
1011 // Manage the dispatch cycle for a single connection.
1013 // with the mutex held makes it easier to ensure that connection invariants are maintained.
1015 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1018 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection);
1019 void finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection);
1020 void startNextDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection);
1021 void abortBrokenDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection);
1022 void drainOutboundQueueLocked(Connection* connection);
1029 void synthesizeCancelationEventsForConnectionLocked(const sp<Connection>& connection,
1042 // Add or remove a connection to the mActiveConnections vector.
1043 void activateConnectionLocked(Connection* connection);
1044 void deactivateConnectionLocked(Connection* connection);
1048 nsecs_t currentTime, const sp<Connection>& connection);
1050 nsecs_t currentTime, const sp<Connection>& connection);
1052 nsecs_t currentTime, const sp<Connection>& connection);