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 b4f6aedc370f4c165416e955c4fb5a80c919d19e..9b05f31322d2b1857401fea48436aeaa9a290232 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 2d17f67dd1d3d40db0921226e60422602b460b40..88eabf43ba53a124d5b2fe2762ed6e4197b9c93a 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