From 8cba4b0c2d3b47bf9e51a77f9e8982093d8f5b4c Mon Sep 17 00:00:00 2001 From: houdisheng Date: Fri, 18 Feb 2022 09:13:13 +0800 Subject: [PATCH] =?UTF-8?q?codecheck=E9=97=AE=E9=A2=98=E6=B8=85=E9=9B=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houdisheng --- interfaces/innerkits/include/bundle_active_proxy.h | 5 +++-- services/include/bundle_active_service.h | 3 ++- services/include/bundle_active_stub.h | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/interfaces/innerkits/include/bundle_active_proxy.h b/interfaces/innerkits/include/bundle_active_proxy.h index b449be2..806a79e 100644 --- a/interfaces/innerkits/include/bundle_active_proxy.h +++ b/interfaces/innerkits/include/bundle_active_proxy.h @@ -24,14 +24,15 @@ class BundleActiveProxy : public IRemoteProxy { public: int ReportEvent(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId, const int& eventId) override; - int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; + int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, + const int& userId) override; int Query(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; public: explicit BundleActiveProxy(const sptr& impl) : IRemoteProxy(impl) {} virtual ~BundleActiveProxy() {} - + private: static inline BrokerDelegator delegator_; }; diff --git a/services/include/bundle_active_service.h b/services/include/bundle_active_service.h index 44a9eb6..6ac0f6b 100644 --- a/services/include/bundle_active_service.h +++ b/services/include/bundle_active_service.h @@ -27,7 +27,8 @@ class BundleActiveService : public SystemAbility, public BundleActiveStub { public: int ReportEvent(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId, const int& eventId) override; - int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; + int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, + const int& userId) override; int Query(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; BundleActiveService(int32_t systemAbilityId, int runOnCreate) : SystemAbility(systemAbilityId, runOnCreate) {} diff --git a/services/include/bundle_active_stub.h b/services/include/bundle_active_stub.h index c8e758c..1a51be5 100644 --- a/services/include/bundle_active_stub.h +++ b/services/include/bundle_active_stub.h @@ -22,7 +22,8 @@ namespace OHOS { namespace BundleActive { class BundleActiveStub : public IRemoteStub { public: - virtual int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel &reply, MessageOption &option) override; + virtual int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel &reply, + MessageOption &option) override; public: BundleActiveStub() {}; -- Gitee