Home
last modified time | relevance | path

Searched refs:typePath (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_simulation_node.cpp150 char typePath[MAX_PATH] = {0}; in AddFanSensorNode() local
160 ret = snprintf_s(typePath, MAX_PATH, sizeof(typePath) - ARG_1, "%s/%s", nodePath, "type"); in AddFanSensorNode()
164 CreateNodeFile(static_cast<std::string>(typePath)); in AddFanSensorNode()
166 WriteFile(typePath, type, type.length()); in AddFanSensorNode()
/drivers/peripheral/thermal/interfaces/hdi_service/include/
H A Dthermal_zone_manager.h35 char typePath[PATH_MAX]; member
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp366 std::string typePath = path_ + "/" + typeNode + "/" + "type"; in GetPluggedTypeName() local
367 ret = ReadSysfsFile(typePath.c_str(), buf, size); in GetPluggedTypeName()
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp613 std::string typePath = SYSTEM_BATTERY_PATH + "/" + node + "/" + "type"; in ReadPluggedTypeSysfs() local
614 if (ReadSysfsFile(typePath.c_str(), buf, MAX_BUFF_SIZE) != HDF_SUCCESS) { in ReadPluggedTypeSysfs()

Completed in 5 milliseconds