Home
last modified time | relevance | path

Searched refs:mSensorInfo (Results 1 – 8 of 8) sorted by relevance

/device/google/trout/hal/sensors/2.0/
DSensor.cpp44 mSensorInfo.type = type; in SensorBase()
45 mSensorInfo.sensorHandle = sensorHandle; in SensorBase()
46 mSensorInfo.vendor = "Google"; in SensorBase()
47 mSensorInfo.version = 1; in SensorBase()
48 mSensorInfo.fifoReservedEventCount = 0; in SensorBase()
49 mSensorInfo.fifoMaxEventCount = 0; in SensorBase()
50 mSensorInfo.requiredPermission = ""; in SensorBase()
51 mSensorInfo.flags = 0; in SensorBase()
55 mSensorInfo.typeAsString = SENSOR_STRING_TYPE_ACCELEROMETER; in SensorBase()
58 mSensorInfo.typeAsString = SENSOR_STRING_TYPE_GYROSCOPE; in SensorBase()
[all …]
DSensor.h93 SensorInfo mSensorInfo; variable
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c145 static const struct SensorInfo mSensorInfo = variable
203 mTask.sensorHandle = sensorRegister(&mSensorInfo, &mSensorOps, NULL, true); in startTask()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c126 static const struct SensorInfo mSensorInfo = variable
210 mTask.sensorHandle = sensorRegister(&mSensorInfo, &mSensorOps, NULL, true); in startTask()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c772 static const struct SensorInfo mSensorInfo[NUM_OF_SENSOR] = variable
1297 … sendCalibrationResult(SENSOR_APP_EVT_STATUS_ERROR, mSensorInfo[idx].sensorType, 0, 0, 0);
1313 … sendCalibrationResult(SENSOR_APP_EVT_STATUS_ERROR, mSensorInfo[idx].sensorType, 0, 0, 0);
1329 … sendCalibrationResult(SENSOR_APP_EVT_STATUS_ERROR, mSensorInfo[idx].sensorType, 0, 0, 0);
1378 mSensorInfo[idx].sensorType,
1685 sendTestResult(SENSOR_APP_EVT_STATUS_ERROR, mSensorInfo[idx].sensorType);
1701 sendTestResult(SENSOR_APP_EVT_STATUS_ERROR, mSensorInfo[idx].sensorType);
1717 sendTestResult(SENSOR_APP_EVT_STATUS_ERROR, mSensorInfo[idx].sensorType);
1806 mSensorInfo[idx].sensorType);
1809 mSensorInfo[idx].sensorType);
[all …]
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c143 static const struct SensorInfo mSensorInfo = variable
226 mTask.sensorHandle = sensorRegister(&mSensorInfo, &mSensorOps, NULL, true); in startTask()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c413 static const struct SensorInfo mSensorInfo = { variable
574 mTask.handle = sensorRegister(&mSensorInfo, &mSensorOps, NULL, false); in startTask()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c756 static const struct SensorInfo mSensorInfo[NUM_OF_SENSOR] = variable
1176 EVENT_TYPE_BIT_DISCARDABLE | sensorGetMyEventType(mSensorInfo[i].sensorType));
2005 mSensorInfo[mSensor->idx].sensorName, rtc_time, cur_time);
2013 mSensorInfo[mSensor->idx].sensorName,
2147 sensorGetMyEventType(mSensorInfo[ACC].sensorType));
2166 flushData(mSensor, sensorGetMyEventType(mSensorInfo[ACC].biasType));
2180 sensorGetMyEventType(mSensorInfo[MAG].sensorType));
2199 if (flushData(mSensor, sensorGetMyEventType(mSensorInfo[MAG].biasType))) {
2250 sensorGetMyEventType(mSensorInfo[GYR].sensorType));
2266 flushData(mSensor, sensorGetMyEventType(mSensorInfo[GYR].biasType));
[all …]