Home
last modified time | relevance | path

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

/ohos5.0/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()
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/
H A Dthermal_sensor_provision.cpp116 FormatThermalPaths(tzSysPathInfo_.typePath, sizeof(tzSysPathInfo_.typePath), in FormatThermalSysfsPaths()
194 ret = ReadThermalSysfsToBuff(iter->typePath, bufType, sizeof(bufType)); in ParseThermalZoneInfo()
/ohos5.0/base/powermgr/thermal_manager/application/protector/include/
H A Dthermal_sensor_provision.h30 char typePath[PATH_MAX]; member
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/include/
H A Dthermal_zone_manager.h35 char typePath[PATH_MAX]; member
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage.c484 static int32_t DestroyType(const char *storePath, const char *typePath, uint32_t bakFlag) in DestroyType() argument
491 int32_t ret = GetPath(storePath, typePath, destroyPath, HKS_MAX_FILE_NAME_LEN, bakFlag); in DestroyType()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp614 std::string typePath = SYSTEM_BATTERY_PATH + "/" + node + "/" + "type"; in ReadPluggedTypeSysfs() local
615 if (ReadSysfsFile(typePath.c_str(), buf, MAX_BUFF_SIZE) != HDF_SUCCESS) { in ReadPluggedTypeSysfs()
/ohos5.0/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()