Home
last modified time | relevance | path

Searched refs:SENSOR_TYPE (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c29 #define SENSOR_TYPE(x) ((x) & 0xFF) macro
178 si = eOsSensorFind(SENSOR_TYPE(evt), 0, &sensorHandle); in chreappProcessSensorData()
182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
192 if (SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_INSTANT_MOTION_DETECT in chreappProcessSensorData()
193 || SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_STATIONARY_DETECT) { in chreappProcessSensorData()
Dchre_app.c29 #define SENSOR_TYPE(x) ((x) & 0xFF) macro
178 si = eOsSensorFind(SENSOR_TYPE(evt), 0, &sensorHandle); in chreappProcessSensorData()
182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
192 if (SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_INSTANT_MOTION_DETECT in chreappProcessSensorData()
193 || SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_STATIONARY_DETECT) { in chreappProcessSensorData()
/device/google/trout/hal/sensors/2.1/
DSensorsSubHal.cpp84 #define SENSOR_SUPPORTED(SENSOR_NAME, SENSOR_TYPE) \ in isSensorSupported() argument
85 { .name = SENSOR_NAME, .type = SENSOR_TYPE, } in isSensorSupported()