Lines Matching refs:EventEntry
373 case EventEntry::TYPE_CONFIGURATION_CHANGED: { in dispatchOnceInnerLocked()
381 case EventEntry::TYPE_DEVICE_RESET: { in dispatchOnceInnerLocked()
389 case EventEntry::TYPE_KEY: { in dispatchOnceInnerLocked()
410 case EventEntry::TYPE_MOTION: { in dispatchOnceInnerLocked()
443 bool InputDispatcher::enqueueInboundEventLocked(EventEntry* entry) { in enqueueInboundEventLocked()
449 case EventEntry::TYPE_KEY: { in enqueueInboundEventLocked()
471 case EventEntry::TYPE_MOTION: { in enqueueInboundEventLocked()
503 void InputDispatcher::addRecentEventLocked(EventEntry* entry) { in addRecentEventLocked()
576 void InputDispatcher::dropInboundEventLocked(EventEntry* entry, DropReason dropReason) { in dropInboundEventLocked()
611 case EventEntry::TYPE_KEY: { in dropInboundEventLocked()
616 case EventEntry::TYPE_MOTION: { in dropInboundEventLocked()
659 bool InputDispatcher::isStaleEvent(nsecs_t currentTime, EventEntry* entry) { in isStaleEvent()
692 EventEntry* entry = mInboundQueue.dequeueAtHead(); in drainInboundQueueLocked()
706 void InputDispatcher::releaseInboundEventLocked(EventEntry* entry) { in releaseInboundEventLocked()
1019 EventEntry* eventEntry, const std::vector<InputTarget>& inputTargets) { in dispatchEventLocked()
1045 const EventEntry* entry, in handleTargetsNotReadyLocked()
1173 int32_t InputDispatcher::getTargetDisplayId(const EventEntry* entry) { in getTargetDisplayId()
1176 case EventEntry::TYPE_KEY: { in getTargetDisplayId()
1181 case EventEntry::TYPE_MOTION: { in getTargetDisplayId()
1195 const EventEntry* entry, std::vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) { in findFocusedWindowTargetsLocked()
1800 const sp<InputWindowHandle>& windowHandle, const EventEntry* eventEntry, in checkWindowReadyForMoreInputLocked()
1832 if (eventEntry->type == EventEntry::TYPE_KEY) { in checkWindowReadyForMoreInputLocked()
1899 void InputDispatcher::pokeUserActivityLocked(const EventEntry* eventEntry) { in pokeUserActivityLocked()
1915 case EventEntry::TYPE_MOTION: { in pokeUserActivityLocked()
1926 case EventEntry::TYPE_KEY: { in pokeUserActivityLocked()
1943 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in prepareDispatchCycleLocked()
1973 ALOG_ASSERT(eventEntry->type == EventEntry::TYPE_MOTION); in prepareDispatchCycleLocked()
1999 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in enqueueDispatchEntriesLocked()
2030 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget, in enqueueDispatchEntryLocked()
2054 case EventEntry::TYPE_KEY: { in enqueueDispatchEntryLocked()
2071 case EventEntry::TYPE_MOTION: { in enqueueDispatchEntryLocked()
2178 EventEntry* eventEntry = dispatchEntry->eventEntry; in startDispatchCycleLocked()
2180 case EventEntry::TYPE_KEY: { in startDispatchCycleLocked()
2193 case EventEntry::TYPE_MOTION: { in startDispatchCycleLocked()
2445 std::vector<EventEntry*> cancelationEvents; in synthesizeCancelationEventsForConnectionLocked()
2457 EventEntry* cancelationEventEntry = cancelationEvents[i]; in synthesizeCancelationEventsForConnectionLocked()
2459 case EventEntry::TYPE_KEY: in synthesizeCancelationEventsForConnectionLocked()
2463 case EventEntry::TYPE_MOTION: in synthesizeCancelationEventsForConnectionLocked()
2858 EventEntry* firstInjectedEntry; in injectInputEvent()
2859 EventEntry* lastInjectedEntry; in injectInputEvent()
2970 for (EventEntry* entry = firstInjectedEntry; entry != nullptr; ) { in injectInputEvent()
2971 EventEntry* nextEntry = entry->next; in injectInputEvent()
3047 void InputDispatcher::setInjectionResult(EventEntry* entry, int32_t injectionResult) { in setInjectionResult()
3080 void InputDispatcher::incrementPendingForegroundDispatches(EventEntry* entry) { in incrementPendingForegroundDispatches()
3087 void InputDispatcher::decrementPendingForegroundDispatches(EventEntry* entry) { in decrementPendingForegroundDispatches()
3710 for (EventEntry* entry = mRecentQueue.head; entry; entry = entry->next) { in dumpDispatchStateLocked()
3734 for (EventEntry* entry = mInboundQueue.head; entry; entry = entry->next) { in dumpDispatchStateLocked()
4206 if (dispatchEntry->eventEntry->type == EventEntry::TYPE_KEY) { in doDispatchCycleFinishedLockedInterruptible()
4210 } else if (dispatchEntry->eventEntry->type == EventEntry::TYPE_MOTION) { in doDispatchCycleFinishedLockedInterruptible()
4439 void InputDispatcher::updateDispatchStatistics(nsecs_t currentTime, const EventEntry* entry, in updateDispatchStatistics()
4510 InputDispatcher::EventEntry::EventEntry(uint32_t sequenceNum, int32_t type, in EventEntry() function in android::InputDispatcher::EventEntry
4516 InputDispatcher::EventEntry::~EventEntry() { in ~EventEntry()
4520 void InputDispatcher::EventEntry::release() { in release()
4529 void InputDispatcher::EventEntry::releaseInjectionState() { in releaseInjectionState()
4541 EventEntry(sequenceNum, TYPE_CONFIGURATION_CHANGED, eventTime, 0) { in ConfigurationChangedEntry()
4556 EventEntry(sequenceNum, TYPE_DEVICE_RESET, eventTime, 0), in DeviceResetEntry()
4575 EventEntry(sequenceNum, TYPE_KEY, eventTime, policyFlags), in KeyEntry()
4610 EventEntry(sequenceNum, TYPE_MOTION, eventTime, policyFlags), in MotionEntry()
4638 InputDispatcher::DispatchEntry::DispatchEntry(EventEntry* eventEntry, in DispatchEntry()
4907 std::vector<EventEntry*>& outEvents, const CancelationOptions& options) { in synthesizeCancelationEvents()