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()
113 std::string config_path; in main() local
137 config_path = optarg; in main()
160 if (config_path.empty()) { in main()
167 execConfig(config_path, hint_name, hint_duration); in main()
171 if (android::perfmgr::NodeVerifier::VerifyNodes(config_path)) { in main()
/system/nfc/src/adaptation/
Dnfc_config.cc69 string config_path = findConfigPath(); in loadConfig() local
70 CHECK(config_path != ""); in loadConfig()
71 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/update_engine/payload_generator/
Dsquashfs_filesystem.cc121 auto config_path = unsquash_dir.GetPath().Append(kUpdateEngineConf); in GetUpdateEngineConfig() local
123 if (!utils::ReadFile(config_path.value(), &config_content)) { in GetUpdateEngineConfig()
124 PLOG(ERROR) << "Failed to read " << config_path.value(); in GetUpdateEngineConfig()