Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_simulation_node.cpp151 char speedPath[MAX_PATH] = {0}; in AddFanSensorNode() local
168 ret = snprintf_s(speedPath, MAX_PATH, sizeof(speedPath) - ARG_1, "%s/%s", nodePath, "speed"); in AddFanSensorNode()
172 CreateNodeFile(static_cast<std::string>(speedPath)); in AddFanSensorNode()
174 WriteFile(speedPath, speed, speed.length()); in AddFanSensorNode()