Home
last modified time | relevance | path

Searched refs:voltagePath (Results 1 - 7 of 7) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_interface_test.cpp109 std::string voltagePath = "/data/service/el0/battery/voltage_limit"; in HWTEST_F() local
110 CreateFile(voltagePath, ""); in HWTEST_F()
129 std::ifstream fin(voltagePath.c_str()); in HWTEST_F()
/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
H A Dbattery_sys_test.cpp103 ASSERT_TRUE(chargerConf.voltagePath.size()); in HWTEST_F()
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dpower_supply_provider.h100 std::string& currentPath, std::string& voltagePath);
110 std::string voltagePath; member
H A Dbattery_config.h44 std::string voltagePath; member
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp182 Json::Value voltagePath = GetValue(chargerConfig, "voltage_limit.path"); in ParseChargerConfig() local
183 if (isValidJsonString(voltagePath)) { in ParseChargerConfig()
184 chargerConfig_.voltagePath = voltagePath.asString(); in ParseChargerConfig()
H A Dpower_supply_provider.cpp256 FormatPath(batterySysfsInfo_.voltagePath, PATH_MAX, "%s/%s/voltage_now", path_.c_str(), in FormatSysfsPaths()
631 std::string mockVoltageLimitPath = chargerConfig.voltagePath; in InitChargerSysfs()
807 int32_t ret = ReadBatterySysfsToBuff(batterySysfsInfo_.voltagePath.c_str(), buf, sizeof(buf)); in ParseVoltage()
1004 std::string& currentPath, std::string& voltagePath) in SetChargingLimit()
1018 limitPath = voltagePath; in SetChargingLimit()
1003 SetChargingLimit(const std::vector<ChargingLimit>& chargerLimitList, std::string& currentPath, std::string& voltagePath) SetChargingLimit() argument
H A Dbattery_interface_impl.cpp230 return powerSupplyProvider_->SetChargingLimit(chargingLimit, chargerConfig.currentPath, chargerConfig.voltagePath); in SetChargingLimit()

Completed in 9 milliseconds