Searched refs:config_path (Results 1 – 5 of 5) sorted by relevance
33 static bool VerifyNodes(const std::string& config_path) { in VerifyNodes() argument36 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() local137 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()
69 string config_path = findConfigPath(); in loadConfig() local70 CHECK(config_path != ""); in loadConfig()71 config_.parseFromFile(config_path); in loadConfig()
106 const std::string& config_path) { in GetFromJSON() argument109 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()
65 const std::string& config_path);
121 auto config_path = unsquash_dir.GetPath().Append(kUpdateEngineConf); in GetUpdateEngineConfig() local123 if (!utils::ReadFile(config_path.value(), &config_content)) { in GetUpdateEngineConfig()124 PLOG(ERROR) << "Failed to read " << config_path.value(); in GetUpdateEngineConfig()