Home
last modified time | relevance | path

Searched refs:ReadBatterySysfsToBuff (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/battery_manager/charger/src/
Dpower_supply_provider.cpp131 int32_t PowerSupplyProvider::ReadBatterySysfsToBuff(const char* path, char* buf, size_t size) const in ReadBatterySysfsToBuff() function in OHOS::PowerMgr::PowerSupplyProvider
287 int32_t ret = ReadBatterySysfsToBuff(batterySysfsInfo_.capacityPath.c_str(), buf, sizeof(buf)); in ParseCapacity()
301 … int32_t ret = ReadBatterySysfsToBuff(batterySysfsInfo_.temperaturePath.c_str(), buf, sizeof(buf)); in ParseTemperature()
315 … int32_t ret = ReadBatterySysfsToBuff(batterySysfsInfo_.chargeStatePath.c_str(), buf, sizeof(buf)); in ParseChargeState()
/base/powermgr/battery_manager/charger/include/
Dpower_supply_provider.h67 int32_t ReadBatterySysfsToBuff(const char* path, char* buf, size_t size) const;