Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/dsoftbus_input_audio/
H A Ddsoftbus_input_audio_plugin.cpp244 cJSON *resMsg = cJSON_Parse(message.c_str()); in OnStreamReceived() local
245 if (resMsg == nullptr) { in OnStreamReceived()
249 if (!IsUInt32(resMsg, AVT_DATA_META_TYPE)) { in OnStreamReceived()
251 cJSON_Delete(resMsg); in OnStreamReceived()
254 cJSON *typeItem = cJSON_GetObjectItem(resMsg, AVT_DATA_META_TYPE.c_str()); in OnStreamReceived()
256 cJSON_Delete(resMsg); in OnStreamReceived()
260 auto buffer = CreateBuffer(metaType, data, resMsg); in OnStreamReceived()
262 cJSON_Delete(resMsg); in OnStreamReceived()
266 const StreamData *data, const cJSON *resMsg) in CreateBuffer() argument
280 cJSON *paramItem = cJSON_GetObjectItem(resMsg, AVT_DATA_PARAM.c_str()); in CreateBuffer()
H A Ddsoftbus_input_audio_plugin.h76 …d::shared_ptr<Buffer> CreateBuffer(uint32_t metaType, const StreamData *data, const cJSON *resMsg);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/dsoftbus_input/
H A Ddsoftbus_input_plugin.cpp259 cJSON *resMsg = cJSON_Parse(message.c_str()); in OnStreamReceived() local
260 if (resMsg == nullptr) { in OnStreamReceived()
264 if (!IsUInt32(resMsg, AVT_DATA_META_TYPE)) { in OnStreamReceived()
266 cJSON_Delete(resMsg); in OnStreamReceived()
269 cJSON *typeItem = cJSON_GetObjectItem(resMsg, AVT_DATA_META_TYPE.c_str()); in OnStreamReceived()
271 cJSON_Delete(resMsg); in OnStreamReceived()
275 auto buffer = CreateBuffer(metaType, data, resMsg); in OnStreamReceived()
279 cJSON_Delete(resMsg); in OnStreamReceived()
283 const StreamData *data, const cJSON *resMsg) in CreateBuffer() argument
300 cJSON *paramItem = cJSON_GetObjectItem(resMsg, AVT_DATA_PARAM.c_str()); in CreateBuffer()
H A Ddsoftbus_input_plugin.h82 …d::shared_ptr<Buffer> CreateBuffer(uint32_t metaType, const StreamData *data, const cJSON *resMsg);
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
H A Ddfx_dump_catcher.cpp463 std::string resMsg; in DoDumpRemotePoll() local
484 resMsg.append("Result: poll timeout.\n"); in DoDumpRemotePoll()
495 resMsg.append("Result: poll error, errno(" + std::to_string(errno) + ")\n"); in DoDumpRemotePoll()
505 resMsg.append("Result: poll timeout.\n"); in DoDumpRemotePoll()
519 resMsg.append("Result: poll events error.\n"); in DoDumpRemotePoll()
533 resRet = DoReadRes(resFd, res, resMsg); in DoDumpRemotePoll()
546 resMsg.append("Result: poll timeout.\n"); in DoDumpRemotePoll()
552 DFXLOG_INFO("%s :: %s :: %s", DFXDUMPCATCHER_TAG.c_str(), __func__, resMsg.c_str()); in DoDumpRemotePoll()
553 msg = isJson && res ? bufMsg : (resMsg + bufMsg); in DoDumpRemotePoll()
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_test_tool.cpp3326 std::string resMsg; in GetResMsg() local
3330 resMsg += quickFixMsgMap.at(code); in GetResMsg()
3332 resMsg += MSG_ERR_BUNDLEMANAGER_QUICK_FIX_UNKOWN; in GetResMsg()
3335 resMsg += quickFixRes->ToString() + "\n"; in GetResMsg()
3337 return resMsg; in GetResMsg()