Home
last modified time | relevance | path

Searched refs:ifsConf (Results 1 - 4 of 4) sorted by relevance

/base/powermgr/battery_manager/charger/src/
H A Dbattery_config.cpp70 std::ifstream ifsConf; in ParseConfig() local
71 if (!OpenFile(ifsConf, path)) { in ParseConfig()
79 if (parseFromStream(readerBuilder, ifsConf, &config_, &errs) && !config_.empty()) { in ParseConfig()
82 ifsConf.close(); in ParseConfig()
115 bool BatteryConfig::OpenFile(std::ifstream& ifsConf, const std::string& configPath) in OpenFile() argument
119 ifsConf.open(configPath); in OpenFile()
120 isOpen = ifsConf.is_open(); in OpenFile()
127 ifsConf.open(VENDOR_BATTERY_CONFIG_PATH); in OpenFile()
128 isOpen = ifsConf.is_open(); in OpenFile()
135 ifsConf in OpenFile()
[all...]
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_config.cpp73 std::ifstream ifsConf; in ParseConfig() local
75 RETURN_IF_WITH_RET(!OpenFile(ifsConf, path), false); in ParseConfig()
81 if (parseFromStream(readerBuilder, ifsConf, &config_, &errs) && !config_.empty()) { in ParseConfig()
84 ifsConf.close(); in ParseConfig()
110 bool BatteryConfig::OpenFile(std::ifstream& ifsConf, const std::string& configPath) in OpenFile() argument
114 ifsConf.open(configPath); in OpenFile()
115 isOpen = ifsConf.is_open(); in OpenFile()
120 ifsConf.open(VENDOR_BATTERY_CONFIG_PATH); in OpenFile()
121 isOpen = ifsConf.is_open(); in OpenFile()
125 ifsConf in OpenFile()
[all...]
/base/powermgr/battery_manager/charger/include/
H A Dbattery_config.h46 bool OpenFile(std::ifstream& ifsConf, const std::string& configPath);
/base/powermgr/battery_manager/services/native/include/
H A Dbattery_config.h52 bool OpenFile(std::ifstream& ifsConf, const std::string& configPath);

Completed in 1 milliseconds