Home
last modified time | relevance | path

Searched refs:QuickFixResult (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/
H A Dmock_quick_fix_callback.h30 virtual void OnPatchDeployed(const std::shared_ptr<QuickFixResult> &result) override;
31 virtual void OnPatchSwitched(const std::shared_ptr<QuickFixResult> &result) override;
32 virtual void OnPatchDeleted(const std::shared_ptr<QuickFixResult> &result) override;
34 std::shared_ptr<QuickFixResult> GetResCode() const;
37 mutable std::promise<std::shared_ptr<QuickFixResult>> promise_;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dmock_quick_fix_callback.cpp20 void MockQuickFixCallback::OnPatchDeployed(const std::shared_ptr<QuickFixResult> &result) in OnPatchDeployed()
25 void MockQuickFixCallback::OnPatchSwitched(const std::shared_ptr<QuickFixResult> &result) in OnPatchSwitched()
30 void MockQuickFixCallback::OnPatchDeleted(const std::shared_ptr<QuickFixResult> &result) in OnPatchDeleted()
35 std::shared_ptr<QuickFixResult> MockQuickFixCallback::GetResCode() const in GetResCode()
40 return std::shared_ptr<QuickFixResult>(std::move(quickFixRes)); in GetResCode()
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/include/
H A Dquick_fix_status_callback_host_impl.h31 virtual void OnPatchDeployed(const std::shared_ptr<QuickFixResult> &result) override;
32 virtual void OnPatchSwitched(const std::shared_ptr<QuickFixResult> &result) override;
33 virtual void OnPatchDeleted(const std::shared_ptr<QuickFixResult> &result) override;
35 ErrCode GetResultCode(std::shared_ptr<QuickFixResult> &quickFixRes) const;
38 mutable std::promise<std::shared_ptr<QuickFixResult>> quickFixPromise_;
H A Dbundle_test_tool.h50 std::string GetResMsg(int32_t code, const std::shared_ptr<QuickFixResult> &quickFixRes);
149 std::shared_ptr<QuickFixResult> &quickFixRes, bool isDebug);
151 std::shared_ptr<QuickFixResult> &quickFixRes);
152 …ErrCode DeleteQuickFix(const std::string &bundleName, std::shared_ptr<QuickFixResult> &quickFixRes…
H A Dbundle_command.h292 … std::shared_ptr<QuickFixResult> &quickFixRes, bool isDebug, const std::string &targetPath) const;
293 …ErrCode DeleteQuickFix(const std::string &bundleName, std::shared_ptr<QuickFixResult> &quickFixRes…
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/quick_fix/
H A Dquick_fix_result_info.h27 struct QuickFixResult : public Parcelable { struct
28 QuickFixResult() = default;
29 virtual ~QuickFixResult() = default;
36 struct DeployQuickFixResult final : public QuickFixResult {
57 struct SwitchQuickFixResult final : public QuickFixResult {
73 struct DeleteQuickFixResult final : public QuickFixResult {
H A Dquick_fix_status_callback_interface.h28 virtual void OnPatchDeployed(const std::shared_ptr<QuickFixResult> &result) = 0;
29 virtual void OnPatchSwitched(const std::shared_ptr<QuickFixResult> &result) = 0;
30 virtual void OnPatchDeleted(const std::shared_ptr<QuickFixResult> &result) = 0;
H A Dquick_fix_status_callback_proxy.h30 virtual void OnPatchDeployed(const std::shared_ptr<QuickFixResult> &result) override;
31 virtual void OnPatchSwitched(const std::shared_ptr<QuickFixResult> &result) override;
32 virtual void OnPatchDeleted(const std::shared_ptr<QuickFixResult> &result) override;
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dquick_fix_status_callback_host_impl.cpp36 void QuickFixStatusCallbackHostlmpl::OnPatchDeployed(const std::shared_ptr<QuickFixResult> &result) in OnPatchDeployed()
42 void QuickFixStatusCallbackHostlmpl::OnPatchSwitched(const std::shared_ptr<QuickFixResult> &result) in OnPatchSwitched()
48 void QuickFixStatusCallbackHostlmpl::OnPatchDeleted(const std::shared_ptr<QuickFixResult> &result) in OnPatchDeleted()
54 ErrCode QuickFixStatusCallbackHostlmpl::GetResultCode(std::shared_ptr<QuickFixResult> &quickFixRes)… in GetResultCode()
H A Dbundle_command.cpp1687 std::shared_ptr<QuickFixResult> deployRes = nullptr; in RunAsQuickFixCommand()
1727 std::shared_ptr<QuickFixResult> deleteRes = nullptr; in RunAsQuickFixCommand()
2694 std::shared_ptr<QuickFixResult> &quickFixRes, bool isDebug, const std::string &targetPath) const in DeployQuickFixDisable()
2739 std::shared_ptr<QuickFixResult> &quickFixRes) const in DeleteQuickFix()
H A Dbundle_test_tool.cpp3069 std::shared_ptr<QuickFixResult> deployRes = nullptr; in RunAsDeployQuickFix()
3142 std::shared_ptr<QuickFixResult> switchRes = nullptr; in RunAsSwitchQuickFix()
3191 std::shared_ptr<QuickFixResult> deleteRes = nullptr; in RunAsDeleteQuickFix()
3200 std::shared_ptr<QuickFixResult> &quickFixRes, bool isDebug) in DeployQuickFix()
3250 std::shared_ptr<QuickFixResult> &quickFixRes) in SwitchQuickFix()
3283 std::shared_ptr<QuickFixResult> &quickFixRes) in DeleteQuickFix()
3324 std::string BundleTestTool::GetResMsg(int32_t code, const std::shared_ptr<QuickFixResult> &quickFix… in GetResMsg()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/quick_fix/
H A Dquick_fix_status_callback_host.cpp70 std::shared_ptr<QuickFixResult> resPtr(data.ReadParcelable<DeployQuickFixResult>()); in HandleOnPatchDeployed()
73 std::shared_ptr<QuickFixResult> deployRes = std::make_shared<DeployQuickFixResult>(); in HandleOnPatchDeployed()
85 std::shared_ptr<QuickFixResult> resPtr(data.ReadParcelable<SwitchQuickFixResult>()); in HandleOnPatchSwitched()
88 std::shared_ptr<QuickFixResult> switchRes = std::make_shared<SwitchQuickFixResult>(); in HandleOnPatchSwitched()
103 std::shared_ptr<QuickFixResult> deleteRes = std::make_shared<DeleteQuickFixResult>(); in HandleOnPatchDeleted()
H A Dquick_fix_status_callback_proxy.cpp39 void QuickFixStatusCallbackProxy::OnPatchDeployed(const std::shared_ptr<QuickFixResult> &result) in OnPatchDeployed()
50 void QuickFixStatusCallbackProxy::OnPatchSwitched(const std::shared_ptr<QuickFixResult> &result) in OnPatchSwitched()
61 void QuickFixStatusCallbackProxy::OnPatchDeleted(const std::shared_ptr<QuickFixResult> &result) in OnPatchDeleted()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fixer.cpp42 std::shared_ptr<QuickFixResult> deployRes = std::make_shared<DeployQuickFixResult>(result); in DeployQuickFix()
64 std::shared_ptr<QuickFixResult> switchRes = std::make_shared<SwitchQuickFixResult>(result); in SwitchQuickFix()
84 std::shared_ptr<QuickFixResult> deleteRes = std::make_shared<DeleteQuickFixResult>(result); in DeleteQuickFix()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_death_recipient.cpp48 std::shared_ptr<QuickFixResult> deployRes = std::make_shared<DeployQuickFixResult>();
/ohos5.0/foundation/ability/ability_runtime/services/quickfixmgr/src/
H A Dquick_fix_manager_apply_task.cpp66 void OnPatchDeployed(const std::shared_ptr<AppExecFwk::QuickFixResult> &result) override in OnPatchDeployed()
99 void OnPatchSwitched(const std::shared_ptr<AppExecFwk::QuickFixResult> &result) override in OnPatchSwitched()
135 void OnPatchDeleted(const std::shared_ptr<AppExecFwk::QuickFixResult> &result) override in OnPatchDeleted()
182 void OnPatchDeployed(const std::shared_ptr<AppExecFwk::QuickFixResult> &result) override in OnPatchDeployed()
569 bool QuickFixManagerApplyTask::SetQuickFixInfo(const std::shared_ptr<AppExecFwk::QuickFixResult> &r… in SetQuickFixInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixstatuscallbackproxy_fuzzer/
H A Dquickfixstatuscallbackproxy_fuzzer.cpp46 std::shared_ptr<QuickFixResult> result = nullptr; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/services/quickfixmgr/include/
H A Dquick_fix_manager_apply_task.h46 bool SetQuickFixInfo(const std::shared_ptr<AppExecFwk::QuickFixResult> &result);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_test/
H A Dbms_bundle_quick_fix_test.cpp3846 std::shared_ptr<QuickFixResult> result = std::make_shared<DeployQuickFixResult>();
3862 std::shared_ptr<QuickFixResult> result = std::make_shared<SwitchQuickFixResult>();
3878 std::shared_ptr<QuickFixResult> result = std::make_shared<DeleteQuickFixResult>();