Lines Matching refs:commandEntry

962         std::unique_ptr<CommandEntry> commandEntry = std::move(mCommandQueue.front());  in runCommandsLockedInterruptible()  local
964 Command command = commandEntry->command; in runCommandsLockedInterruptible()
965 command(*this, commandEntry.get()); // commands are implicitly 'LockedInterruptible' in runCommandsLockedInterruptible()
967 commandEntry->connection.clear(); in runCommandsLockedInterruptible()
972 void InputDispatcher::postCommandLocked(std::unique_ptr<CommandEntry> commandEntry) { in postCommandLocked() argument
973 mCommandQueue.push_back(std::move(commandEntry)); in postCommandLocked()
1058 std::unique_ptr<CommandEntry> commandEntry = std::make_unique<CommandEntry>( in dispatchConfigurationChangedLocked() local
1060 commandEntry->eventTime = entry->eventTime; in dispatchConfigurationChangedLocked()
1061 postCommandLocked(std::move(commandEntry)); in dispatchConfigurationChangedLocked()
1164 std::unique_ptr<CommandEntry> commandEntry = std::make_unique<CommandEntry>( in dispatchKeyLocked() local
1169 commandEntry->inputChannel = getInputChannelLocked(focusedWindowHandle->getToken()); in dispatchKeyLocked()
1171 commandEntry->keyEntry = entry; in dispatchKeyLocked()
1172 postCommandLocked(std::move(commandEntry)); in dispatchKeyLocked()
2202 std::unique_ptr<CommandEntry> commandEntry = in pokeUserActivityLocked() local
2204 commandEntry->eventTime = eventEntry.eventTime; in pokeUserActivityLocked()
2205 commandEntry->userActivityEventType = eventType; in pokeUserActivityLocked()
2206 postCommandLocked(std::move(commandEntry)); in pokeUserActivityLocked()
2450 std::unique_ptr<CommandEntry> commandEntry = std::make_unique<CommandEntry>( in dispatchPointerDownOutsideFocus() local
2452 commandEntry->newToken = newToken; in dispatchPointerDownOutsideFocus()
2453 postCommandLocked(std::move(commandEntry)); in dispatchPointerDownOutsideFocus()
4514 std::unique_ptr<CommandEntry> commandEntry = std::make_unique<CommandEntry>( in onDispatchCycleFinishedLocked() local
4516 commandEntry->connection = connection; in onDispatchCycleFinishedLocked()
4517 commandEntry->eventTime = currentTime; in onDispatchCycleFinishedLocked()
4518 commandEntry->seq = seq; in onDispatchCycleFinishedLocked()
4519 commandEntry->handled = handled; in onDispatchCycleFinishedLocked()
4520 postCommandLocked(std::move(commandEntry)); in onDispatchCycleFinishedLocked()
4528 std::unique_ptr<CommandEntry> commandEntry = std::make_unique<CommandEntry>( in onDispatchCycleBrokenLocked() local
4530 commandEntry->connection = connection; in onDispatchCycleBrokenLocked()
4531 postCommandLocked(std::move(commandEntry)); in onDispatchCycleBrokenLocked()
4538 std::unique_ptr<CommandEntry> commandEntry = std::make_unique<CommandEntry>( in onFocusChangedLocked() local
4540 commandEntry->oldToken = oldToken; in onFocusChangedLocked()
4541 commandEntry->newToken = newToken; in onFocusChangedLocked()
4542 postCommandLocked(std::move(commandEntry)); in onFocusChangedLocked()
4572 std::unique_ptr<CommandEntry> commandEntry = in onAnrLocked() local
4574 commandEntry->inputApplicationHandle = nullptr; in onAnrLocked()
4575 commandEntry->inputChannel = connection->inputChannel; in onAnrLocked()
4576 commandEntry->reason = std::move(reason); in onAnrLocked()
4577 postCommandLocked(std::move(commandEntry)); in onAnrLocked()
4586 std::unique_ptr<CommandEntry> commandEntry = in onAnrLocked() local
4588 commandEntry->inputApplicationHandle = application; in onAnrLocked()
4589 commandEntry->inputChannel = nullptr; in onAnrLocked()
4590 commandEntry->reason = std::move(reason); in onAnrLocked()
4591 postCommandLocked(std::move(commandEntry)); in onAnrLocked()
4622 void InputDispatcher::doNotifyConfigurationChangedLockedInterruptible(CommandEntry* commandEntry) { in doNotifyConfigurationChangedLockedInterruptible() argument
4625 mPolicy->notifyConfigurationChanged(commandEntry->eventTime); in doNotifyConfigurationChangedLockedInterruptible()
4630 void InputDispatcher::doNotifyInputChannelBrokenLockedInterruptible(CommandEntry* commandEntry) { in doNotifyInputChannelBrokenLockedInterruptible() argument
4631 sp<Connection> connection = commandEntry->connection; in doNotifyInputChannelBrokenLockedInterruptible()
4642 void InputDispatcher::doNotifyFocusChangedLockedInterruptible(CommandEntry* commandEntry) { in doNotifyFocusChangedLockedInterruptible() argument
4643 sp<IBinder> oldToken = commandEntry->oldToken; in doNotifyFocusChangedLockedInterruptible()
4644 sp<IBinder> newToken = commandEntry->newToken; in doNotifyFocusChangedLockedInterruptible()
4650 void InputDispatcher::doNotifyAnrLockedInterruptible(CommandEntry* commandEntry) { in doNotifyAnrLockedInterruptible() argument
4652 commandEntry->inputChannel ? commandEntry->inputChannel->getConnectionToken() : nullptr; in doNotifyAnrLockedInterruptible()
4656 mPolicy->notifyAnr(commandEntry->inputApplicationHandle, token, commandEntry->reason); in doNotifyAnrLockedInterruptible()
4661 extendAnrTimeoutsLocked(commandEntry->inputApplicationHandle, token, timeoutExtension); in doNotifyAnrLockedInterruptible()
4702 CommandEntry* commandEntry) { in doInterceptKeyBeforeDispatchingLockedInterruptible() argument
4703 KeyEntry* entry = commandEntry->keyEntry; in doInterceptKeyBeforeDispatchingLockedInterruptible()
4709 sp<IBinder> token = commandEntry->inputChannel != nullptr in doInterceptKeyBeforeDispatchingLockedInterruptible()
4710 ? commandEntry->inputChannel->getConnectionToken() in doInterceptKeyBeforeDispatchingLockedInterruptible()
4731 void InputDispatcher::doOnPointerDownOutsideFocusLockedInterruptible(CommandEntry* commandEntry) { in doOnPointerDownOutsideFocusLockedInterruptible() argument
4733 mPolicy->onPointerDownOutsideFocus(commandEntry->newToken); in doOnPointerDownOutsideFocusLockedInterruptible()
4751 void InputDispatcher::doDispatchCycleFinishedLockedInterruptible(CommandEntry* commandEntry) { in doDispatchCycleFinishedLockedInterruptible() argument
4752 sp<Connection> connection = commandEntry->connection; in doDispatchCycleFinishedLockedInterruptible()
4753 const nsecs_t finishTime = commandEntry->eventTime; in doDispatchCycleFinishedLockedInterruptible()
4754 uint32_t seq = commandEntry->seq; in doDispatchCycleFinishedLockedInterruptible()
4755 const bool handled = commandEntry->handled; in doDispatchCycleFinishedLockedInterruptible()
4992 void InputDispatcher::doPokeUserActivityLockedInterruptible(CommandEntry* commandEntry) { in doPokeUserActivityLockedInterruptible() argument
4995 mPolicy->pokeUserActivity(commandEntry->eventTime, commandEntry->userActivityEventType); in doPokeUserActivityLockedInterruptible()