Lines Matching refs:connectionIndex

971         ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);  in dispatchEventLocked()  local
972 if (connectionIndex >= 0) { in dispatchEventLocked()
973 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in dispatchEventLocked()
1065 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in resumeAfterTargetsNotReadyTimeoutLocked() local
1066 if (connectionIndex >= 0) { in resumeAfterTargetsNotReadyTimeoutLocked()
1067 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in resumeAfterTargetsNotReadyTimeoutLocked()
1707 ssize_t connectionIndex = getConnectionIndexLocked(windowHandle->getInputChannel()); in checkWindowReadyForMoreInputLocked() local
1708 if (connectionIndex < 0) { in checkWindowReadyForMoreInputLocked()
1715 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in checkWindowReadyForMoreInputLocked()
2178 ssize_t connectionIndex = d->mConnectionsByFd.indexOfKey(fd); in handleReceiveCallback() local
2179 if (connectionIndex < 0) { in handleReceiveCallback()
2186 sp<Connection> connection = d->mConnectionsByFd.valueAt(connectionIndex); in handleReceiveCallback()
3455 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in unregisterInputChannelLocked() local
3456 if (connectionIndex < 0) { in unregisterInputChannelLocked()
3462 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in unregisterInputChannelLocked()
3463 mConnectionsByFd.removeItemsAt(connectionIndex); in unregisterInputChannelLocked()
3488 ssize_t connectionIndex = mConnectionsByFd.indexOfKey(inputChannel->getFd()); in getConnectionIndexLocked() local
3489 if (connectionIndex >= 0) { in getConnectionIndexLocked()
3490 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in getConnectionIndexLocked()
3492 return connectionIndex; in getConnectionIndexLocked()