Searched refs:typePath (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
H A D | thermal_simulation_node.cpp | 150 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 D | thermal_sensor_provision.cpp | 116 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 D | thermal_sensor_provision.h | 30 char typePath[PATH_MAX]; member
|
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/include/ |
H A D | thermal_zone_manager.h | 35 char typePath[PATH_MAX]; member
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage.c | 484 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 D | hdi_service_test.cpp | 614 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 D | power_supply_provider.cpp | 366 std::string typePath = path_ + "/" + typeNode + "/" + "type"; in GetPluggedTypeName() local 367 ret = ReadSysfsFile(typePath.c_str(), buf, size); in GetPluggedTypeName()
|