Home
last modified time | relevance | path

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

/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_interface_test.cpp73 std::string currentPath = "/data/service/el0/battery/current_limit"; in HWTEST_F() local
74 CreateFile(currentPath, ""); in HWTEST_F()
93 std::ifstream fin(currentPath.c_str()); in HWTEST_F()
/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
H A Dbattery_sys_test.cpp102 ASSERT_TRUE(chargerConf.currentPath.size()); in HWTEST_F()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp177 Json::Value currentPath = GetValue(chargerConfig, "current_limit.path"); in ParseChargerConfig() local
178 if (isValidJsonString(currentPath)) { in ParseChargerConfig()
179 chargerConfig_.currentPath = currentPath.asString(); in ParseChargerConfig()
H A Dpower_supply_provider.cpp626 std::string mockCurrentLimitPath = chargerConfig.currentPath; in InitChargerSysfs()
1004 std::string& currentPath, std::string& voltagePath) in SetChargingLimit()
1016 limitPath = currentPath; 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()
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_config.h43 std::string currentPath; member
H A Dpower_supply_provider.h100 std::string& currentPath, std::string& voltagePath);

Completed in 10 milliseconds