Searched refs:config_path (Results 1 – 9 of 9) 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() 112 std::string config_path; in main() local 136 config_path = optarg; in main() 159 if (config_path.empty()) { in main() 166 execConfig(config_path, hint_name, hint_duration); in main() 170 if (android::perfmgr::NodeVerifier::VerifyNodes(config_path)) { in main()
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | service.cpp | 43 const std::string config_path = in main() local 47 << config_path; in main() 50 std::shared_ptr<HintManager> hm = HintManager::GetFromJSON(config_path, false); in main() 52 LOG(FATAL) << "Invalid config: " << config_path; in main()
|
/hardware/nxp/secure_element/snxxx/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/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/thermal/utils/ |
D | config_parser.h | 131 std::unordered_map<std::string, SensorInfo> ParseSensorInfo(std::string_view config_path); 132 std::unordered_map<std::string, CdevInfo> ParseCoolingDevice(std::string_view config_path); 133 std::unordered_map<std::string, PowerRailInfo> ParsePowerRailInfo(std::string_view config_path);
|
D | config_parser.cpp | 139 std::unordered_map<std::string, SensorInfo> ParseSensorInfo(std::string_view config_path) { in ParseSensorInfo() argument 142 if (!android::base::ReadFileToString(config_path.data(), &json_doc)) { in ParseSensorInfo() 143 LOG(ERROR) << "Failed to read JSON config from " << config_path; in ParseSensorInfo() 683 std::unordered_map<std::string, CdevInfo> ParseCoolingDevice(std::string_view config_path) { in ParseCoolingDevice() argument 686 if (!android::base::ReadFileToString(config_path.data(), &json_doc)) { in ParseCoolingDevice() 687 LOG(ERROR) << "Failed to read JSON config from " << config_path; in ParseCoolingDevice() 769 std::unordered_map<std::string, PowerRailInfo> ParsePowerRailInfo(std::string_view config_path) { in ParsePowerRailInfo() argument 772 if (!android::base::ReadFileToString(config_path.data(), &json_doc)) { in ParsePowerRailInfo() 773 LOG(ERROR) << "Failed to read JSON config from " << config_path; in ParsePowerRailInfo()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | HintManager.h | 114 const std::string& config_path, bool start = true);
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedCameraProviderHWLImpl.cpp | 727 for (const auto& config_path : configurationFileLocation) { in Initialize() local 728 if (!android::base::ReadFileToString(config_path, &config)) { in Initialize() 730 config_path); in Initialize()
|