Lines Matching refs:Connection
890 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in dispatchEventLocked()
984 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in resumeAfterTargetsNotReadyTimeoutLocked()
991 if (connection->status == Connection::STATUS_NORMAL) { in resumeAfterTargetsNotReadyTimeoutLocked()
1633 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in isWindowReadyForMoreInputLocked()
1726 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in prepareDispatchCycleLocked()
1738 if (connection->status != Connection::STATUS_NORMAL) { in prepareDispatchCycleLocked()
1774 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in enqueueDispatchEntriesLocked()
1798 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget, in enqueueDispatchEntryLocked()
1885 const sp<Connection>& connection) { in startDispatchCycleLocked()
1891 while (connection->status == Connection::STATUS_NORMAL in startDispatchCycleLocked()
2001 const sp<Connection>& connection, uint32_t seq, bool handled) { in finishDispatchCycleLocked()
2009 if (connection->status == Connection::STATUS_BROKEN in finishDispatchCycleLocked()
2010 || connection->status == Connection::STATUS_ZOMBIE) { in finishDispatchCycleLocked()
2019 const sp<Connection>& connection, bool notify) { in abortBrokenDispatchCycleLocked()
2033 if (connection->status == Connection::STATUS_NORMAL) { in abortBrokenDispatchCycleLocked()
2034 connection->status = Connection::STATUS_BROKEN; in abortBrokenDispatchCycleLocked()
2071 sp<Connection> connection = d->mConnectionsByFd.valueAt(connectionIndex); in handleReceiveCallback()
2139 const sp<Connection>& connection, const CancelationOptions& options) { in synthesizeCancelationEventsForConnectionLocked()
2140 if (connection->status == Connection::STATUS_BROKEN) { in synthesizeCancelationEventsForConnectionLocked()
2972 sp<Connection> fromConnection = mConnectionsByFd.valueAt(fromConnectionIndex); in transferTouchFocus()
2973 sp<Connection> toConnection = mConnectionsByFd.valueAt(toConnectionIndex); in transferTouchFocus()
3114 const sp<Connection>& connection = mConnectionsByFd.valueAt(i); in dumpDispatchStateLocked()
3187 sp<Connection> connection = new Connection(inputChannel, inputWindowHandle, monitor); in registerInputChannel()
3232 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in unregisterInputChannelLocked()
3246 connection->status = Connection::STATUS_ZOMBIE; in unregisterInputChannelLocked()
3262 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in getConnectionIndexLocked()
3272 nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) { in onDispatchCycleFinishedLocked()
3282 nsecs_t currentTime, const sp<Connection>& connection) { in onDispatchCycleBrokenLocked()
3335 sp<Connection> connection = commandEntry->connection; in doNotifyInputChannelBrokenLockedInterruptible()
3337 if (connection->status != Connection::STATUS_ZOMBIE) { in doNotifyInputChannelBrokenLockedInterruptible()
3387 sp<Connection> connection = commandEntry->connection; in doDispatchCycleFinishedLockedInterruptible()
3424 if (restartEvent && connection->status == Connection::STATUS_NORMAL) { in doDispatchCycleFinishedLockedInterruptible()
3437 bool InputDispatcher::afterKeyEventLockedInterruptible(const sp<Connection>& connection, in afterKeyEventLockedInterruptible()
3516 if (connection->status != Connection::STATUS_NORMAL) { in afterKeyEventLockedInterruptible()
3609 bool InputDispatcher::afterMotionEventLockedInterruptible(const sp<Connection>& connection, in afterMotionEventLockedInterruptible()
3639 void InputDispatcher::traceOutboundQueueLengthLocked(const sp<Connection>& connection) { in traceOutboundQueueLengthLocked()
3647 void InputDispatcher::traceWaitQueueLengthLocked(const sp<Connection>& connection) { in traceWaitQueueLengthLocked()
4183 InputDispatcher::Connection::Connection(const sp<InputChannel>& inputChannel, in Connection() function in android::InputDispatcher::Connection
4190 InputDispatcher::Connection::~Connection() { in ~Connection()
4193 const char* InputDispatcher::Connection::getWindowName() const { in getWindowName()
4203 const char* InputDispatcher::Connection::getStatusLabel() const { in getStatusLabel()
4219 InputDispatcher::DispatchEntry* InputDispatcher::Connection::findWaitQueueEntry(uint32_t seq) { in findWaitQueueEntry()