Home
last modified time | relevance | path

Searched refs:resultMsg (Results 1 – 25 of 85) sorted by relevance

1234

/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dstatus_receiver_impl.cpp41 void StatusReceiverImpl::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
43 APP_LOGI("on finished result is %{public}d, %{public}s", resultCode, resultMsg.c_str()); in OnFinished()
48 resultMsgSignal_.set_value(resultMsg); in OnFinished()
73 std::string resultMsg = future.get(); in GetResultMsg() local
74 return resultMsg; in GetResultMsg()
/ohos5.0/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
H A Dsys_installer_callback.cpp53 …erCallback::OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) in OnUpgradeProgress() argument
55 LOG(INFO) << "progress: " << updateStatus << " percent:" << percent << " msg:" << resultMsg; in OnUpgradeProgress()
57 callback_->OnUpgradeProgress(updateStatus, percent, resultMsg); in OnUpgradeProgress()
H A Dsys_installer_client.cpp29 …void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) overr… in OnUpgradeProgress() argument
31 …printf("ProgressCallback progress %d percent %d msg %s\n", updateStatus, percent, resultMsg.c_str(… in OnUpgradeProgress()
/ohos5.0/base/update/sys_installer/frameworks/status_manager/src/
H A Dstatus_manager.cpp49 …StatusManager::UpdateCallback(UpdateStatus updateStatus, int percent, const std::string &resultMsg) in UpdateCallback() argument
68 LOG(INFO) << "status:" << updateStatus_ << " percent:" << percent_ << " msg:" << resultMsg; in UpdateCallback()
69 updateCallback_->OnUpgradeProgress(updateStatus_, percent_, resultMsg); in UpdateCallback()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Ddistributed_sched_test_util.cpp50 void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
75 void StatusReceiverImpl::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
77 HILOGI("on finished result is %{public}d, %{public}s", resultCode, resultMsg.c_str()); in OnFinished()
78 resultMsgSignal_.set_value(resultMsg); in OnFinished()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_permission_grant_system_test/
H A Dbms_permission_grant_system_test.cpp54 void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
81 void StatusReceiverImpl::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
83 APP_LOGD("on finished result is %{public}d, %{public}s", resultCode, resultMsg.c_str()); in OnFinished()
84 resultMsgSignal_.set_value(resultMsg); in OnFinished()
94 std::string resultMsg = future.get(); in GetResultMsg() local
95 if (resultMsg == MSG_SUCCESS) { in GetResultMsg()
125 std::string resultMsg = future.get(); in GetSubscriberResultMsg() local
126 return resultMsg; in GetSubscriberResultMsg()
/ohos5.0/base/update/sys_installer/interfaces/inner_api/include/
H A Dimodule_update.h73 std::string resultMsg {};
83 if (!parcel.WriteString16(Str8ToStr16(resultMsg))) { in Marshalling()
93 resultMsg = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Dinstaller_callback.cpp20 void InstallerCallback::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
23 resultMsgSignal_.set_value(resultMsg); in OnFinished()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dinstaller_callback.cpp20 …tallerCallback::OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string &resultMsg)
26 resultMsgSignal_.set_value(resultMsg);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlestatuscallbackproxy_fuzzer/
H A Dbundlestatuscallbackproxy_fuzzer.cpp29 std::string resultMsg (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
32 reinterpret_cast<uintptr_t>(data), resultMsg, bundleName); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/update/sys_installer/frameworks/ipc_server/src/
H A Dsys_installer_callback_proxy.cpp26 …lbackProxy::OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) in OnUpgradeProgress() argument
46 data.WriteString(resultMsg); in OnUpgradeProgress()
H A Dmodule_update_service.cpp158 tmpUpdateInfo.resultMsg = signalResult[2]; // 2: result info in GetHmpUpdateResult()
163 iter.resultMsg = tmpUpdateInfo.resultMsg; in GetHmpUpdateResult()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/free_install/
H A Dinstall_result.cpp42 {JSON_KEY_RESULT_RESULTMSG, result.resultMsg}, in to_json()
62 result.resultMsg, in from_json()
158 resultMsg = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
166 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(resultMsg)); in Marshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dstatus_receiver_host.cpp50 std::string resultMsg = Str16ToStr8(data.ReadString16()); in OnRemoteRequest() local
51 OnFinished(resultCode, resultMsg); in OnRemoteRequest()
H A Dbundle_status_callback_host.cpp52 std::string resultMsg = Str16ToStr8(data.ReadString16()); in OnRemoteRequest() local
54 OnBundleStateChanged(installType, resultCode, resultMsg, bundleName); in OnRemoteRequest()
/ohos5.0/base/update/updateservice/services/firmware/upgrade/install/src/
H A Dfirmware_sys_installer_callback.cpp28 const std::string &resultMsg) in OnUpgradeProgress() argument
42 installProgress.errMsg.errorMessage = resultMsg; in OnUpgradeProgress()
/ohos5.0/base/update/sys_installer/test/fuzztest/imoduleupdate_fuzzer/
H A Dimodule_update_fuzzer.cpp44 …void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) overr… in OnUpgradeProgress() argument
46 …printf("ProgressCallback progress %d percent %d msg %s\n", updateStatus, percent, resultMsg.c_str(… in OnUpgradeProgress()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_installer.cpp55 std::string resultMsg = GetCheckResultMsg(); in Install() local
58 statusReceiver_->OnFinished(resultCode, resultMsg); in Install()
100 std::string resultMsg = GetCheckResultMsg(); in Install() local
103 statusReceiver_->OnFinished(resultCode, resultMsg); in Install()
/ohos5.0/base/update/sys_installer/tools/module_update_tool/
H A Dmain.cpp106 …void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) overr… in OnUpgradeProgress() argument
108 …printf("ProgressCallback progress %d percent %d msg %s\n", updateStatus, percent, resultMsg.c_str(… in OnUpgradeProgress()
144 …printf("path:%s result:%d resultMsg:%s\n", info.path.c_str(), info.result, info.resultMsg.c_str()); in GetResult()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A Dbms_install_external_hsp_so_test.cpp76 void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
103 void StatusReceiverImpl::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
105 APP_LOGD("on finished result is %{public}d, %{public}s", resultCode, resultMsg.c_str()); in OnFinished()
106 resultMsgSignal_.set_value(resultMsg); in OnFinished()
116 std::string resultMsg = future.get(); in GetResultMsg() local
117 if (resultMsg == MSG_SUCCESS) { in GetResultMsg()
120 return OPERATION_FAILURE + resultMsg; in GetResultMsg()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_launcher_service_system_test/
H A Dbms_launcher_service_system_test.cpp79 virtual void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
337 …ndleStateChanged(const uint8_t installType, const int32_t resultCode, const std::string &resultMsg,
349 …const uint8_t installType, const int32_t resultCode, const std::string &resultMsg, const std::stri… in OnBundleStateChanged() argument
351 GTEST_LOG_(INFO) << "OnBundleStateChanged " << resultMsg << " bundle name is " << bundleName; in OnBundleStateChanged()
392 void StatusReceiverImpl::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
394 APP_LOGD("on finished result is %{public}d, %{public}s", resultCode, resultMsg.c_str()); in OnFinished()
395 resultMsgSignal_.set_value(resultMsg); in OnFinished()
402 std::string resultMsg = future.get(); in GetResultMsg() local
403 if (resultMsg == MSG_SUCCESS) { in GetResultMsg()
406 return OPERATION_FAILED + resultMsg; in GetResultMsg()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/installer_proxy_test/
H A Dinstaller_proxy_test.cpp36 virtual void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
48 void InstallerProxyTest::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/launcher_service_test/
H A Dlauncher_service_test.cpp29 const std::string &resultMsg, const std::string &bundleName) override;
38 const std::string &resultMsg, const std::string &bundleName) in OnBundleStateChanged() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_search_system_test/
H A Dbms_search_system_test.cpp61 …ndleStateChanged(const uint8_t installType, const int32_t resultCode, const std::string &resultMsg,
82 …const uint8_t installType, const int32_t resultCode, const std::string &resultMsg, const std::stri… in OnBundleStateChanged() argument
87 resultMsg.c_str(), in OnBundleStateChanged()
132 virtual void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
151 void StatusReceiverImpl::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() argument
153 APP_LOGD("OnFinished result is %{public}d, %{public}s", resultCode, resultMsg.c_str()); in OnFinished()
154 resultMsgSignal_.set_value(resultMsg); in OnFinished()
165 std::string resultMsg = future.get(); in GetResultMsg() local
166 if (resultMsg == MSG_SUCCESS) { in GetResultMsg()
169 return OPERATION_FAILED + resultMsg; in GetResultMsg()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/distributed_manager/
H A Drpc_id_result.cpp123 {JSON_KEY_RESULT_RESULT_MSG, rpcIdResult.resultMsg}, in to_json()
159 rpcIdResult.resultMsg, in from_json()
234 resultMsg = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()

1234