Lines Matching refs:KeyEntry
390 KeyEntry* typedEntry = static_cast<KeyEntry*>(mPendingEvent); in dispatchOnceInnerLocked()
453 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked()
636 bool InputDispatcher::isAppSwitchKeyEvent(KeyEntry* keyEntry) { in isAppSwitchKeyEvent()
728 InputDispatcher::KeyEntry* InputDispatcher::synthesizeKeyRepeatLocked(nsecs_t currentTime) { in synthesizeKeyRepeatLocked()
729 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; in synthesizeKeyRepeatLocked()
740 KeyEntry* newEntry = new KeyEntry(SYNTHESIZED_EVENT_SEQUENCE_NUM, currentTime, in synthesizeKeyRepeatLocked()
790 bool InputDispatcher::dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, in dispatchKeyLocked()
830 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER) { in dispatchKeyLocked()
837 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN; in dispatchKeyLocked()
842 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN) { in dispatchKeyLocked()
856 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_CONTINUE; in dispatchKeyLocked()
858 } else if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_SKIP) { in dispatchKeyLocked()
893 void InputDispatcher::logOutboundKeyDetails(const char* prefix, const KeyEntry* entry) { in logOutboundKeyDetails()
1177 const KeyEntry* typedEntry = static_cast<const KeyEntry*>(entry); in getTargetDisplayId()
1927 const KeyEntry* keyEntry = static_cast<const KeyEntry*>(eventEntry); in pokeUserActivityLocked()
2055 KeyEntry* keyEntry = static_cast<KeyEntry*>(eventEntry); in enqueueDispatchEntryLocked()
2181 KeyEntry* keyEntry = static_cast<KeyEntry*>(eventEntry); in startDispatchCycleLocked()
2461 static_cast<KeyEntry*>(cancelationEventEntry)); in synthesizeCancelationEventsForConnectionLocked()
2705 KeyEntry* newEntry = new KeyEntry(args->sequenceNum, args->eventTime, in notifyKey()
2892 firstInjectedEntry = new KeyEntry(SYNTHESIZED_EVENT_SEQUENCE_NUM, keyEvent.getEventTime(), in injectInputEvent()
4150 KeyEntry* entry = commandEntry->keyEntry; in doInterceptKeyBeforeDispatchingLockedInterruptible()
4170 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_SKIP; in doInterceptKeyBeforeDispatchingLockedInterruptible()
4172 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_CONTINUE; in doInterceptKeyBeforeDispatchingLockedInterruptible()
4174 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER; in doInterceptKeyBeforeDispatchingLockedInterruptible()
4207 KeyEntry* keyEntry = static_cast<KeyEntry*>(dispatchEntry->eventEntry); in doDispatchCycleFinishedLockedInterruptible()
4239 DispatchEntry* dispatchEntry, KeyEntry* keyEntry, bool handled) { in afterKeyEventLockedInterruptible()
4433 void InputDispatcher::initializeKeyEvent(KeyEvent* event, const KeyEntry* entry) { in initializeKeyEvent()
4571 InputDispatcher::KeyEntry::KeyEntry(uint32_t sequenceNum, nsecs_t eventTime, in KeyEntry() function in android::InputDispatcher::KeyEntry
4579 syntheticRepeat(false), interceptKeyResult(KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN), in KeyEntry()
4583 InputDispatcher::KeyEntry::~KeyEntry() { in ~KeyEntry()
4586 void InputDispatcher::KeyEntry::appendDescription(std::string& msg) const { in appendDescription()
4590 void InputDispatcher::KeyEntry::recycle() { in recycle()
4595 interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN; in recycle()
4688 bool InputDispatcher::InputState::trackKey(const KeyEntry* entry, in trackKey()
4840 ssize_t InputDispatcher::InputState::findKeyMemento(const KeyEntry* entry) const { in findKeyMemento()
4868 void InputDispatcher::InputState::addKeyMemento(const KeyEntry* entry, int32_t flags) { in addKeyMemento()
4910 outEvents.push_back(new KeyEntry(SYNTHESIZED_EVENT_SEQUENCE_NUM, currentTime, in synthesizeCancelationEvents()