From 2d8941d0b833300de64919b78de1c6012ca57a3b Mon Sep 17 00:00:00 2001 From: xinking129 Date: Wed, 13 Dec 2023 19:17:20 +0800 Subject: [PATCH] add EDM batch set/cancel intetface Signed-off-by: xinking129 --- .../test/mock/include/mock_ability_mgr_host.h | 10 ++++++++++ services/test/mock/include/mock_ability_mgr_host.h | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h b/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h index b4f6aedc37..9b05f31322 100644 --- a/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h +++ b/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h @@ -429,6 +429,16 @@ public: return 0; } + int32_t SetApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } + + int32_t CancelApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } + #ifdef SUPPORT_GRAPHICS virtual int RegisterWindowManagerServiceHandler(const sptr& handler) override { diff --git a/services/test/mock/include/mock_ability_mgr_host.h b/services/test/mock/include/mock_ability_mgr_host.h index 2d17f67dd1..88eabf43ba 100644 --- a/services/test/mock/include/mock_ability_mgr_host.h +++ b/services/test/mock/include/mock_ability_mgr_host.h @@ -428,6 +428,16 @@ public: { return 0; } + + int32_t SetApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } + + int32_t CancelApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } }; } // namespace AppExecFwk } // namespace OHOS -- Gitee