Searched refs:config_path (Results 1 – 10 of 10) sorted by relevance
/hardware/google/pixel/power-libperfmgr/libperfmgr/tools/ |
D | ConfigVerifier.cc | 32 static bool VerifyNodes(const std::string& config_path) { in VerifyNodes() argument 35 if (!android::base::ReadFileToString(config_path, &json_doc)) { in VerifyNodes() 36 LOG(ERROR) << "Failed to read JSON config from " << config_path; in VerifyNodes() 42 LOG(ERROR) << "Failed to parse Nodes section from " << config_path; in VerifyNodes() 111 std::string config_path; in main() local 135 config_path = optarg; in main() 158 if (config_path.empty()) { in main() 165 execConfig(config_path, hint_name, hint_duration); in main() 169 if (android::perfmgr::NodeVerifier::VerifyNodes(config_path)) { in main()
|
/hardware/nxp/secure_element/snxxx/libese-teq1/nxp-ese/utils/ |
D | ese_config.cpp | 48 string config_path = findConfigPath(); in EseConfig() local 49 CHECK(config_path != ""); in EseConfig() 50 config_.parseFromFile(config_path); in EseConfig()
|
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/ |
D | ese_config.cpp | 49 string config_path = findConfigPath(); in EseConfig() local 50 CHECK(config_path != ""); in EseConfig() 51 config_.parseFromFile(config_path); in EseConfig()
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | ese_config.cc | 51 string config_path = findConfigPath(); in EseConfig() local 52 CHECK(config_path != ""); in EseConfig() 53 config_.parseFromFile(config_path); in EseConfig()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | HintManager.cc | 316 std::string config_path = "/vendor/etc/"; in Reload() local 318 config_path = "/data/vendor/etc/"; in Reload() 319 LOG(WARNING) << "Pixel Power HAL AIDL Service is using debug config from: " << config_path; in Reload() 321 config_path.append(GetProperty(kConfigProperty.data(), kConfigDefaultFileName.data())); in Reload() 324 << config_path; in Reload() 326 HintManager::GetFromJSON(config_path, start); in Reload() 328 LOG(FATAL) << "Invalid config: " << config_path; in Reload() 355 HintManager *HintManager::GetFromJSON(const std::string &config_path, bool start) { in GetFromJSON() argument 358 if (!android::base::ReadFileToString(config_path, &json_doc)) { in GetFromJSON() 359 LOG(ERROR) << "Failed to read JSON config from " << config_path; in GetFromJSON() [all …]
|
/hardware/google/pixel/thermal/utils/ |
D | thermal_info.h | 266 bool LoadThermalConfig(std::string_view config_path, Json::Value *config); 267 bool ParseThermalConfig(std::string_view config_path, Json::Value *config,
|
D | thermal_info.cpp | 203 bool LoadThermalConfig(std::string_view config_path, Json::Value *config) { in LoadThermalConfig() argument 205 if (!::android::base::ReadFileToString(config_path.data(), &json_doc)) { in LoadThermalConfig() 206 LOG(ERROR) << "Failed to read JSON config from " << config_path; in LoadThermalConfig() 244 bool ParseThermalConfig(std::string_view config_path, Json::Value *config, in ParseThermalConfig() argument 246 if (loaded_config_paths->count(config_path.data())) { in ParseThermalConfig() 247 LOG(ERROR) << "Circular dependency detected in config " << config_path; in ParseThermalConfig() 251 if (!LoadThermalConfig(config_path, config)) { in ParseThermalConfig() 252 LOG(ERROR) << "Failed to read JSON config at " << config_path; in ParseThermalConfig() 256 loaded_config_paths->insert(config_path.data()); in ParseThermalConfig()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | HintManager.h | 150 static HintManager *GetFromJSON(const std::string &config_path, bool start = true);
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedCameraProviderHWLImpl.cpp | 753 for (const auto& config_path : config_file_locations) { in Initialize() local 754 if (!android::base::ReadFileToString(config_path, &config)) { in Initialize() 756 config_path.c_str()); in Initialize()
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.cpp | 176 const std::string config_path = in ThermalHelperImpl() local 184 if (!ParseThermalConfig(config_path, &config, &loaded_config_paths)) { in ThermalHelperImpl()
|