Home
last modified time | relevance | path

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

/ohos5.0/base/security/security_guard/test/unittest/config_manager/src/
H A Dsecurity_guard_config_manager_test.cpp392 EXPECT_FALSE(extraJson.is_discarded());
406 EXPECT_FALSE(extraJson.is_discarded());
420 EXPECT_FALSE(extraJson.is_discarded());
441 EXPECT_FALSE(extraJson.is_discarded());
462 EXPECT_FALSE(extraJson.is_discarded());
482 EXPECT_FALSE(extraJson.is_discarded());
502 EXPECT_FALSE(extraJson.is_discarded());
522 EXPECT_FALSE(extraJson.is_discarded());
542 EXPECT_FALSE(extraJson.is_discarded());
563 EXPECT_FALSE(extraJson.is_discarded());
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dsoftbus_listener.cpp717 nlohmann::json extraJson; in ConvertScreenStatusToDmDevice() local
718 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertScreenStatusToDmDevice()
719extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertScreenStatusToDmDevice()
720 extraJson[DEVICE_SCREEN_STATUS] = devScreenStatus; in ConvertScreenStatusToDmDevice()
721 devInfo.extraData = to_string(extraJson); in ConvertScreenStatusToDmDevice()
738 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local
739 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertNodeBasicInfoToDmDevice()
740extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
741 devInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
/ohos5.0/foundation/distributedhardware/device_manager/services/softbuscache/src/
H A Ddm_softbus_cache.cpp269 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local
270 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertNodeBasicInfoToDmDevice()
271extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
272 devInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_connector.cpp783 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local
785 extraJson = nlohmann::json::parse(extraData, nullptr, false); in ConvertNodeBasicInfoToDmDevice()
787 if (!extraJson.is_discarded()) { in ConvertNodeBasicInfoToDmDevice()
788 extraJson[PARAM_KEY_OS_TYPE] = nodeBasicInfo.osType; in ConvertNodeBasicInfoToDmDevice()
789 extraJson[PARAM_KEY_OS_VERSION] = std::string(nodeBasicInfo.osVersion); in ConvertNodeBasicInfoToDmDevice()
790 dmDeviceInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub.cpp636 auto extraJson = JsonUtil::ParseJsonString(extraInfo); in ParseInnerRect() local
637 CHECK_NULL_RETURN(extraJson, innerRect); in ParseInnerRect()
638 auto extraOffsetX = extraJson->GetInt("drag_offset_x"); in ParseInnerRect()
639 auto extraOffsetY = extraJson->GetInt("drag_offset_y"); in ParseInnerRect()