/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | status_receiver_impl.cpp | 41 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 D | sys_installer_callback.cpp | 53 …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 D | sys_installer_client.cpp | 29 …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 D | status_manager.cpp | 49 …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 D | distributed_sched_test_util.cpp | 50 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 D | bms_permission_grant_system_test.cpp | 54 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 D | imodule_update.h | 73 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 D | installer_callback.cpp | 20 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 D | installer_callback.cpp | 20 …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 D | bundlestatuscallbackproxy_fuzzer.cpp | 29 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 D | sys_installer_callback_proxy.cpp | 26 …lbackProxy::OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) in OnUpgradeProgress() argument 46 data.WriteString(resultMsg); in OnUpgradeProgress()
|
H A D | module_update_service.cpp | 158 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 D | install_result.cpp | 42 {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 D | status_receiver_host.cpp | 50 std::string resultMsg = Str16ToStr8(data.ReadString16()); in OnRemoteRequest() local 51 OnFinished(resultCode, resultMsg); in OnRemoteRequest()
|
H A D | bundle_status_callback_host.cpp | 52 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 D | firmware_sys_installer_callback.cpp | 28 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 D | imodule_update_fuzzer.cpp | 44 …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 D | bundle_installer.cpp | 55 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 D | main.cpp | 106 …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 D | bms_install_external_hsp_so_test.cpp | 76 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 D | bms_launcher_service_system_test.cpp | 79 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 D | installer_proxy_test.cpp | 36 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 D | launcher_service_test.cpp | 29 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 D | bms_search_system_test.cpp | 61 …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 D | rpc_id_result.cpp | 123 {JSON_KEY_RESULT_RESULT_MSG, rpcIdResult.resultMsg}, in to_json() 159 rpcIdResult.resultMsg, in from_json() 234 resultMsg = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
|