Home
last modified time | relevance | path

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

/foundation/CastEngine/castengine_cast_framework/service/src/device_manager/src/
H A Dcast_device_data_manager.cpp61 json extraJson = json::parse(dmDeviceInfo.extraData, nullptr, false); in AddDevice() local
62 if (extraJson.is_discarded()) { in AddDevice()
65 } else if (extraJson.contains(PARAM_KEY_BLE_MAC) && extraJson[PARAM_KEY_BLE_MAC].is_string()) { in AddDevice()
67 } else if (extraJson.contains(PARAM_KEY_WIFI_IP) && extraJson[PARAM_KEY_WIFI_IP].is_string()) { in AddDevice()
/foundation/distributedhardware/device_manager/services/softbuscache/src/
H A Ddm_softbus_cache.cpp276 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local
277 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertNodeBasicInfoToDmDevice()
278 extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
279 devInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dsoftbus_listener.cpp730 nlohmann::json extraJson; in ConvertScreenStatusToDmDevice() local
731 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertScreenStatusToDmDevice()
732 extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertScreenStatusToDmDevice()
733 extraJson[DEVICE_SCREEN_STATUS] = devScreenStatus; in ConvertScreenStatusToDmDevice()
734 devInfo.extraData = to_string(extraJson); in ConvertScreenStatusToDmDevice()
757 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local
758 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertNodeBasicInfoToDmDevice()
759 extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
760 devInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_connector.cpp812 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local
814 extraJson = nlohmann::json::parse(extraData, nullptr, false); in ConvertNodeBasicInfoToDmDevice()
816 if (!extraJson.is_discarded()) { in ConvertNodeBasicInfoToDmDevice()
817 extraJson[PARAM_KEY_OS_TYPE] = nodeBasicInfo.osType; in ConvertNodeBasicInfoToDmDevice()
818 extraJson[PARAM_KEY_OS_VERSION] = std::string(nodeBasicInfo.osVersion); in ConvertNodeBasicInfoToDmDevice()
819 dmDeviceInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/
H A Ddevice_manager_impl.cpp681 nlohmann::json extraJson = nlohmann::json::parse(extra, nullptr, false); in AuthenticateDevice() local
682 if (extraJson.is_discarded()) { in AuthenticateDevice()
687 extraJson[TOKENID] = std::to_string(OHOS::IPCSkeleton::GetSelfTokenID()); in AuthenticateDevice()
692 req->SetExtra(extraJson.dump()); in AuthenticateDevice()

Completed in 9 milliseconds