Loading services/inputflinger/dispatcher/InputDispatcher.cpp +0 −17 Original line number Diff line number Diff line Loading @@ -5659,14 +5659,6 @@ void InputDispatcher::dumpDispatchStateLocked(std::string& dump) const { } else { dump += INDENT "Displays: <none>\n"; } dump += INDENT "Window Infos:\n"; dump += StringPrintf(INDENT2 "vsync id: %" PRId64 "\n", mWindowInfosVsyncId); dump += StringPrintf(INDENT2 "timestamp (ns): %" PRId64 "\n", mWindowInfosTimestamp); dump += "\n"; dump += StringPrintf(INDENT2 "max update delay (ns): %" PRId64 "\n", mMaxWindowInfosDelay); dump += StringPrintf(INDENT2 "max update delay vsync id: %" PRId64 "\n", mMaxWindowInfosDelayVsyncId); dump += "\n"; if (!mGlobalMonitorsByDisplay.empty()) { for (const auto& [displayId, monitors] : mGlobalMonitorsByDisplay) { Loading Loading @@ -6708,15 +6700,6 @@ void InputDispatcher::onWindowInfosChanged(const gui::WindowInfosUpdate& update) for (const auto& [displayId, handles] : handlesPerDisplay) { setInputWindowsLocked(handles, displayId); } mWindowInfosVsyncId = update.vsyncId; mWindowInfosTimestamp = update.timestamp; int64_t delay = systemTime() - update.timestamp; if (delay > mMaxWindowInfosDelay) { mMaxWindowInfosDelay = delay; mMaxWindowInfosDelayVsyncId = update.vsyncId; } } // Wake up poll loop since it may need to make new input dispatching choices. mLooper->wake(); Loading services/inputflinger/dispatcher/InputDispatcher.h +0 −5 Original line number Diff line number Diff line Loading @@ -204,11 +204,6 @@ private: const IdGenerator mIdGenerator; int64_t mWindowInfosVsyncId GUARDED_BY(mLock); int64_t mWindowInfosTimestamp GUARDED_BY(mLock); int64_t mMaxWindowInfosDelay GUARDED_BY(mLock) = -1; int64_t mMaxWindowInfosDelayVsyncId GUARDED_BY(mLock) = -1; // With each iteration, InputDispatcher nominally processes one queued event, // a timeout, or a response from an input consumer. // This method should only be called on the input dispatcher's own thread. Loading Loading
services/inputflinger/dispatcher/InputDispatcher.cpp +0 −17 Original line number Diff line number Diff line Loading @@ -5659,14 +5659,6 @@ void InputDispatcher::dumpDispatchStateLocked(std::string& dump) const { } else { dump += INDENT "Displays: <none>\n"; } dump += INDENT "Window Infos:\n"; dump += StringPrintf(INDENT2 "vsync id: %" PRId64 "\n", mWindowInfosVsyncId); dump += StringPrintf(INDENT2 "timestamp (ns): %" PRId64 "\n", mWindowInfosTimestamp); dump += "\n"; dump += StringPrintf(INDENT2 "max update delay (ns): %" PRId64 "\n", mMaxWindowInfosDelay); dump += StringPrintf(INDENT2 "max update delay vsync id: %" PRId64 "\n", mMaxWindowInfosDelayVsyncId); dump += "\n"; if (!mGlobalMonitorsByDisplay.empty()) { for (const auto& [displayId, monitors] : mGlobalMonitorsByDisplay) { Loading Loading @@ -6708,15 +6700,6 @@ void InputDispatcher::onWindowInfosChanged(const gui::WindowInfosUpdate& update) for (const auto& [displayId, handles] : handlesPerDisplay) { setInputWindowsLocked(handles, displayId); } mWindowInfosVsyncId = update.vsyncId; mWindowInfosTimestamp = update.timestamp; int64_t delay = systemTime() - update.timestamp; if (delay > mMaxWindowInfosDelay) { mMaxWindowInfosDelay = delay; mMaxWindowInfosDelayVsyncId = update.vsyncId; } } // Wake up poll loop since it may need to make new input dispatching choices. mLooper->wake(); Loading
services/inputflinger/dispatcher/InputDispatcher.h +0 −5 Original line number Diff line number Diff line Loading @@ -204,11 +204,6 @@ private: const IdGenerator mIdGenerator; int64_t mWindowInfosVsyncId GUARDED_BY(mLock); int64_t mWindowInfosTimestamp GUARDED_BY(mLock); int64_t mMaxWindowInfosDelay GUARDED_BY(mLock) = -1; int64_t mMaxWindowInfosDelayVsyncId GUARDED_BY(mLock) = -1; // With each iteration, InputDispatcher nominally processes one queued event, // a timeout, or a response from an input consumer. // This method should only be called on the input dispatcher's own thread. Loading