Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/sensor/hal/src/
H A Dsensor_controller.c51 if (manager->sensorInfoEntry != NULL) { in ReleaseAllSensorInfo()
53 manager->sensorInfoEntry = NULL; in ReleaseAllSensorInfo()
78 …SetSensorIdBySensorType(manager->sensorInfoEntry[i].sensorTypeId, manager->sensorInfoEntry[i].sens… in SetSensorIdClassification()
80 … manager->sensorInfoEntry[i].maxRange = manager->sensorInfoEntry[i].maxRange * HDI_SENSOR_GRAVITY; in SetSensorIdClassification()
82 … manager->sensorInfoEntry[i].power = manager->sensorInfoEntry[i].power / HDI_SENSOR_UNITS; in SetSensorIdClassification()
100 if (manager->sensorInfoEntry != NULL) { in GetSensorInfoFromReply()
102 manager->sensorInfoEntry = NULL; in GetSensorInfoFromReply()
105 …manager->sensorInfoEntry = (struct SensorInformation *)OsalMemCalloc(sizeof(*manager->sensorInfoEn… in GetSensorInfoFromReply()
106 if (manager->sensorInfoEntry == NULL) { in GetSensorInfoFromReply()
111 pos = manager->sensorInfoEntry; in GetSensorInfoFromReply()
[all …]
H A Dsensor_dump.c61 …if ((sensorList == NULL) || (sensorList->sensorInfoEntry == NULL) || (sensorList->sensorSum == 0))… in SensorShowList()
90 sensorList->sensorInfoEntry[index].sensorName, in SensorShowList()
91 sensorList->sensorInfoEntry[index].sensorId, in SensorShowList()
92 sensorStatus[sensorList->sensorInfoEntry[index].sensorId], in SensorShowList()
93 sensorList->sensorInfoEntry[index].maxRange, in SensorShowList()
94 sensorList->sensorInfoEntry[index].accuracy, in SensorShowList()
95 sensorList->sensorInfoEntry[index].power, in SensorShowList()
96 sensorList->sensorInfoEntry[index].minDelay, in SensorShowList()
97 sensorList->sensorInfoEntry[index].maxDelay, in SensorShowList()
98 sensorList->sensorInfoEntry[index].fifoMaxEventCount); in SensorShowList()
H A Dsensor_manager.c35 .sensorInfoEntry = NULL, in GetSensorDevManager()
/ohos5.0/drivers/peripheral/sensor/hal/include/
H A Dsensor_manager.h45 struct SensorInformation *sensorInfoEntry; member