Searched refs:sensorInfoEntry (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/drivers/peripheral/sensor/hal/src/ |
H A D | sensor_controller.c | 51 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 D | sensor_dump.c | 61 …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 D | sensor_manager.c | 35 .sensorInfoEntry = NULL, in GetSensorDevManager()
|
/ohos5.0/drivers/peripheral/sensor/hal/include/ |
H A D | sensor_manager.h | 45 struct SensorInformation *sensorInfoEntry; member
|