Home
last modified time | relevance | path

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

/system/extras/libperfmgr/tools/
DConfigVerifier.cc33 static bool VerifyNodes(const std::string& config_path) { in VerifyNodes() argument
36 if (!android::base::ReadFileToString(config_path, &json_doc)) { in VerifyNodes()
37 LOG(ERROR) << "Failed to read JSON config from " << config_path; in VerifyNodes()
43 LOG(ERROR) << "Failed to parse Nodes section from " << config_path; in VerifyNodes()
125 std::string config_path; in main() local
144 config_path = optarg; in main()
161 if (config_path.empty()) { in main()
168 execConfig(config_path); in main()
172 if (android::perfmgr::NodeVerifier::VerifyNodes(config_path)) { in main()
/system/nfc/src/adaptation/
Dnfc_config.cc48 string config_path = findConfigPath(); in loadConfig() local
49 CHECK(config_path != ""); in loadConfig()
50 config_.parseFromFile(config_path); in loadConfig()
/system/extras/libperfmgr/
DHintManager.cc106 const std::string& config_path) { in GetFromJSON() argument
109 if (!android::base::ReadFileToString(config_path, &json_doc)) { in GetFromJSON()
110 LOG(ERROR) << "Failed to read JSON config from " << config_path; in GetFromJSON()
116 LOG(ERROR) << "Failed to parse Nodes section from " << config_path; in GetFromJSON()
123 LOG(ERROR) << "Failed to parse Actions section from " << config_path; in GetFromJSON()
131 LOG(INFO) << "Initialized HintManager from JSON config: " << config_path; in GetFromJSON()
/system/extras/libperfmgr/include/perfmgr/
DHintManager.h65 const std::string& config_path);
/system/extras/perfprofd/tests/
Dperfprofd_test.cc380 void writeConfigFile(const std::string &config_path, in writeConfigFile() argument
383 FILE *fp = fopen(config_path.c_str(), "w"); in writeConfigFile()