Home
last modified time | relevance | path

Searched refs:errorMessages (Results 1 – 6 of 6) sorted by relevance

/base/update/updateservice/services/engine/src/
Dupdate_helper.cpp46 void ReadErrorMessages(MessageParcel &reply, ErrorMessage errorMessages[], size_t arraySize) in ReadErrorMessages() argument
50 errorMessages[i].errorCode = reply.ReadInt32(); in ReadErrorMessages()
51 errorMessages[i].errorMessage = Str16ToStr8(reply.ReadString16()); in ReadErrorMessages()
55 void WriteErrorMessages(MessageParcel &data, const ErrorMessage errorMessages[], size_t arraySize) in WriteErrorMessages() argument
59 data.WriteInt32(errorMessages[i].errorCode); in WriteErrorMessages()
60 data.WriteString16(Str8ToStr16(errorMessages[i].errorMessage)); in WriteErrorMessages()
236 ReadErrorMessages(reply, taskBody.errorMessages, COUNT_OF(taskBody.errorMessages)); in ReadTaskBody()
247 WriteErrorMessages(data, taskBody.errorMessages, COUNT_OF(taskBody.errorMessages)); in WriteTaskBody()
Dupdate_service.cpp306 taskInfo.taskBody.errorMessages[0].errorCode = otaStatus_.errMsg[0].errorCode; in GetTaskInfo()
307 taskInfo.taskBody.errorMessages[0].errorMessage = otaStatus_.errMsg[0].errorMsg; in GetTaskInfo()
942 dprintf(fd, "ErrorCode: %d\n", taskInfo.taskBody.errorMessages[0].errorCode); in BuildTaskInfoDump()
943 dprintf(fd, "ErrorMsg: %s\n", taskInfo.taskBody.errorMessages[0].errorMessage.c_str()); in BuildTaskInfoDump()
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_helper.h420 ErrorMessage errorMessages[2]; member
431 errorMessages[0] = source.errorMessages[0];
432 errorMessages[1] = source.errorMessages[1];
/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp210 …essages(napi_env env, napi_value &obj, const std::string &name, const ErrorMessage errorMessages[], in BuildErrorMessages() argument
213 size_t validErrorMsgCount = GetValidDataCount(errorMessages, arraySize); in BuildErrorMessages()
222 if (IsValidData(errorMessages[i])) { in BuildErrorMessages()
225 NapiUtil::SetInt32(env, napiErrorMessage, "errorCode", errorMessages[i].errorCode); in BuildErrorMessages()
226 … NapiUtil::SetString(env, napiErrorMessage, "errorMessage", errorMessages[i].errorMessage); in BuildErrorMessages()
243 …essages(env, napiTaskBody, "errorMessages", taskBody.errorMessages, COUNT_OF(taskBody.errorMessage… in BuildTaskBody()
694 BuildErrorMessages(env, napiTaskBody, "errorMessages", taskBody.errorMessages, in BuildTaskBody()
695 COUNT_OF(taskBody.errorMessages)); in BuildTaskBody()
/base/update/update_app/entry/src/main/js/default/pages/index/
Dindex.js134 endReason: eventInfo.taskBody?.errorMessages?.[0]?.errorCode?.toString()
301 endReason: eventInfo.taskBody?.errorMessages?.[0]?.errorCode?.toString()
/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts730 errorMessages: Array<ErrorMessage>; property