Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/libperfmgr/tools/
DConfigVerifier.cc33 std::string json_doc; in VerifyNodes() local
35 if (!android::base::ReadFileToString(config_path, &json_doc)) { in VerifyNodes()
40 std::vector<std::unique_ptr<Node>> nodes = ParseNodes(json_doc); in VerifyNodes()
/hardware/google/pixel/thermal/utils/
Dconfig_parser.cpp140 std::string json_doc; in ParseSensorInfo() local
142 if (!android::base::ReadFileToString(config_path.data(), &json_doc)) { in ParseSensorInfo()
152 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseSensorInfo()
684 std::string json_doc; in ParseCoolingDevice() local
686 if (!android::base::ReadFileToString(config_path.data(), &json_doc)) { in ParseCoolingDevice()
696 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseCoolingDevice()
770 std::string json_doc; in ParsePowerRailInfo() local
772 if (!android::base::ReadFileToString(config_path.data(), &json_doc)) { in ParsePowerRailInfo()
782 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParsePowerRailInfo()
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h130 const std::string& json_doc);
132 const std::string &json_doc, const std::vector<std::unique_ptr<Node>> &nodes);