Lines Matching refs:getToken
376 return first->getToken() == second->getToken(); in haveSameToken()
775 return target.connection->getToken() == window.windowHandle->getToken(); in filterUntrustedTargets()
955 removeInputChannelLocked(connection->getToken(), /*notify=*/false); in ~InputDispatcher()
1075 mAnrTracker.eraseToken(connection->getToken()); in processAnrsLocked()
1085 const sp<WindowInfoHandle> window = getWindowHandleLocked(connection->getToken()); in getDispatchingTimeoutLocked()
1314 getConnectionLocked(windowHandle->getToken()); in shouldPruneInboundQueueLocked()
1818 const sp<IBinder>& token = handle->getToken(); in getInputTargetsFromWindowHandlesLocked()
2041 pilferPointersLocked(mDragState->dragWindow->getToken()); in dispatchMotionLocked()
2097 std::make_unique<DragEntry>(mIdGenerator.nextId(), now(), windowHandle->getToken(), in enqueueDragEventLocked()
2182 windowHandle = getWindowHandleLocked(connection->getToken()); in cancelEventsForAnrLocked()
2754 getWindowHandleLocked(target.connection->getToken()); in findTouchedWindowTargetsLocked()
2861 sendDropWindowCommandLocked(dropWindow->getToken(), local.x, local.y); in finishDragAndDrop()
2952 std::shared_ptr<Connection> connection = getConnectionLocked(windowHandle->getToken()); in createInputTargetLocked()
2981 return inputTarget.connection->getToken() == windowHandle->getToken(); in addWindowTargetLocked()
3021 return inputTarget.connection->getToken() == windowHandle->getToken(); in addPointerWindowTargetLocked()
3607 inputTarget.connection->getToken()); in enqueueDispatchEntryLocked()
3690 sp<IBinder> token = target.connection->getToken(); in processInteractionsLocked()
3923 mAnrTracker.insert(timeoutTime, connection->getToken()); in startDispatchCycleLocked()
4013 mPolicy.notifyInputChannelBroken(connection->getToken()); in abortBrokenDispatchCycleLocked()
4072 connection->getToken(), in handleReceiveCallback()
4094 const bool stillHaveWindowHandle = getWindowHandleLocked(connection->getToken()) != nullptr; in handleReceiveCallback()
4103 removeInputChannelLocked(connection->getToken(), notify); in handleReceiveCallback()
4158 if (windowHandle->getToken() != connection->getToken()) { in synthesizeCancelationEventsForWindowLocked()
4165 connection ? connection : getConnectionLocked(windowHandle->getToken()); in synthesizeCancelationEventsForWindowLocked()
4208 const auto& token = connection->getToken(); in synthesizeCancelationEventsForConnectionLocked()
4244 if (mDragState && mDragState->dragWindow->getToken() == token && in synthesizeCancelationEventsForConnectionLocked()
4317 findTouchStateWindowAndDisplayLocked(connection->getToken()); in synthesizePointerDownEventsForConnectionLocked()
5173 if (windowHandle->getToken() == windowHandleToken) { in getWindowHandleLocked()
5183 if (windowHandle->getToken() == windowHandleToken) { in getWindowHandleLocked()
5195 handle->getToken() == windowHandle->getToken()) { in getWindowHandleLocked()
5241 std::shared_ptr<Connection> connection = getConnectionLocked(window->getToken()); in canWindowReceiveMotionLocked()
5303 if (getConnectionLocked(handle->getToken()) == nullptr) { in updateWindowHandlesForDisplayLocked()
5324 (oldHandlesById.at(handle->getId())->getToken() == handle->getToken())) { in updateWindowHandlesForDisplayLocked()
5362 if (noInputWindow && window->getToken() != nullptr) { in setInputWindowsLocked()
5684 if (w.windowHandle->getToken() == token) { in findTouchStateWindowAndDisplayLocked()
5840 fromToken = from->getToken(); in transferTouchOnDisplay()
6212 return monitor.connection->getToken() == connectionToken; in removeMonitorChannelLocked()
6264 if (w.windowHandle->getToken() != token) { in pilferPointersLocked()
6338 if (monitor.connection->getToken() == token) { in findMonitorPidByTokenLocked()
6370 mAnrTracker.eraseToken(connection->getToken()); in removeConnectionLocked()
6371 mConnectionsByToken.erase(connection->getToken()); in removeConnectionLocked()
6397 mLatencyTracker.trackFinishedEvent(dispatchEntry.eventEntry->id, connection->getToken(), in doDispatchCycleFinishedCommand()
6417 const sp<IBinder>& connectionToken = connection->getToken(); in doDispatchCycleFinishedCommand()
6428 const auto windowHandle = getWindowHandleLocked(connection->getToken()); in doDispatchCycleFinishedCommand()
6491 sp<IBinder> connectionToken = connection->getToken(); in onAnrLocked()
6590 const sp<IBinder>& connectionToken = connection.getToken(); in processConnectionUnresponsiveLocked()
6612 const sp<IBinder>& connectionToken = connection.getToken(); in processConnectionResponsiveLocked()
6672 mPolicy.dispatchUnhandledKey(connection->getToken(), event, in afterKeyEventLockedInterruptable()
6683 const auto windowHandle = getWindowHandleLocked(connection->getToken()); in afterKeyEventLockedInterruptable()
6722 if (auto fb = mPolicy.dispatchUnhandledKey(connection->getToken(), event, in afterKeyEventLockedInterruptable()
6768 const auto windowHandle = getWindowHandleLocked(connection->getToken()); in afterKeyEventLockedInterruptable()
7164 state.removeWindowByToken(oldWallpaper->getToken()); in transferWallpaperTouch()
7177 getConnectionLocked(newWallpaper->getToken()); in transferWallpaperTouch()
7180 getConnectionLocked(toWindowHandle->getToken()); in transferWallpaperTouch()
7226 if (window.windowHandle->getToken() == token && in isPointerInWindow()