Home
last modified time | relevance | path

Searched refs:resMsg (Results 1 - 5 of 5) sorted by relevance

/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()
246 AVTRANS_LOGE("The resMsg parse failed."); 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()
265 CreateBuffer(uint32_t metaType, const StreamData *data, const cJSON *resMsg) CreateBuffer() argument
[all...]
H A Ddsoftbus_input_audio_plugin.h76 std::shared_ptr<Buffer> CreateBuffer(uint32_t metaType, const StreamData *data, const cJSON *resMsg);
/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()
261 AVTRANS_LOGE("The resMsg parse failed."); 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()
282 CreateBuffer(uint32_t metaType, const StreamData *data, const cJSON *resMsg) CreateBuffer() argument
[all...]
H A Ddsoftbus_input_plugin.h82 std::shared_ptr<Buffer> CreateBuffer(uint32_t metaType, const StreamData *data, const cJSON *resMsg);
/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_test_tool.cpp3376 std::string resMsg; in GetResMsg() local
3380 resMsg += quickFixMsgMap.at(code); in GetResMsg()
3382 resMsg += MSG_ERR_BUNDLEMANAGER_QUICK_FIX_UNKOWN; in GetResMsg()
3385 resMsg += quickFixRes->ToString() + "\n"; in GetResMsg()
3387 return resMsg; in GetResMsg()

Completed in 9 milliseconds