Home
last modified time | relevance | path

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

/system/extras/libperfmgr/
DHintManager.cc107 std::string json_doc; in GetFromJSON() local
109 if (!android::base::ReadFileToString(config_path, &json_doc)) { in GetFromJSON()
114 std::vector<std::unique_ptr<Node>> nodes = ParseNodes(json_doc); in GetFromJSON()
120 HintManager::ParseActions(json_doc, nodes); in GetFromJSON()
136 const std::string& json_doc) { in ParseNodes() argument
144 if (!reader.parse(json_doc, root)) { in ParseNodes()
281 const std::string& json_doc, in ParseActions() argument
288 if (!reader.parse(json_doc, root)) { in ParseActions()
/system/extras/libperfmgr/tools/
DConfigVerifier.cc34 std::string json_doc; in VerifyNodes() local
36 if (!android::base::ReadFileToString(config_path, &json_doc)) { in VerifyNodes()
41 std::vector<std::unique_ptr<Node>> nodes = ParseNodes(json_doc); in VerifyNodes()
/system/extras/libperfmgr/include/perfmgr/
DHintManager.h75 const std::string& json_doc);
77 const std::string& json_doc,
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp120 std::string json_doc; in ReadDescriptorsFromFile() local
122 if (!android::base::ReadFileToString(file_name, &json_doc)) { in ReadDescriptorsFromFile()
129 if (!reader.parse(json_doc, root)) { in ReadDescriptorsFromFile()
/system/core/libprocessgroup/
Dtask_profiles.cpp317 std::string json_doc; in Load() local
319 if (!android::base::ReadFileToString(file_name, &json_doc)) { in Load()
326 if (!reader.parse(json_doc, root)) { in Load()