Loading services/inputflinger/dispatcher/InputDispatcher.cpp +3 −4 Original line number Original line Diff line number Diff line Loading @@ -1692,8 +1692,7 @@ bool InputDispatcher::dispatchMotionLocked(nsecs_t currentTime, std::shared_ptr< } } std::vector<TouchedWindow> touchedWindows = std::vector<TouchedWindow> touchedWindows = findTouchedWindowTargetsLocked(currentTime, *entry, nextWakeupTime, findTouchedWindowTargetsLocked(currentTime, *entry, &conflictingPointerActions, &conflictingPointerActions, /*byref*/ injectionResult); /*byref*/ injectionResult); for (const TouchedWindow& touchedWindow : touchedWindows) { for (const TouchedWindow& touchedWindow : touchedWindows) { LOG_ALWAYS_FATAL_IF(injectionResult != InputEventInjectionResult::SUCCEEDED, LOG_ALWAYS_FATAL_IF(injectionResult != InputEventInjectionResult::SUCCEEDED, Loading Loading @@ -2036,8 +2035,8 @@ std::vector<Monitor> InputDispatcher::selectResponsiveMonitorsLocked( } } std::vector<TouchedWindow> InputDispatcher::findTouchedWindowTargetsLocked( std::vector<TouchedWindow> InputDispatcher::findTouchedWindowTargetsLocked( nsecs_t currentTime, const MotionEntry& entry, nsecs_t* nextWakeupTime, nsecs_t currentTime, const MotionEntry& entry, bool* outConflictingPointerActions, bool* outConflictingPointerActions, InputEventInjectionResult& outInjectionResult) { InputEventInjectionResult& outInjectionResult) { ATRACE_CALL(); ATRACE_CALL(); std::vector<TouchedWindow> touchedWindows; std::vector<TouchedWindow> touchedWindows; Loading services/inputflinger/dispatcher/InputDispatcher.h +1 −2 Original line number Original line Diff line number Diff line Loading @@ -546,8 +546,7 @@ private: nsecs_t currentTime, const EventEntry& entry, nsecs_t* nextWakeupTime, nsecs_t currentTime, const EventEntry& entry, nsecs_t* nextWakeupTime, android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); std::vector<TouchedWindow> findTouchedWindowTargetsLocked( std::vector<TouchedWindow> findTouchedWindowTargetsLocked( nsecs_t currentTime, const MotionEntry& entry, nsecs_t* nextWakeupTime, nsecs_t currentTime, const MotionEntry& entry, bool* outConflictingPointerActions, bool* outConflictingPointerActions, android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); std::vector<Monitor> selectResponsiveMonitorsLocked( std::vector<Monitor> selectResponsiveMonitorsLocked( const std::vector<Monitor>& gestureMonitors) const REQUIRES(mLock); const std::vector<Monitor>& gestureMonitors) const REQUIRES(mLock); Loading Loading
services/inputflinger/dispatcher/InputDispatcher.cpp +3 −4 Original line number Original line Diff line number Diff line Loading @@ -1692,8 +1692,7 @@ bool InputDispatcher::dispatchMotionLocked(nsecs_t currentTime, std::shared_ptr< } } std::vector<TouchedWindow> touchedWindows = std::vector<TouchedWindow> touchedWindows = findTouchedWindowTargetsLocked(currentTime, *entry, nextWakeupTime, findTouchedWindowTargetsLocked(currentTime, *entry, &conflictingPointerActions, &conflictingPointerActions, /*byref*/ injectionResult); /*byref*/ injectionResult); for (const TouchedWindow& touchedWindow : touchedWindows) { for (const TouchedWindow& touchedWindow : touchedWindows) { LOG_ALWAYS_FATAL_IF(injectionResult != InputEventInjectionResult::SUCCEEDED, LOG_ALWAYS_FATAL_IF(injectionResult != InputEventInjectionResult::SUCCEEDED, Loading Loading @@ -2036,8 +2035,8 @@ std::vector<Monitor> InputDispatcher::selectResponsiveMonitorsLocked( } } std::vector<TouchedWindow> InputDispatcher::findTouchedWindowTargetsLocked( std::vector<TouchedWindow> InputDispatcher::findTouchedWindowTargetsLocked( nsecs_t currentTime, const MotionEntry& entry, nsecs_t* nextWakeupTime, nsecs_t currentTime, const MotionEntry& entry, bool* outConflictingPointerActions, bool* outConflictingPointerActions, InputEventInjectionResult& outInjectionResult) { InputEventInjectionResult& outInjectionResult) { ATRACE_CALL(); ATRACE_CALL(); std::vector<TouchedWindow> touchedWindows; std::vector<TouchedWindow> touchedWindows; Loading
services/inputflinger/dispatcher/InputDispatcher.h +1 −2 Original line number Original line Diff line number Diff line Loading @@ -546,8 +546,7 @@ private: nsecs_t currentTime, const EventEntry& entry, nsecs_t* nextWakeupTime, nsecs_t currentTime, const EventEntry& entry, nsecs_t* nextWakeupTime, android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); std::vector<TouchedWindow> findTouchedWindowTargetsLocked( std::vector<TouchedWindow> findTouchedWindowTargetsLocked( nsecs_t currentTime, const MotionEntry& entry, nsecs_t* nextWakeupTime, nsecs_t currentTime, const MotionEntry& entry, bool* outConflictingPointerActions, bool* outConflictingPointerActions, android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); android::os::InputEventInjectionResult& outInjectionResult) REQUIRES(mLock); std::vector<Monitor> selectResponsiveMonitorsLocked( std::vector<Monitor> selectResponsiveMonitorsLocked( const std::vector<Monitor>& gestureMonitors) const REQUIRES(mLock); const std::vector<Monitor>& gestureMonitors) const REQUIRES(mLock); Loading