Searched refs:sensor_t (Results 1 – 9 of 9) sorted by relevance
/hardware/invensense/libsensors/ |
D | MPLSensor.h | 69 int populateSensorList(struct sensor_t *list, int len); 130 void fillAccel(unsigned char accel, struct sensor_t *list); 131 void fillCompass(unsigned char compass, struct sensor_t *list); 132 void fillGyro(const char* gyro, struct sensor_t *list); 133 void fillRV(struct sensor_t *list); 134 void fillOrientation(struct sensor_t *list); 135 void fillGravity(struct sensor_t *list); 136 void fillLinearAccel(struct sensor_t *list);
|
D | MPLSensor.cpp | 73 static struct sensor_t sSensorList[] = 1131 int MPLSensor::populateSensorList(struct sensor_t *list, int len) in populateSensorList() 1135 if(len < 7*sizeof(sensor_t)) { in populateSensorList() 1141 memcpy(list, sSensorList, sizeof (struct sensor_t) * 7); in populateSensorList() 1182 memset(list+3, 0, 4*sizeof(struct sensor_t)); in populateSensorList() 1188 void MPLSensor::fillAccel(unsigned char accel, struct sensor_t *list) in fillAccel() 1262 void MPLSensor::fillCompass(unsigned char compass, struct sensor_t *list) in fillCompass() 1315 void MPLSensor::fillGyro(const char* gyro, struct sensor_t *list) in fillGyro() 1331 void MPLSensor::fillRV(struct sensor_t *list) in fillRV() 1341 void MPLSensor::fillOrientation(struct sensor_t *list) in fillOrientation() [all …]
|
/hardware/invensense/libsensors_iio/ |
D | MPLSensor.h | 145 int populateSensorList(struct sensor_t *list, int len); 327 void fillAccel(const char* accel, struct sensor_t *list); 328 void fillGyro(const char* gyro, struct sensor_t *list); 329 void fillRV(struct sensor_t *list); 330 void fillOrientation(struct sensor_t *list); 331 void fillGravity(struct sensor_t *list); 332 void fillLinearAccel(struct sensor_t *list);
|
D | sensors_mpl.cpp | 47 static struct sensor_t sSensorList[LOCAL_SENSORS]; 54 struct sensor_t const** list) in sensors__get_sensors_list()
|
D | MPLSensor.cpp | 87 static struct sensor_t sSensorList[] = 2555 int MPLSensor::populateSensorList(struct sensor_t *list, int len) in populateSensorList() 2561 if(len < (int)((sizeof(sSensorList) / sizeof(sensor_t)) * sizeof(sensor_t))) { in populateSensorList() 2563 return -(sizeof(sSensorList) / sizeof(sensor_t)); in populateSensorList() 2567 memcpy(list, sSensorList, sizeof (struct sensor_t) * (sizeof(sSensorList) / sizeof(sensor_t))); in populateSensorList() 2582 numsensors = (sizeof(sSensorList) / sizeof(sensor_t)); in populateSensorList() 2595 memset(list + 3, 0, 4 * sizeof(struct sensor_t)); in populateSensorList() 2601 void MPLSensor::fillAccel(const char* accel, struct sensor_t *list) in fillAccel() 2649 void MPLSensor::fillGyro(const char* gyro, struct sensor_t *list) in fillGyro() 2691 void MPLSensor::fillRV(struct sensor_t *list) in fillRV() [all …]
|
D | CompassSensor.IIO.9150.h | 58 void fillList(struct sensor_t *list);
|
D | CompassSensor.IIO.9150.cpp | 290 void CompassSensor::fillList(struct sensor_t *list) in fillList()
|
/hardware/libhardware/include/hardware/ |
D | sensors.h | 379 struct sensor_t; 394 struct sensor_t const** list); 397 struct sensor_t { struct
|
/hardware/libhardware/tests/nusensors/ |
D | nusensors.cpp | 78 struct sensor_t const* list; in main()
|