• Home
  • Raw
  • Download

Lines Matching refs:inputChannel

217         unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel);  in ~InputDispatcher()
909 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); in dispatchEventLocked()
917 inputTarget.inputChannel->getName().string()); in dispatchEventLocked()
993 const sp<InputChannel>& inputChannel) { in resumeAfterTargetsNotReadyTimeoutLocked() argument
1002 if (inputChannel.get()) { in resumeAfterTargetsNotReadyTimeoutLocked()
1003 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in resumeAfterTargetsNotReadyTimeoutLocked()
1599 target.inputChannel = windowInfo->inputChannel; in addWindowTargetLocked()
1612 target.inputChannel = mMonitoringChannels[i]; in addMonitoringTargetsLocked()
2159 d->unregisterInputChannelLocked(connection->inputChannel, notify); in handleReceiveCallback()
2214 sp<InputWindowHandle> windowHandle = getWindowHandleLocked(connection->inputChannel); in synthesizeCancelationEventsForConnectionLocked()
2225 target.inputChannel = connection->inputChannel; in synthesizeCancelationEventsForConnectionLocked()
2774 const sp<InputChannel>& inputChannel) const { in getWindowHandleLocked()
2778 if (windowHandle->getInputChannel() == inputChannel) { in getWindowHandleLocked()
3234 status_t InputDispatcher::registerInputChannel(const sp<InputChannel>& inputChannel, in registerInputChannel() argument
3237 ALOGD("channel '%s' ~ registerInputChannel - monitor=%s", inputChannel->getName().string(), in registerInputChannel()
3244 if (getConnectionIndexLocked(inputChannel) >= 0) { in registerInputChannel()
3246 inputChannel->getName().string()); in registerInputChannel()
3250 sp<Connection> connection = new Connection(inputChannel, inputWindowHandle, monitor); in registerInputChannel()
3252 int fd = inputChannel->getFd(); in registerInputChannel()
3256 mMonitoringChannels.push(inputChannel); in registerInputChannel()
3267 status_t InputDispatcher::unregisterInputChannel(const sp<InputChannel>& inputChannel) { in unregisterInputChannel() argument
3269 ALOGD("channel '%s' ~ unregisterInputChannel", inputChannel->getName().string()); in unregisterInputChannel()
3275 status_t status = unregisterInputChannelLocked(inputChannel, false /*notify*/); in unregisterInputChannel()
3287 status_t InputDispatcher::unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, in unregisterInputChannelLocked() argument
3289 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in unregisterInputChannelLocked()
3292 inputChannel->getName().string()); in unregisterInputChannelLocked()
3300 removeMonitorChannelLocked(inputChannel); in unregisterInputChannelLocked()
3303 mLooper->removeFd(inputChannel->getFd()); in unregisterInputChannelLocked()
3312 void InputDispatcher::removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) { in removeMonitorChannelLocked() argument
3314 if (mMonitoringChannels[i] == inputChannel) { in removeMonitorChannelLocked()
3321 ssize_t InputDispatcher::getConnectionIndexLocked(const sp<InputChannel>& inputChannel) { in getConnectionIndexLocked() argument
3322 ssize_t connectionIndex = mConnectionsByFd.indexOfKey(inputChannel->getFd()); in getConnectionIndexLocked()
3325 if (connection->inputChannel.get() == inputChannel.get()) { in getConnectionIndexLocked()
4251 InputDispatcher::Connection::Connection(const sp<InputChannel>& inputChannel, in Connection() argument
4253 status(STATUS_NORMAL), inputChannel(inputChannel), inputWindowHandle(inputWindowHandle), in Connection()
4255 inputPublisher(inputChannel), inputPublisherBlocked(false) { in Connection()