Lines Matching refs:connectionToken

1715     std::shared_ptr<Connection> connection = getConnectionLocked(entry->connectionToken);  in dispatchFocusLocked()
2105 std::shared_ptr<Connection> connection = getConnectionLocked(entry->connectionToken); in dispatchDragLocked()
4033 int InputDispatcher::handleReceiveCallback(int events, sp<IBinder> connectionToken) { in handleReceiveCallback() argument
4035 std::shared_ptr<Connection> connection = getConnectionLocked(connectionToken); in handleReceiveCallback()
4038 connectionToken.get(), events); in handleReceiveCallback()
5663 [&](const sp<IBinder>& connectionToken) REQUIRES(mLock) { in recentWindowsAreOwnedByLocked()
5665 getWindowHandleLocked(connectionToken); in recentWindowsAreOwnedByLocked()
6169 status_t InputDispatcher::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument
6173 status_t status = removeInputChannelLocked(connectionToken, /*notify=*/false); in removeInputChannel()
6185 status_t InputDispatcher::removeInputChannelLocked(const sp<IBinder>& connectionToken, in removeInputChannelLocked() argument
6187 std::shared_ptr<Connection> connection = getConnectionLocked(connectionToken); in removeInputChannelLocked()
6196 removeMonitorChannelLocked(connectionToken); in removeInputChannelLocked()
6208 void InputDispatcher::removeMonitorChannelLocked(const sp<IBinder>& connectionToken) { in removeMonitorChannelLocked() argument
6211 std::erase_if(monitors, [connectionToken](const Monitor& monitor) { in removeMonitorChannelLocked()
6212 return monitor.connection->getToken() == connectionToken; in removeMonitorChannelLocked()
6361 std::string InputDispatcher::getConnectionNameLocked(const sp<IBinder>& connectionToken) const { in getConnectionNameLocked()
6362 std::shared_ptr<Connection> connection = getConnectionLocked(connectionToken); in getConnectionNameLocked()
6417 const sp<IBinder>& connectionToken = connection->getToken(); in doDispatchCycleFinishedCommand() local
6418 mAnrTracker.erase(dispatchEntry->timeoutTime, connectionToken); in doDispatchCycleFinishedCommand()
6491 sp<IBinder> connectionToken = connection->getToken(); in onAnrLocked() local
6492 updateLastAnrStateLocked(getWindowHandleLocked(connectionToken), reason); in onAnrLocked()
6590 const sp<IBinder>& connectionToken = connection.getToken(); in processConnectionUnresponsiveLocked() local
6595 pid = findMonitorPidByTokenLocked(connectionToken); in processConnectionUnresponsiveLocked()
6600 const sp<WindowInfoHandle> handle = getWindowHandleLocked(connectionToken); in processConnectionUnresponsiveLocked()
6605 sendWindowUnresponsiveCommandLocked(connectionToken, pid, std::move(reason)); in processConnectionUnresponsiveLocked()
6612 const sp<IBinder>& connectionToken = connection.getToken(); in processConnectionResponsiveLocked() local
6615 pid = findMonitorPidByTokenLocked(connectionToken); in processConnectionResponsiveLocked()
6618 const sp<WindowInfoHandle> handle = getWindowHandleLocked(connectionToken); in processConnectionResponsiveLocked()
6623 sendWindowResponsiveCommandLocked(connectionToken, pid); in processConnectionResponsiveLocked()