Home
last modified time | relevance | path

Searched refs:dropReason (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp344 DropReason dropReason = DROP_REASON_NOT_DROPPED; in dispatchOnceInnerLocked() local
346 dropReason = DROP_REASON_POLICY; in dispatchOnceInnerLocked()
348 dropReason = DROP_REASON_DISABLED; in dispatchOnceInnerLocked()
360 dropReason = DROP_REASON_NOT_DROPPED; // configuration changes are never dropped in dispatchOnceInnerLocked()
367 dropReason = DROP_REASON_NOT_DROPPED; // device resets are never dropped in dispatchOnceInnerLocked()
377 } else if (dropReason == DROP_REASON_NOT_DROPPED) { in dispatchOnceInnerLocked()
378 dropReason = DROP_REASON_APP_SWITCH; in dispatchOnceInnerLocked()
381 if (dropReason == DROP_REASON_NOT_DROPPED && isStaleEvent(currentTime, typedEntry)) { in dispatchOnceInnerLocked()
382 dropReason = DROP_REASON_STALE; in dispatchOnceInnerLocked()
384 if (dropReason == DROP_REASON_NOT_DROPPED && mNextUnblockedEvent) { in dispatchOnceInnerLocked()
[all …]
DInputDispatcher.h150 void dropInboundEventLocked(EventEntry* entry, DropReason dropReason) REQUIRES(mLock);
285 bool dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, DropReason* dropReason,
287 bool dispatchMotionLocked(nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason,