From d04f5aa35c3a7412dcb4ce682d21f9c13bfe75d7 Mon Sep 17 00:00:00 2001 From: mr-liang2504 Date: Sun, 27 Apr 2025 14:23:46 +0800 Subject: [PATCH] Signed-off-by: mr-liang2504 Change-Id: I6de76d9c0ec197aba2419cb2796ccebdbcf952d3 --- frameworks/proxy/event_handler/src/input_manager_impl.cpp | 1 + service/event_handler/src/input_event_handler.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frameworks/proxy/event_handler/src/input_manager_impl.cpp b/frameworks/proxy/event_handler/src/input_manager_impl.cpp index 1ee7cf2b48..9f071ccee8 100644 --- a/frameworks/proxy/event_handler/src/input_manager_impl.cpp +++ b/frameworks/proxy/event_handler/src/input_manager_impl.cpp @@ -581,6 +581,7 @@ void InputManagerImpl::OnPointerEvent(std::shared_ptr pointerEvent MMI_HILOG_FREEZEI("id:%{public}d recv", pointerEvent->GetId()); } } + MMI_HILOG_FREEZEE("zhf###03 id:%{public}d recv, action:%{public}d", pointerEvent->GetId(), pointerEvent->GetPointerAction()); if (client->IsEventHandlerChanged()) { BytraceAdapter::StartPostTaskEvent(pointerEvent); if (!eventHandler->PostTask([this, inputConsumer, pointerEvent] { diff --git a/service/event_handler/src/input_event_handler.cpp b/service/event_handler/src/input_event_handler.cpp index 55da806373..a89ad034a2 100644 --- a/service/event_handler/src/input_event_handler.cpp +++ b/service/event_handler/src/input_event_handler.cpp @@ -90,7 +90,7 @@ void InputEventHandler::OnEvent(void *event, int64_t frameTime) int32_t eventType = libinput_event_get_type(lpEvent); int64_t beginTime = GetSysClockTime(); lastEventBeginTime_ = beginTime; - MMI_HILOGD("Event reporting. id:%{public}" PRId64 ",tid:%{public}" PRId64 ",eventType:%{public}d," + MMI_HILOGE("zhf###01 Event reporting. id:%{public}" PRId64 ",tid:%{public}" PRId64 ",eventType:%{public}d," "beginTime:%{public}" PRId64, idSeed_, GetThisThreadId(), eventType, beginTime); UpdateDwtRecord(lpEvent); @@ -106,7 +106,7 @@ void InputEventHandler::OnEvent(void *event, int64_t frameTime) MMI_HILOGE("Event handling completed. id:%{public}" PRId64 ",endTime:%{public}" PRId64 ",lostTime:%{public}" PRId64, idSeed_, endTime, lostTime); } - MMI_HILOGD("Event handling completed. id:%{public}" PRId64 ",endTime:%{public}" PRId64 + MMI_HILOGE("zhf###02 Event handling completed. id:%{public}" PRId64 ",endTime:%{public}" PRId64 ",lostTime:%{public}" PRId64, idSeed_, endTime, lostTime); } -- Gitee