Lines Matching defs:PowerSupplyProvider
48 PowerSupplyProvider::PowerSupplyProvider()
54 inline int32_t PowerSupplyProvider::ParseInt(const char* str)
59 inline void PowerSupplyProvider::Trim(char* str)
68 int32_t PowerSupplyProvider::ChargeStateEnumConverter(const char* str)
88 void PowerSupplyProvider::FormatPath(
104 void PowerSupplyProvider::FormatSysfsPaths()
115 int32_t PowerSupplyProvider::ReadSysfsFile(const char* path, char* buf, size_t size) const
131 int32_t PowerSupplyProvider::ReadBatterySysfsToBuff(const char* path, char* buf, size_t size) const
142 void PowerSupplyProvider::CreateFile(const std::string& path, const std::string& content)
157 void PowerSupplyProvider::InitBatteryPath()
174 int32_t PowerSupplyProvider::InitPowerSupplySysfs()
213 void PowerSupplyProvider::TraversalNode()
244 void PowerSupplyProvider::CheckSubfolderNode(const std::string& path)
283 int32_t PowerSupplyProvider::ParseCapacity(int32_t* capacity) const
298 int32_t PowerSupplyProvider::ParseTemperature(int32_t* temperature) const
312 int32_t PowerSupplyProvider::ParseChargeState(int32_t* chargeState) const
325 void PowerSupplyProvider::CreateMockTechPath(std::string& mockTechPath)
333 void PowerSupplyProvider::CreateMockChargerPath(std::string& mockChargerPath)
344 void PowerSupplyProvider::CreateMockBatteryPath(std::string& mockBatteryPath)
352 void PowerSupplyProvider::InitDefaultSysfs()