Home
last modified time | relevance | path

Searched refs:ReadSysfsFile (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/powermgr/thermal_manager/application/protector/src/
H A Dthermal_sensor_provision.cpp66 int32_t ret = ReadSysfsFile(path, buf, size); in ReadThermalSysfsToBuff()
75 int32_t ThermalSensorProvision::ReadSysfsFile(const char* path, char* buf, size_t size) const in ReadSysfsFile() function in OHOS::PowerMgr::ThermalSensorProvision
/ohos5.0/base/powermgr/thermal_manager/application/protector/include/
H A Dthermal_sensor_provision.h57 int32_t ReadSysfsFile(const char* path, char* buf, size_t size) const;
/ohos5.0/base/powermgr/battery_manager/charger/include/
H A Dpower_supply_provider.h66 int32_t ReadSysfsFile(const char* path, char* buf, size_t size) const;
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dpower_supply_provider.cpp115 int32_t PowerSupplyProvider::ReadSysfsFile(const char* path, char* buf, size_t size) const in ReadSysfsFile() function in OHOS::PowerMgr::PowerSupplyProvider
133 int32_t ret = ReadSysfsFile(path, buf, size); in ReadBatterySysfsToBuff()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp280 int32_t PowerSupplyProvider::ReadSysfsFile(const char* path, char* buf, size_t size) in ReadSysfsFile() function in OHOS::HDI::Battery::V2_0::PowerSupplyProvider
318 int32_t ret = ReadSysfsFile(path, buf, size); in ReadBatterySysfsToBuff()
334 ret = ReadSysfsFile(onlinePath.c_str(), buf, size); in GetPluggedTypeName()
343 ret = ReadSysfsFile(onlinePath.c_str(), buf, size); in GetPluggedTypeName()
367 ret = ReadSysfsFile(typePath.c_str(), buf, size); in GetPluggedTypeName()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dpower_supply_provider.h146 int32_t ReadSysfsFile(const char* path, char* buf, size_t size);
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp567 int32_t ReadSysfsFile(const char* path, char* buf, size_t size) in ReadSysfsFile() function
601 if (ReadSysfsFile(onlinePath.c_str(), buf, MAX_BUFF_SIZE) != HDF_SUCCESS) { in ReadPluggedTypeSysfs()
615 if (ReadSysfsFile(typePath.c_str(), buf, MAX_BUFF_SIZE) != HDF_SUCCESS) { in ReadPluggedTypeSysfs()