From 8337c148fa49a833ca1df94530896aacf362f14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=A5=E7=BB=B4?= Date: Thu, 29 May 2025 09:28:24 -0700 Subject: [PATCH 1/2] description:ability support idl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 查维 --- multimodalinput_input.diff.txt | 47 +++++++++++++++++++ .../include/app_debug_listener.h | 4 +- .../module_loader/src/app_debug_listener.cpp | 6 ++- 3 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 multimodalinput_input.diff.txt diff --git a/multimodalinput_input.diff.txt b/multimodalinput_input.diff.txt new file mode 100644 index 0000000000..8c702e42da --- /dev/null +++ b/multimodalinput_input.diff.txt @@ -0,0 +1,47 @@ +diff --git a/service/module_loader/include/app_debug_listener.h b/service/module_loader/include/app_debug_listener.h +index 3c0393cf748187daeec16502bc727d7461dcf0d6..d0b60e4287c7bc5a9738476cd410e8661962672a 100644 +--- a/service/module_loader/include/app_debug_listener.h ++++ b/service/module_loader/include/app_debug_listener.h +@@ -25,8 +25,8 @@ public: + static AppDebugListener *GetInstance(); + ~AppDebugListener() = default; + +- void OnAppDebugStarted(const std::vector &debugInfos) override; +- void OnAppDebugStoped(const std::vector &debugInfos) override; ++ ErrCode OnAppDebugStarted(const std::vector &debugInfos) override; ++ ErrCode OnAppDebugStoped(const std::vector &debugInfos) override; + + int32_t GetAppDebugPid(); + +diff --git a/service/module_loader/src/app_debug_listener.cpp b/service/module_loader/src/app_debug_listener.cpp +index 0dd252667e94966ba035c04f1ed972d276378905..db31360c5e427ef366093c395a282d2fe49dd33b 100644 +--- a/service/module_loader/src/app_debug_listener.cpp ++++ b/service/module_loader/src/app_debug_listener.cpp +@@ -30,16 +30,17 @@ AppDebugListener *AppDebugListener::GetInstance() + return instance_; + } + +-void AppDebugListener::OnAppDebugStarted(const std::vector &debugInfos) ++ErrCode AppDebugListener::OnAppDebugStarted(const std::vector &debugInfos) + { + CALL_DEBUG_ENTER; + for (const auto &debugInfo : debugInfos) { + appDebugPid_ = debugInfo.pid; + MMI_HILOGD("The appDebugPid_:%{public}d", appDebugPid_); + } ++ return ERR_OK; + } + +-void AppDebugListener::OnAppDebugStoped(const std::vector &debugInfos) ++ErrCode AppDebugListener::OnAppDebugStoped(const std::vector &debugInfos) + { + CALL_DEBUG_ENTER; + for (const auto &debugInfo : debugInfos) { +@@ -47,6 +48,7 @@ void AppDebugListener::OnAppDebugStoped(const std::vector &debugInfos) override; - void OnAppDebugStoped(const std::vector &debugInfos) override; + ErrCode OnAppDebugStarted(const std::vector &debugInfos) override; + ErrCode OnAppDebugStoped(const std::vector &debugInfos) override; int32_t GetAppDebugPid(); diff --git a/service/module_loader/src/app_debug_listener.cpp b/service/module_loader/src/app_debug_listener.cpp index 0dd252667e..db31360c5e 100644 --- a/service/module_loader/src/app_debug_listener.cpp +++ b/service/module_loader/src/app_debug_listener.cpp @@ -30,16 +30,17 @@ AppDebugListener *AppDebugListener::GetInstance() return instance_; } -void AppDebugListener::OnAppDebugStarted(const std::vector &debugInfos) +ErrCode AppDebugListener::OnAppDebugStarted(const std::vector &debugInfos) { CALL_DEBUG_ENTER; for (const auto &debugInfo : debugInfos) { appDebugPid_ = debugInfo.pid; MMI_HILOGD("The appDebugPid_:%{public}d", appDebugPid_); } + return ERR_OK; } -void AppDebugListener::OnAppDebugStoped(const std::vector &debugInfos) +ErrCode AppDebugListener::OnAppDebugStoped(const std::vector &debugInfos) { CALL_DEBUG_ENTER; for (const auto &debugInfo : debugInfos) { @@ -47,6 +48,7 @@ void AppDebugListener::OnAppDebugStoped(const std::vector Date: Thu, 12 Jun 2025 00:33:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 查维 --- multimodalinput_input.diff.txt | 47 ---------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 multimodalinput_input.diff.txt diff --git a/multimodalinput_input.diff.txt b/multimodalinput_input.diff.txt deleted file mode 100644 index 8c702e42da..0000000000 --- a/multimodalinput_input.diff.txt +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/service/module_loader/include/app_debug_listener.h b/service/module_loader/include/app_debug_listener.h -index 3c0393cf748187daeec16502bc727d7461dcf0d6..d0b60e4287c7bc5a9738476cd410e8661962672a 100644 ---- a/service/module_loader/include/app_debug_listener.h -+++ b/service/module_loader/include/app_debug_listener.h -@@ -25,8 +25,8 @@ public: - static AppDebugListener *GetInstance(); - ~AppDebugListener() = default; - -- void OnAppDebugStarted(const std::vector &debugInfos) override; -- void OnAppDebugStoped(const std::vector &debugInfos) override; -+ ErrCode OnAppDebugStarted(const std::vector &debugInfos) override; -+ ErrCode OnAppDebugStoped(const std::vector &debugInfos) override; - - int32_t GetAppDebugPid(); - -diff --git a/service/module_loader/src/app_debug_listener.cpp b/service/module_loader/src/app_debug_listener.cpp -index 0dd252667e94966ba035c04f1ed972d276378905..db31360c5e427ef366093c395a282d2fe49dd33b 100644 ---- a/service/module_loader/src/app_debug_listener.cpp -+++ b/service/module_loader/src/app_debug_listener.cpp -@@ -30,16 +30,17 @@ AppDebugListener *AppDebugListener::GetInstance() - return instance_; - } - --void AppDebugListener::OnAppDebugStarted(const std::vector &debugInfos) -+ErrCode AppDebugListener::OnAppDebugStarted(const std::vector &debugInfos) - { - CALL_DEBUG_ENTER; - for (const auto &debugInfo : debugInfos) { - appDebugPid_ = debugInfo.pid; - MMI_HILOGD("The appDebugPid_:%{public}d", appDebugPid_); - } -+ return ERR_OK; - } - --void AppDebugListener::OnAppDebugStoped(const std::vector &debugInfos) -+ErrCode AppDebugListener::OnAppDebugStoped(const std::vector &debugInfos) - { - CALL_DEBUG_ENTER; - for (const auto &debugInfo : debugInfos) { -@@ -47,6 +48,7 @@ void AppDebugListener::OnAppDebugStoped(const std::vector