Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/support_library/
DConfigManager.cpp39 const Json::Value& parentNode, in readChildNodeAsFloat()
45 Json::Value childNode = parentNode[childName]; in readChildNodeAsFloat()
64 Json::CharReaderBuilder builder; in initialize()
67 Json::Value rootNode; in initialize()
68 bool parseOk = Json::parseFromStream(builder, configStream, &rootNode, &errorMessage); in initialize()
80 Json::Value car = rootNode["car"]; in initialize()
96 Json::Value displayNode = rootNode["display"]; in initialize()
110 Json::Value graphicNode = rootNode["graphic"]; in initialize()
125 Json::Value cameraArray = rootNode["cameras"]; in initialize()
134 Json::Value nameNode = node.get("cameraId", "MISSING"); in initialize()
[all …]
/packages/services/Car/cpp/evs/apps/default/
DConfigManager.cpp35 const Json::Value& parentNode, in readChildNodeAsFloat()
41 Json::Value childNode = parentNode[childName]; in readChildNodeAsFloat()
60 Json::CharReaderBuilder builder; in initialize()
63 Json::Value rootNode; in initialize()
64 bool parseOk = Json::parseFromStream(builder, configStream, &rootNode, &errorMessage); in initialize()
76 Json::Value car = rootNode["car"]; in initialize()
92 Json::Value displayArray = rootNode["displays"]; in initialize()
115 Json::Value graphicNode = rootNode["graphic"]; in initialize()
130 Json::Value cameraArray = rootNode["cameras"]; in initialize()
139 Json::Value nameNode = node.get("cameraId", "MISSING"); in initialize()
[all …]
/packages/modules/Virtualization/microdroid/signature/
Dmk_payload.cc105 Result<void> ParseJson(const Json::Value& value, std::string& s) { in ParseJson()
114 Result<void> ParseJson(const Json::Value& value, std::optional<T>& s) { in ParseJson()
123 Result<void> ParseJson(const Json::Value& value, ApexConfig& apex_config) { in ParseJson()
131 Result<void> ParseJson(const Json::Value& value, ApkConfig& apk_config) { in ParseJson()
138 Result<void> ParseJson(const Json::Value& values, std::vector<T>& parsed) { in ParseJson()
139 for (const Json::Value& value : values) { in ParseJson()
147 Result<void> ParseJson(const Json::Value& value, Config& config) { in ParseJson()
156 Json::CharReaderBuilder builder; in LoadConfig()
157 Json::Value root; in LoadConfig()
158 Json::String errs; in LoadConfig()
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py29 class Json(object): class
32 return Json(json.load(file))
37 return Json(item)
50 return Json.wrapIfNeeded(self.doc.get(attr))
58 return Json.wrapIfNeeded(self.doc.__next__())
220 source_json = Json.load(open(args.source_file))
/packages/modules/Gki/
Dbuild_gki_apex_manifest.cpp54 int WriteApexManifest(const std::string& apex_name, Json::UInt64 apex_version, in WriteApexManifest()
56 Json::Value root; in WriteApexManifest()
60 Json::StreamWriterBuilder factory; in WriteApexManifest()
61 std::string json_string = Json::writeString(factory, root); in WriteApexManifest()