Searched refs:extraJson (Results 1 – 5 of 5) sorted by relevance
392 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 …]
717 nlohmann::json extraJson; in ConvertScreenStatusToDmDevice() local718 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertScreenStatusToDmDevice()719 … extraJson[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() local739 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertNodeBasicInfoToDmDevice()740 … extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()741 devInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
269 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local270 extraJson[PARAM_KEY_OS_TYPE] = nodeInfo.osType; in ConvertNodeBasicInfoToDmDevice()271 … extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()272 devInfo.extraData = to_string(extraJson); in ConvertNodeBasicInfoToDmDevice()
783 nlohmann::json extraJson; in ConvertNodeBasicInfoToDmDevice() local785 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()
636 auto extraJson = JsonUtil::ParseJsonString(extraInfo); in ParseInnerRect() local637 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()