Lines Matching refs:DropReason
915 mLastDropReason(DropReason::NOT_DROPPED), in InputDispatcher()
1144 DropReason dropReason = DropReason::NOT_DROPPED; in dispatchOnceInnerLocked()
1146 dropReason = DropReason::POLICY; in dispatchOnceInnerLocked()
1148 dropReason = DropReason::DISABLED; in dispatchOnceInnerLocked()
1160 dropReason = DropReason::NOT_DROPPED; // configuration changes are never dropped in dispatchOnceInnerLocked()
1168 dropReason = DropReason::NOT_DROPPED; // device resets are never dropped in dispatchOnceInnerLocked()
1177 dropReason = DropReason::NOT_DROPPED; // focus events are never dropped in dispatchOnceInnerLocked()
1185 dropReason = DropReason::NOT_DROPPED; // touch mode events are never dropped in dispatchOnceInnerLocked()
1208 if (dropReason == DropReason::NOT_DROPPED && isStaleEvent(currentTime, *keyEntry)) { in dispatchOnceInnerLocked()
1209 dropReason = DropReason::STALE; in dispatchOnceInnerLocked()
1211 if (dropReason == DropReason::NOT_DROPPED && mNextUnblockedEvent) { in dispatchOnceInnerLocked()
1212 dropReason = DropReason::BLOCKED; in dispatchOnceInnerLocked()
1221 if (dropReason == DropReason::NOT_DROPPED && isStaleEvent(currentTime, *motionEntry)) { in dispatchOnceInnerLocked()
1229 dropReason = DropReason::STALE; in dispatchOnceInnerLocked()
1233 if (dropReason == DropReason::NOT_DROPPED && mNextUnblockedEvent) { in dispatchOnceInnerLocked()
1236 dropReason = DropReason::BLOCKED; in dispatchOnceInnerLocked()
1250 if (dropReason == DropReason::NOT_DROPPED && isStaleEvent(bootTime, *sensorEntry)) { in dispatchOnceInnerLocked()
1251 dropReason = DropReason::STALE; in dispatchOnceInnerLocked()
1260 if (dropReason != DropReason::NOT_DROPPED) { in dispatchOnceInnerLocked()
1485 void InputDispatcher::dropInboundEventLocked(const EventEntry& entry, DropReason dropReason) { in dropInboundEventLocked()
1488 case DropReason::POLICY: in dropInboundEventLocked()
1494 case DropReason::DISABLED: in dropInboundEventLocked()
1495 if (mLastDropReason != DropReason::DISABLED) { in dropInboundEventLocked()
1500 case DropReason::BLOCKED: in dropInboundEventLocked()
1507 case DropReason::STALE: in dropInboundEventLocked()
1511 case DropReason::NO_POINTER_CAPTURE: in dropInboundEventLocked()
1515 case DropReason::NOT_DROPPED: { in dropInboundEventLocked()
1729 DropReason& dropReason) { in dispatchPointerCaptureChangedLocked()
1730 dropReason = DropReason::NOT_DROPPED; in dispatchPointerCaptureChangedLocked()
1747 dropReason = DropReason::NO_POINTER_CAPTURE; in dispatchPointerCaptureChangedLocked()
1773 dropReason = DropReason::NOT_DROPPED; in dispatchPointerCaptureChangedLocked()
1795 dropReason = DropReason::NOT_DROPPED; in dispatchPointerCaptureChangedLocked()
1832 DropReason* dropReason, nsecs_t& nextWakeupTime) { in dispatchKeyLocked()
1905 if (*dropReason == DropReason::NOT_DROPPED) { in dispatchKeyLocked()
1906 *dropReason = DropReason::POLICY; in dispatchKeyLocked()
1911 if (*dropReason != DropReason::NOT_DROPPED) { in dispatchKeyLocked()
1913 *dropReason == DropReason::POLICY ? InputEventInjectionResult::SUCCEEDED in dispatchKeyLocked()
1918 if (*dropReason == DropReason::POLICY && in dispatchKeyLocked()
1972 DropReason* dropReason, nsecs_t& nextWakeupTime) { in dispatchSensorLocked()
2012 DropReason* dropReason, nsecs_t& nextWakeupTime) { in dispatchMotionLocked()
2022 if (*dropReason != DropReason::NOT_DROPPED) { in dispatchMotionLocked()
2024 *dropReason == DropReason::POLICY ? InputEventInjectionResult::SUCCEEDED in dispatchMotionLocked()