/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/src/ |
D | bundle_manager_proxy.cpp | 183 AppExecFwk::InstallParam &installParam, std::string &errMessage) in Install() argument 193 ErrCode res = WriteFileToStream(admin, hapFilePath, realPaths, errMessage); in Install() 215 errMessage = reply.ReadString(); in Install() 222 std::vector<std::string> &servicePaths, std::string &errMessage) in WriteFileToInner() argument 228 errMessage = "write file to stream failed due to invalid file descriptor"; in WriteFileToInner() 238 errMessage = "write file to stream failed due to open the hap file"; in WriteFileToInner() 248 errMessage = "write file to the temp dir failed"; in WriteFileToInner() 259 std::vector<std::string> &servicePaths, std::string &errMessage) in WriteFileToStream() argument 263 ErrCode checkRet = checkHapFilePath(hapFilePath, fileName, realPath, errMessage); in WriteFileToStream() 286 errMessage = reply.ReadString(); in WriteFileToStream() [all …]
|
/base/customization/enterprise_device_management/interfaces/kits/common/src/ |
D | napi_edm_error.cpp | 47 napi_value CreateErrorWithInnerCode(napi_env env, ErrCode errorCode, std::string &errMessage) in CreateErrorWithInnerCode() argument 52 pair.second = pair.second.replace(iter, 1, errMessage); in CreateErrorWithInnerCode() 57 napi_value CreateError(napi_env env, int32_t errorCode, const std::string &errMessage) in CreateError() argument 64 napi_create_string_utf8(env, errMessage.c_str(), errMessage.size(), &message); in CreateError()
|
/base/customization/enterprise_device_management/interfaces/kits/common/include/ |
D | napi_edm_error.h | 27 napi_value CreateError(napi_env env, int32_t errorCode, const std::string &errMessage); 28 napi_value CreateErrorWithInnerCode(napi_env env, ErrCode errorCode, std::string &errMessage);
|
D | napi_edm_common.h | 38 std::string errMessage; member
|
/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/include/ |
D | bundle_manager_proxy.h | 45 std::string &errMessage); 47 std::vector<std::string> &servicePaths, std::string &errMessage); 49 std::string &errMessage);
|
/base/msdp/device_status/frameworks/js/napi/src/ |
D | devicestatus_napi_error.cpp | 29 napi_value CreateNapiError(const napi_env &env, int32_t errCode, const std::string &errMessage) in CreateNapiError() argument 35 NAPI_CALL(env, napi_create_string_utf8(env, errMessage.c_str(), NAPI_AUTO_LENGTH, &msg)); in CreateNapiError()
|
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/ |
D | vibrator_napi_error.cpp | 25 …alue CreateBusinessError(const napi_env &env, const int32_t errCode, const std::string &errMessage) in CreateBusinessError() argument 31 NAPI_CALL(env, napi_create_string_utf8(env, errMessage.c_str(), NAPI_AUTO_LENGTH, &msg)); in CreateBusinessError()
|
/base/sensors/sensor/interfaces/plugin/src/ |
D | sensor_napi_error.cpp | 25 …alue CreateBusinessError(const napi_env &env, const int32_t errCode, const std::string &errMessage) in CreateBusinessError() argument 31 NAPI_CALL(env, napi_create_string_utf8(env, errMessage.c_str(), NAPI_AUTO_LENGTH, &msg)); in CreateBusinessError()
|
/base/sensors/sensor/interfaces/plugin/include/ |
D | sensor_napi_error.h | 33 …lue CreateBusinessError(const napi_env &env, const int32_t errCode, const std::string &errMessage);
|
/base/sensors/miscdevice/interfaces/plugin/vibrator/include/ |
D | vibrator_napi_error.h | 34 …lue CreateBusinessError(const napi_env &env, const int32_t errCode, const std::string &errMessage);
|
/base/msdp/device_status/frameworks/js/napi/include/ |
D | devicestatus_napi_error.h | 34 napi_value CreateNapiError(const napi_env &env, int32_t errCode, const std::string &errMessage);
|
/base/time/time_service/framework/js/napi/common/include/ |
D | napi_utils.h | 46 (context)->errMessage = std::string(message); \ 56 (context)->errMessage = std::string(message); \
|
D | napi_work.h | 43 std::string errMessage; member
|
/base/customization/enterprise_device_management/test/unittest/bundle_manager_proxy/ |
D | bundle_manager_proxy_test.cpp | 246 string errMessage; variable 247 ErrCode ret = bundleManagerProxy->WriteFileToStream(admin, hapFilePath, realPaths, errMessage); 249 ASSERT_TRUE(errMessage == "install failed due to invalid hapFilePaths");
|
/base/customization/config_policy/interfaces/kits/js/include/ |
D | config_policy_napi.h | 61 static napi_value ThrowNapiError(napi_env env, int32_t errCode, const std::string &errMessage);
|
/base/customization/config_policy/interfaces/kits/js/src/ |
D | config_policy_napi.cpp | 284 …alue ConfigPolicyNapi::ThrowNapiError(napi_env env, int32_t errCode, const std::string &errMessage) in ThrowNapiError() argument 286 napi_throw_error(env, std::to_string(errCode).c_str(), errMessage.c_str()); in ThrowNapiError()
|
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/ |
D | bundle_manager_addon.cpp | 116 asyncCallbackInfo->userId, asyncCallbackInfo->isKeepData, asyncCallbackInfo->errMessage); in NativeUninstall() 179 CreateError(env, asyncCallbackInfo->ret, asyncCallbackInfo->errMessage)); in NativeUninstallCallbackComplete() 189 error = CreateError(env, asyncCallbackInfo->ret, asyncCallbackInfo->errMessage); in NativeUninstallCallbackComplete()
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 803 std::string errMessage = "BussinessError "; in GetErrorMsgByCode() local 804 errMessage.append(std::to_string(code)).append(": ").append(iter->second); in GetErrorMsgByCode() 805 return errMessage; in GetErrorMsgByCode()
|
/base/telephony/core_service/frameworks/js/sim/src/ |
D | napi_sim.cpp | 127 const std::string &errMessage, bool funcIgnoreReturnVal = false, int errorCode = ERROR_DEFAULT) in NapiAsyncCompleteCallback() argument 137 napi_value errorMessage = NapiUtil::CreateErrorMessage(env, errMessage, errorCode); in NapiAsyncCompleteCallback() 149 callbackValue[0] = NapiUtil::CreateErrorMessage(env, errMessage, errorCode); in NapiAsyncCompleteCallback()
|