Home
last modified time | relevance | path

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

/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc114 uint8_t sensorId; member
122 bool makeAllPendingRequests(uint8_t sensorId);
123 bool removeAllPassiveRequests(uint8_t sensorId);
131 size_t getSensorMonitorIndex(uint8_t sensorId) { in getSensorMonitorIndex() argument
134 if (gSensorMonitors[i].sensorId == sensorId) { in getSensorMonitorIndex()
153 SensorType getSensorTypeFromSensorId(uint8_t sensorId, uint8_t dataType, in getSensorTypeFromSensorId() argument
161 if (sensorId >= SNS_SMGR_ID_ACCEL_V01 in getSensorTypeFromSensorId()
162 && sensorId < SNS_SMGR_ID_GYRO_V01) { in getSensorTypeFromSensorId()
168 } else if (sensorId >= SNS_SMGR_ID_GYRO_V01 in getSensorTypeFromSensorId()
169 && sensorId < SNS_SMGR_ID_MAG_V01) { in getSensorTypeFromSensorId()
[all …]
/system/chre/platform/slpi/smgr/include/chre/target_platform/
Dplatform_sensor_base.h48 uint8_t sensorId; variable