Searched refs:msgJson (Results 1 - 5 of 5) sorted by relevance
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | av_trans_message.cpp | 42 cJSON *msgJson = cJSON_CreateObject();
in MarshalMessage() local 43 if (msgJson == nullptr) {
in MarshalMessage() 46 cJSON_AddNumberToObject(msgJson, KEY_TYPE.c_str(), type_);
in MarshalMessage() 47 cJSON_AddStringToObject(msgJson, KEY_CONTENT.c_str(), content_.c_str());
in MarshalMessage() 48 cJSON_AddStringToObject(msgJson, KEY_DST_DEVID.c_str(), dstDevId_.c_str());
in MarshalMessage() 49 char *data = cJSON_PrintUnformatted(msgJson);
in MarshalMessage() 51 cJSON_Delete(msgJson);
in MarshalMessage() 56 cJSON_Delete(msgJson);
in MarshalMessage() 88 bool AVTransMessage::IsUInt32(const cJSON *msgJson, const std::string &key)
in IsUInt32() argument 90 cJSON *keyObj = cJSON_GetObjectItemCaseSensitive(msgJson, ke in IsUInt32() 95 IsString(const cJSON *msgJson, const std::string &key) IsString() argument [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/ |
H A D | av_trans_message.h | 35 bool IsUInt32(const cJSON *msgJson, const std::string &key);
36 bool IsString(const cJSON *msgJson, const std::string &key);
|
/foundation/distributedhardware/device_manager/services/service/include/relationshipsyncmgr/ |
H A D | relationship_sync_mgr.h | 60 bool FromJson(const std::string &msgJson); 67 RelationShipChangeMsg ParseTrustRelationShipChange(const std::string &msgJson);
|
/foundation/distributedhardware/device_manager/services/service/src/relationshipsyncmgr/ |
H A D | relationship_sync_mgr.cpp | 338 bool RelationShipChangeMsg::FromJson(const std::string &msgJson) in FromJson() argument 340 cJSON *msgObj = cJSON_Parse(msgJson.c_str()); in FromJson() 382 RelationShipChangeMsg ReleationShipSyncMgr::ParseTrustRelationShipChange(const std::string &msgJson) in ParseTrustRelationShipChange() argument 385 if (!msgObj.FromJson(msgJson)) { in ParseTrustRelationShipChange()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/daudio_input_test/ |
H A D | daudio_input_test.cpp | 424 cJSON *msgJson = cJSON_CreateObject(); in HWTEST_F() local 425 cJSON_AddStringToObject(msgJson, KEY_TYPE.c_str(), "type_test"); in HWTEST_F() 426 cJSON_AddNumberToObject(msgJson, KEY_CONTENT.c_str(), 1); in HWTEST_F() 427 char* cjson = cJSON_PrintUnformatted(msgJson); in HWTEST_F() 432 cJSON_Delete(msgJson); in HWTEST_F()
|
Completed in 3 milliseconds