Searched refs:deviceInfoStr (Results 1 – 3 of 3) sorted by relevance
804 char *deviceInfoStr = cJSON_PrintUnformatted(deviceInfoJson); in GetDeviceInfoList() local805 if (deviceInfoStr == nullptr) { in GetDeviceInfoList()810 std::string devInfoStr = std::string(deviceInfoStr); in GetDeviceInfoList()812 cJSON_free(deviceInfoStr); in GetDeviceInfoList()
1152 std::string deviceInfoStr = deviceInfos[i]; in GetDmDeviceInfo() local1153 … MEDIA_INFO_LOG("CameraManager::GetDmDeviceInfo deviceInfo: %{public}s", deviceInfoStr.c_str()); in GetDmDeviceInfo()1154 if (!nlohmann::json::accept(deviceInfoStr)) { in GetDmDeviceInfo()1155 …RR_LOG("Failed to verify the deviceInfo format, deviceInfo is: %{public}s", deviceInfoStr.c_str()); in GetDmDeviceInfo()1157 nlohmann::json deviceInfoJson = nlohmann::json::parse(deviceInfoStr); in GetDmDeviceInfo()
1907 std::string deviceInfoStr = deviceInfo.dump(); in GetDmDeviceInfo() local1908 … MEDIA_INFO_LOG("HCameraService::GetDmDeviceInfo deviceInfo:%{public}s", deviceInfoStr.c_str()); in GetDmDeviceInfo()1909 deviceInfos.emplace_back(deviceInfoStr); in GetDmDeviceInfo()