Searched refs:json_doc (Results 1 – 5 of 5) sorted by relevance
/system/extras/libperfmgr/ |
D | HintManager.cc | 107 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/ |
D | ConfigVerifier.cc | 34 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/ |
D | HintManager.h | 75 const std::string& json_doc); 77 const std::string& json_doc,
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 120 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/ |
D | task_profiles.cpp | 317 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()
|