Searched refs:voltagePath (Results 1 - 7 of 7) sorted by relevance
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/ |
H A D | hdi_interface_test.cpp | 109 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 D | battery_sys_test.cpp | 103 ASSERT_TRUE(chargerConf.voltagePath.size());
in HWTEST_F()
|
/drivers/peripheral/battery/interfaces/hdi_service/include/ |
H A D | power_supply_provider.h | 100 std::string& currentPath, std::string& voltagePath); 110 std::string voltagePath; member
|
H A D | battery_config.h | 44 std::string voltagePath; member
|
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | battery_config.cpp | 182 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 D | power_supply_provider.cpp | 256 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 D | battery_interface_impl.cpp | 230 return powerSupplyProvider_->SetChargingLimit(chargingLimit, chargerConfig.currentPath, chargerConfig.voltagePath); in SetChargingLimit()
|
Completed in 9 milliseconds