/base/hiviewdfx/hilog/services/hilogd/ |
D | log_collector.cpp | 33 void LogCollector::InsertDropInfo(const HilogMsg &msg, int droppedCount) in InsertDropInfo() argument 41 dropMsg->version = msg.version; in InsertDropInfo() 42 dropMsg->type = msg.type; in InsertDropInfo() 43 dropMsg->level = msg.level; in InsertDropInfo() 45 dropMsg->tv_sec = msg.tv_sec; in InsertDropInfo() 46 dropMsg->tv_nsec = msg.tv_nsec; in InsertDropInfo() 47 dropMsg->mono_sec = msg.mono_sec; in InsertDropInfo() 48 dropMsg->pid = msg.pid; in InsertDropInfo() 49 dropMsg->tid = msg.tid; in InsertDropInfo() 50 dropMsg->domain = msg.domain; in InsertDropInfo() [all …]
|
/base/telephony/sms_mms/test/fuzztest/gsmsmsmessage_fuzzer/ |
D | gsmsmsmessage_fuzzer.cpp | 50 GsmSmsMessage msg; in CreateMessageTest() local 51 msg.CreateMessage(pdu); in CreateMessageTest() 52 msg.PduAnalysis(pdu); in CreateMessageTest() 54 msg.AnalysisMsgDeliver(deliver); in CreateMessageTest() 56 msg.AnalysisMsgStatusReport(status); in CreateMessageTest() 58 msg.AnalysisMsgSubmit(submit); in CreateMessageTest() 66 GsmSmsMessage msg; in CalcReplyEncodeAddress() local 68 msg.CalcReplyEncodeAddress(replyAddr); in CalcReplyEncodeAddress() 70 msg.CalcReplyEncodeAddress(replyAddress); in CalcReplyEncodeAddress() 81 msg.ConvertMsgTimeStamp(times); in CalcReplyEncodeAddress() [all …]
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_teleservice_message.cpp | 99 CdmaSmsSubmitMessage::CdmaSmsSubmitMessage(TeleserviceSubmit &msg) in CdmaSmsSubmitMessage() argument 103 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsSubmitMessage() 105 parameter_.push_back(std::make_unique<CdmaSmsUserData>(msg.userData, msg.msgId.headerInd)); in CdmaSmsSubmitMessage() 107 if (msg.deferValPeriod.format == SMS_TIME_RELATIVE) { in CdmaSmsSubmitMessage() 109 … CdmaSmsSubParameter::DEFERRED_DELIVERY_TIME_RELATIVE, msg.deferValPeriod.time.relTime.time)); in CdmaSmsSubmitMessage() 110 } else if (msg.deferValPeriod.format == SMS_TIME_ABSOLUTE) { in CdmaSmsSubmitMessage() 112 CdmaSmsSubParameter::DEFERRED_DELIVERY_TIME_ABSOLUTE, msg.deferValPeriod.time.absTime)); in CdmaSmsSubmitMessage() 115 if (msg.priority <= SmsPriorityIndicator::EMERGENCY) { in CdmaSmsSubmitMessage() 116 parameter_.push_back(std::make_unique<CdmaSmsPriorityInd>(msg.priority)); in CdmaSmsSubmitMessage() 119 if (msg.replyOpt.userAck || msg.replyOpt.dak || msg.replyOpt.readAck || msg.replyOpt.report) { in CdmaSmsSubmitMessage() [all …]
|
D | cdma_sms_transport_message.cpp | 96 …ptr<CdmaSmsTransportMessage> CdmaSmsTransportMessage::CreateTransportMessage(CdmaTransportMsg &msg) in CreateTransportMessage() argument 98 if (msg.type == CdmaTransportMsgType::P2P) { in CreateTransportMessage() 99 return std::make_unique<CdmaSmsP2pMessage>(msg.data.p2p); in CreateTransportMessage() 100 } else if (msg.type == CdmaTransportMsgType::BROADCAST) { in CreateTransportMessage() 101 return std::make_unique<CdmaSmsBroadcastMessage>(msg.data.broadcast); in CreateTransportMessage() 102 } else if (msg.type == CdmaTransportMsgType::ACK) { in CreateTransportMessage() 103 return std::make_unique<CdmaSmsAckMessage>(msg.data.ack); in CreateTransportMessage() 105 …HONY_LOGW("CreateTransportMessage: type [%{public}d] not support", static_cast<uint8_t>(msg.type)); in CreateTransportMessage() 111 CdmaTransportMsg &msg, SmsReadBuffer &pdu) in CreateTransportMessage() argument 124 msg.type = CdmaTransportMsgType::P2P; in CreateTransportMessage() [all …]
|
/base/telephony/sms_mms/test/unittest/ |
D | sms_cb_message_test.cpp | 114 std::shared_ptr<GsmCbCodec> msg = GsmCbCodec::CreateCbMessage(data); in TestMessageBody7Bit() local 115 if (msg == nullptr) { in TestMessageBody7Bit() 118 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBody7Bit() 129 std::shared_ptr<GsmCbCodec> msg = GsmCbCodec::CreateCbMessage(data); in TestMessageBody7BitUmts() local 130 if (msg == nullptr) { in TestMessageBody7BitUmts() 133 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBody7BitUmts() 143 std::shared_ptr<GsmCbCodec> msg = GsmCbCodec::CreateCbMessage(data); in TestMessageBody8Bit() local 144 if (msg == nullptr) { in TestMessageBody8Bit() 147 std::cout << "msginfo: " << msg->ToString() << std::endl; in TestMessageBody8Bit() 157 std::shared_ptr<GsmCbCodec> msg = GsmCbCodec::CreateCbMessage(data); in TestMessageBodyUcs2() local [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/dump_catcher/ |
D | dumpcatcher_interfaces_test.cpp | 152 std::string msg = ""; variable 153 bool ret = dumplog.DumpCatchMultiPid(multiPid, msg); 161 int count = GetKeywordsNum(msg, log, len); 162 EXPECT_EQ(count, len) << msg << "DumpCatcherInterfacesTest001 Failed"; 180 std::string msg = ""; variable 181 bool ret = dumplog.DumpCatchMultiPid(multiPid, msg); 201 std::string msg = ""; variable 202 bool ret = dumplog.DumpCatchMultiPid(multiPid, msg); 223 std::string msg = ""; variable 224 bool ret = dumplog.DumpCatchMultiPid(multiPid, msg); [all …]
|
/base/startup/init/services/param/linux/ |
D | param_service.c | 85 static int SendResponseMsg(ParamTaskPtr worker, const ParamMessage *msg, int result) in SendResponseMsg() argument 88 …response = (ParamResponseMessage *)CreateParamMessage(msg->type, msg->key, sizeof(ParamResponseMes… in SendResponseMsg() 90 response->msg.id.msgId = msg->id.msgId; in SendResponseMsg() 92 response->msg.msgSize = sizeof(ParamResponseMessage); in SendResponseMsg() 94 PARAM_LOGV("Send response msg msgId %d result %d", msg->id.msgId, result); in SendResponseMsg() 103 ParamMessage *msg = (ParamMessage *)CreateParamMessage(MSG_NOTIFY_PARAM, "*", msgSize); in SendWatcherNotifyMessage() local 104 PARAM_CHECK(msg != NULL, return -1, "Failed to create msg "); in SendWatcherNotifyMessage() 110 ret = strncpy_s(msg->key, sizeof(msg->key) - 1, content, tmp - content); in SendWatcherNotifyMessage() 111 PARAM_CHECK(ret == 0, free(msg); in SendWatcherNotifyMessage() 114 ret = FillParamMsgContent(msg, &offset, PARAM_VALUE, tmp, strlen(tmp)); in SendWatcherNotifyMessage() [all …]
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/ |
D | dfx_dump_catcher.cpp | 68 bool DfxDumpCatcher::DoDumpCurrTid(const size_t skipFrameNum, std::string& msg, size_t maxFrameNums… in DoDumpCurrTid() argument 72 ret = GetBacktrace(msg, skipFrameNum + 1, false, maxFrameNums, isJson); in DoDumpCurrTid() 75 msg.append("Failed to dump curr thread:" + std::to_string(currTid) + ".\n"); in DoDumpCurrTid() 81 bool DfxDumpCatcher::DoDumpLocalTid(const int tid, std::string& msg, size_t maxFrameNums, bool isJs… in DoDumpLocalTid() argument 90 ret = GetBacktraceJsonByTid(msg, tid, 0, false, maxFrameNums); in DoDumpLocalTid() 93 ret = GetBacktraceStringByTid(msg, tid, 0, false, maxFrameNums); in DoDumpLocalTid() 97 msg.append("Failed to dump thread:" + std::to_string(tid) + ".\n"); in DoDumpLocalTid() 103 bool DfxDumpCatcher::DoDumpLocalPid(int pid, std::string& msg, size_t maxFrameNums, bool isJson) in DoDumpLocalPid() argument 118 return DoDumpCurrTid(skipFramNum, msg, maxFrameNums, isJson); in DoDumpLocalPid() 120 return DoDumpLocalTid(tid, msg, maxFrameNums, isJson); in DoDumpLocalPid() [all …]
|
/base/telephony/core_service/services/sim/src/ |
D | icc_file_controller.cpp | 125 SimIoRequestInfo msg; in ProcessRecordSize() local 126 msg.command = CONTROLLER_REQ_READ_RECORD; in ProcessRecordSize() 127 msg.fileId = hd->fileId; in ProcessRecordSize() 128 msg.p1 = hd->fileNum; in ProcessRecordSize() 129 msg.p2 = ICC_FILE_CURRENT_MODE; in ProcessRecordSize() 130 msg.p3 = hd->fileSize; in ProcessRecordSize() 131 msg.data = IccFileController::NULLSTR; in ProcessRecordSize() 132 msg.path = path; in ProcessRecordSize() 133 msg.pin2 = ""; in ProcessRecordSize() 134 …telRilManager_->GetSimIO(slotId_, msg, BuildCallerInfo(MSG_SIM_OBTAIN_FIXED_ELEMENTARY_FILE_DONE, … in ProcessRecordSize() [all …]
|
D | ruim_file_controller.cpp | 41 SimIoRequestInfo msg; in ObtainTransparentImg() local 42 msg.command = CONTROLLER_REQ_GET_RESPONSE; in ObtainTransparentImg() 43 msg.fileId = fileId; in ObtainTransparentImg() 44 msg.p1 = 0; in ObtainTransparentImg() 45 msg.p2 = 0; in ObtainTransparentImg() 46 msg.p3 = GET_RESPONSE_ELEMENTARY_FILE_IMG_SIZE_BYTES; in ObtainTransparentImg() 47 msg.data = ""; in ObtainTransparentImg() 48 msg.path = ObtainElementFilePath(ELEMENTARY_FILE_IMG); in ObtainTransparentImg() 49 msg.pin2 = ""; in ObtainTransparentImg() 50 telRilManager_->GetSimIO(slotId_, msg, response); in ObtainTransparentImg()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/include/ |
D | dfx_dump_catcher.h | 46 bool DumpCatch(int pid, int tid, std::string& msg, size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM, 57 bool DumpCatchMix(int pid, int tid, std::string& msg); 69 …bool DumpCatchFd(int pid, int tid, std::string& msg, int fd, size_t maxFrameNums = DEFAULT_MAX_FRA… 79 bool DumpCatchMultiPid(const std::vector<int> pidV, std::string& msg); 82 …bool DoDumpCurrTid(const size_t skipFrameNum, std::string& msg, size_t maxFrameNums, bool isJson =… 83 bool DoDumpLocalTid(const int tid, std::string& msg, size_t maxFrameNums, bool isJson = false); 84 bool DoDumpLocalPid(int pid, std::string& msg, size_t maxFrameNums, bool isJson = false); 85 …bool DoDumpLocalLocked(int pid, int tid, std::string& msg, size_t maxFrameNums, bool isJson = fals… 86 bool DoDumpRemoteLocked(int pid, int tid, std::string& msg, bool isJson = false); 87 bool DoDumpCatchRemote(const int type, int pid, int tid, std::string& msg, bool isJson = false); [all …]
|
/base/telephony/telephony_data/entry/src/main/ets/common/utils/ |
D | LogUtils.ts | 20 d(TAG, msg): void { 21 console.debug("[TelephonyData:]" + TAG + ":" + msg); 24 i(TAG, msg): void { 25 console.info("[TelephonyData:]" + TAG + ":" + msg); 28 w(TAG, msg): void { 29 console.warn("[TelephonyData:]" + TAG + ":" + msg); 32 e(TAG, msg): void { 33 console.error("[TelephonyData:]" + TAG + ":" + msg);
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_data.h | 69 explicit HilogData(const HilogMsg& msg) in HilogData() 70 : len(0), version(msg.version), type(msg.type), level(msg.level), tag_len(msg.tag_len), in HilogData() 71 … tv_sec(msg.tv_sec), tv_nsec(msg.tv_nsec), mono_sec(msg.mono_sec), pid(msg.pid), tid(msg.tid), in HilogData() 72 domain(msg.domain), tag(nullptr), content(nullptr) in HilogData() 74 init(msg.tag, msg.tag_len, CONTENT_PTR((&msg)), CONTENT_LEN((&msg))); in HilogData()
|
/base/update/updater/interfaces/kits/updaterkits/ |
D | updaterkits.cpp | 57 static bool AddPkgPath(struct UpdateMessage &msg, size_t updateOffset, const std::vector<std::strin… in AddPkgPath() argument 60 if (updateOffset > sizeof(msg.update)) { in AddPkgPath() 66 ret = snprintf_s(msg.update + updateOffset, sizeof(msg.update) - updateOffset, in AddPkgPath() 67 sizeof(msg.update) - 1 - updateOffset, "--update_package=%s\n", path.c_str()); in AddPkgPath() 69 ret = snprintf_s(msg.update + updateOffset, sizeof(msg.update) - updateOffset, in AddPkgPath() 70 sizeof(msg.update) - 1 - updateOffset, "%s\n", path.c_str()); in AddPkgPath() 83 struct UpdateMessage msg {}; in RebootAndInstallSdcardPackage() struct 84 … int ret = snprintf_s(msg.update, sizeof(msg.update), sizeof(msg.update) - 1, "--sdcard_update\n"); in RebootAndInstallSdcardPackage() 90 if (packageName.size() != 0 && !AddPkgPath(msg, static_cast<size_t>(ret), packageName)) { in RebootAndInstallSdcardPackage() 94 WriteToMiscAndRebootToUpdater(msg); in RebootAndInstallSdcardPackage()
|
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
D | vsnprintf_s_p.c | 37 #define SECUREC_ERROR_INVALID_PARAMTER(msg) assert( msg "invalid argument" == NULL) argument 38 #define SECUREC_ERROR_INVALID_RANGE(msg) assert( msg "invalid dest buffer size" == NULL) argument 41 #define SECUREC_ERROR_INVALID_PARAMTER(msg) printk( "%s invalid argument\n",msg) argument 42 … #define SECUREC_ERROR_INVALID_RANGE(msg) printk( "%s invalid dest buffer size\n", msg) argument 44 #define SECUREC_ERROR_INVALID_PARAMTER(msg) printf( "%s invalid argument\n",msg) argument 45 … #define SECUREC_ERROR_INVALID_RANGE(msg) printf( "%s invalid dest buffer size\n", msg) argument 48 #define SECUREC_ERROR_INVALID_PARAMTER(msg) LogSecureCRuntimeError(msg " EINVAL\n") argument 49 #define SECUREC_ERROR_INVALID_RANGE(msg) LogSecureCRuntimeError(msg " ERANGE\n") argument 51 #define SECUREC_ERROR_INVALID_PARAMTER(msg) ((void)0) argument 52 #define SECUREC_ERROR_INVALID_RANGE(msg) ((void)0) argument [all …]
|
/base/inputmethod/imf/services/src/ |
D | message.cpp | 36 Message::Message(const Message &msg) in Message() argument 38 msgId_ = msg.msgId_; in Message() 43 MessageParcel *src = msg.msgContent_; in Message() 50 Message &Message::operator=(const Message &msg) in operator =() argument 52 if (this == &msg) { in operator =() 55 msgId_ = msg.msgId_; in operator =() 60 if (msg.msgContent_ != nullptr) { in operator =() 62 msgContent_->ParseFrom(msg.msgContent_->GetData(), msg.msgContent_->GetDataSize()); in operator =()
|
/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/ |
D | log_catcher_utils.cpp | 35 bool GetDump(int pid, std::string& msg) in GetDump() argument 54 msg = tmp->second; in GetDump() 58 void FinshDump(int pid, const std::string& msg) in FinshDump() argument 67 tmp->second = msg; in FinshDump() 77 std::string msg = ""; in DumpStacktrace() local 78 if (!GetDump(pid, msg)) { in DumpStacktrace() 82 msg = "Failed to dump stacktrace for " + std::to_string(pid) + "\n" + ret; in DumpStacktrace() 84 msg = ret; in DumpStacktrace() 86 FinshDump(pid, "\n-repeat-\n" + msg); in DumpStacktrace() 89 if (msg == "") { in DumpStacktrace() [all …]
|
/base/print/print_fwk/services/print_service/src/ |
D | hisys_event_util.cpp | 23 …oid HisysEventUtil::reportBehaviorEvent(std::string name, int behaviorCode, const std::string &msg) in reportBehaviorEvent() argument 32 "MSG", msg); in reportBehaviorEvent() 35 …sysEventUtil::reportFaultEvent(std::string name, int faultCode, std::string scene, std::string msg) in reportFaultEvent() argument 45 "MSG", msg); in reportFaultEvent() 48 void HisysEventUtil::reportPrintSuccess(const std::string &msg) in reportPrintSuccess() argument 50 reportBehaviorEvent("PRINT_SUCCESS", PRINT_SUCCESS, msg); in reportPrintSuccess() 53 void HisysEventUtil::faultPrint(std::string scene, std::string msg) in faultPrint() argument 55 reportFaultEvent("PRINT_EXCEPTION", FAULT_PRINT, scene, msg); in faultPrint()
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | param_checker.c | 38 AuditMsg *msg = (AuditMsg *)data; in SelinuxAuditCallback() local 39 if (!msg->name || !msg->ucred) { in SelinuxAuditCallback() 43 …tf_s(buf, len, len - 1, "parameter=%s pid=%d uid=%u gid=%u", msg->name, msg->ucred->pid, msg->ucre… in SelinuxAuditCallback() 44 msg->ucred->gid) <= 0) { in SelinuxAuditCallback() 68 AuditMsg msg; in CheckPerm() local 69 msg.name = paraName; in CheckPerm() 70 msg.ucred = uc; in CheckPerm() 71 int res = selinux_check_access(srcContext, destContext, "parameter_service", "set", &msg); in CheckPerm()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_hash.c | 66 static int32_t HashCheckParam(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HashCheckParam() argument 72 …HKS_IF_NOT_SUCC_LOGE_RETURN(HksOpensslCheckBlob(msg), HKS_ERROR_INVALID_ARGUMENT, "Invalid param m… in HashCheckParam() 76 int32_t HksOpensslHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HksOpensslHash() argument 78 int32_t ret = HashCheckParam(alg, msg, hash); in HksOpensslHash() 84 ret = EVP_Digest(msg->data, msg->size, hash->data, &hash->size, opensslAlg, NULL); in HksOpensslHash() 119 int32_t HksOpensslHashUpdate(void *cryptoCtx, const struct HksBlob *msg) in HksOpensslHashUpdate() argument 123 HKS_IF_NOT_SUCC_LOGE_RETURN(HksOpensslCheckBlob(msg), in HksOpensslHashUpdate() 126 int32_t ret = EVP_DigestUpdate(cryptoCtx, msg->data, msg->size); in HksOpensslHashUpdate() 134 int32_t HksOpensslHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash) in HksOpensslHashFinal() argument 141 if (msg == NULL) { in HksOpensslHashFinal() [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_hash.c | 97 static int32_t HksMbedtlsHashMd5Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, str… in HksMbedtlsHashMd5Final() argument 105 if (msg->size != 0) { in HksMbedtlsHashMd5Final() 106 ret = mbedtls_md5_update_ret(context, msg->data, msg->size); in HksMbedtlsHashMd5Final() 184 static int32_t HksMbedtlsHashSha1Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, st… in HksMbedtlsHashSha1Final() argument 197 if (msg->size != 0) { in HksMbedtlsHashSha1Final() 198 ret = mbedtls_sha1_update_ret(context, msg->data, msg->size); in HksMbedtlsHashSha1Final() 280 static int32_t HksMbedtlsHashSha256Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, in HksMbedtlsHashSha256Final() argument 294 if (msg->size != 0) { in HksMbedtlsHashSha256Final() 295 ret = mbedtls_sha256_update_ret(context, msg->data, msg->size); in HksMbedtlsHashSha256Final() 379 static int32_t HksMbedtlsHashSha512Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, in HksMbedtlsHashSha512Final() argument [all …]
|
/base/update/updateservice/frameworks/js/napi/session/include/ |
D | napi_session.h | 96 std::string msg = "execute error"; in BuildWorkBusinessErr() local 101 msg = "BusinessError " + std::to_string(workResult_) + ": Caller not system app."; in BuildWorkBusinessErr() 105 …msg = "BusinessError " + std::to_string(workResult_) + ": Permission denied. An attempt was made t… in BuildWorkBusinessErr() 109 … msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": IPC error."; in BuildWorkBusinessErr() 113 … msg = "BusinessError " + std::to_string(workResult_) + ": Capability not supported. " + in BuildWorkBusinessErr() 117 msg = "param error"; in BuildWorkBusinessErr() 120 … msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": Execute fail."; in BuildWorkBusinessErr() 123 … msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": Forbidden execution."; in BuildWorkBusinessErr() 126 … msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": Device info error."; in BuildWorkBusinessErr() 129 … msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": Execute timeout."; in BuildWorkBusinessErr() [all …]
|
/base/startup/init/services/modules/reboot/ |
D | reboot_misc.c | 78 struct RBMiscUpdateMessage msg; in GetRebootReasonFromMisc() local 79 ret = RBMiscReadUpdaterMessage(miscFile, &msg); in GetRebootReasonFromMisc() 81 return strcpy_s(reason, size, msg.command); in GetRebootReasonFromMisc() 92 struct RBMiscUpdateMessage msg; in UpdateMiscMessage() local 93 ret = RBMiscReadUpdaterMessage(miscFile, &msg); in UpdateMiscMessage() 97 ret = snprintf_s(msg.command, MAX_COMMAND_SIZE, MAX_COMMAND_SIZE - 1, "%s", boot); in UpdateMiscMessage() 99 msg.command[MAX_COMMAND_SIZE - 1] = 0; in UpdateMiscMessage() 101 ret = memset_s(msg.command, MAX_COMMAND_SIZE, 0, MAX_COMMAND_SIZE); in UpdateMiscMessage() 108 ret = snprintf_s(msg.update, MAX_UPDATE_SIZE, MAX_UPDATE_SIZE - 1, "%s", p); in UpdateMiscMessage() 110 msg.update[MAX_UPDATE_SIZE - 1] = 0; in UpdateMiscMessage() [all …]
|
/base/telephony/sms_mms/services/sms/include/cdma/ |
D | cdma_sms_transport_message.h | 36 static std::unique_ptr<CdmaSmsTransportMessage> CreateTransportMessage(CdmaTransportMsg &msg); 37 …static std::unique_ptr<CdmaSmsTransportMessage> CreateTransportMessage(CdmaTransportMsg &msg, SmsR… 47 explicit CdmaSmsP2pMessage(CdmaP2PMsg &msg); 48 CdmaSmsP2pMessage(CdmaP2PMsg &msg, SmsReadBuffer &pdu); 53 explicit CdmaSmsBroadcastMessage(CdmaBroadCastMsg &msg); 54 CdmaSmsBroadcastMessage(CdmaBroadCastMsg &msg, SmsReadBuffer &pdu); 59 explicit CdmaSmsAckMessage(CdmaAckMsg &msg); 60 CdmaSmsAckMessage(CdmaAckMsg &msg, SmsReadBuffer &pdu);
|
/base/theme/wallpaper_mgr/utils/dfx/hisysevent_adapter/ |
D | fault_reporter.cpp | 28 ReportStatus FaultReporter::ReportServiceFault(const FaultMsg &msg) in ReportServiceFault() argument 31 …static_cast<int>(msg.faultType), MODULE_NAME, msg.moduleName, ERROR_TYPE, static_cast<int>(msg.err… in ReportServiceFault() 35 ReportStatus FaultReporter::ReportRuntimeFault(const FaultMsg &msg) in ReportRuntimeFault() argument 38 static_cast<int>(msg.faultType), ERROR_TYPE, static_cast<int>(msg.errorCode)); in ReportRuntimeFault()
|