/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 70 CHECK_MEMBER_AT(sensors_event_t, version, 0, 0); in CheckOffsets() 71 CHECK_MEMBER_AT(sensors_event_t, sensor, 4, 4); in CheckOffsets() 72 CHECK_MEMBER_AT(sensors_event_t, type, 8, 8); in CheckOffsets() 73 CHECK_MEMBER_AT(sensors_event_t, reserved0, 12, 12); in CheckOffsets() 74 CHECK_MEMBER_AT(sensors_event_t, timestamp, 16, 16); in CheckOffsets() 75 CHECK_MEMBER_AT(sensors_event_t, data, 24, 24); in CheckOffsets() 76 CHECK_MEMBER_AT(sensors_event_t, acceleration, 24, 24); in CheckOffsets() 77 CHECK_MEMBER_AT(sensors_event_t, magnetic, 24, 24); in CheckOffsets() 78 CHECK_MEMBER_AT(sensors_event_t, orientation, 24, 24); in CheckOffsets() 79 CHECK_MEMBER_AT(sensors_event_t, gyro, 24, 24); in CheckOffsets() [all …]
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.h | 175 typedef int (MPLSensor::*hfunc_t)(sensors_event_t*); 210 virtual int readEvents(sensors_event_t *data, int count); 226 int readAccelEvents(sensors_event_t* data, int count); 234 int readDmpOrientEvents(sensors_event_t* data, int count); 243 int readDmpSignificantMotionEvents(sensors_event_t* data, int count); 245 int significantMotionHandler(sensors_event_t* data); 249 …int readDmpPedometerEvents(sensors_event_t* data, int count, int32_t id, int32_t type, int outputT… 260 int gyroHandler(sensors_event_t *data); 261 int rawGyroHandler(sensors_event_t *data); 262 int accelHandler(sensors_event_t *data); [all …]
|
D | SensorBase.h | 53 struct sensors_event_t; 89 virtual int readEvents(sensors_event_t* data, int count) = 0;
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.h | 176 typedef int (MPLSensor::*hfunc_t)(sensors_event_t*); 195 virtual int readEvents(sensors_event_t *data, int count); 213 int readDmpOrientEvents(sensors_event_t* data, int count); 222 int readDmpSignificantMotionEvents(sensors_event_t* data, int count); 224 int significantMotionHandler(sensors_event_t* data); 228 int readDmpPedometerEvents(sensors_event_t* data, int count, int32_t id, int outputType); 239 int gyroHandler(sensors_event_t *data); 240 int rawGyroHandler(sensors_event_t *data); 241 int accelHandler(sensors_event_t *data); 242 int compassHandler(sensors_event_t *data); [all …]
|
/hardware/bsp/intel/peripheral/sensors/mraa/ |
D | AcquisitionThread.cpp | 31 sensors_event_t data; in acquisitionRoutine() 45 memset(&data, 0, sizeof(sensors_event_t)); in acquisitionRoutine() 46 data.version = sizeof(sensors_event_t); in acquisitionRoutine() 64 rc = write(acquisitionThread->getWritePipeFd(), &data, sizeof(sensors_event_t)); in acquisitionRoutine() 65 if (rc != sizeof(sensors_event_t)) { in acquisitionRoutine() 164 sensors_event_t data; in generateFlushCompleteEvent() 172 memset(&data, 0, sizeof(sensors_event_t)); in generateFlushCompleteEvent() 184 rc = write(getWritePipeFd(), &data, sizeof(sensors_event_t)); in generateFlushCompleteEvent() 185 if (rc != sizeof(sensors_event_t)) { in generateFlushCompleteEvent()
|
D | Sensor.hpp | 29 struct sensors_event_t; 72 virtual int pollEvents(sensors_event_t* data, int count) = 0; 97 virtual bool readOneEvent(sensors_event_t *event);
|
D | SensorsHAL.hpp | 83 int pollEvents(sensors_event_t* data, int count); 97 sensors_event_t *data, int count);
|
/hardware/libhardware/modules/sensors/ |
D | SensorEventQueue.h | 37 sensors_event_t* mData; 51 int getWritableRegion(int requestedLength, sensors_event_t** out); 65 sensors_event_t* peek();
|
D | SensorEventQueue.cpp | 29 mData = new sensors_event_t[mCapacity]; in SensorEventQueue() 39 int SensorEventQueue::getWritableRegion(int requestedLength, sensors_event_t** out) { in getWritableRegion() 69 sensors_event_t* SensorEventQueue::peek() { in peek()
|
D | multihal.cpp | 144 sensors_event_t* buffer; in writerTask() 195 int poll(sensors_event_t* data, int count); 209 void copy_event_remap_handle(sensors_event_t* src, sensors_event_t* dest, int sub_index); 310 void sensors_poll_context_t::copy_event_remap_handle(sensors_event_t* dest, sensors_event_t* src, in copy_event_remap_handle() 312 memcpy(dest, src, sizeof(struct sensors_event_t)); in copy_event_remap_handle() 332 int sensors_poll_context_t::poll(sensors_event_t *data, int maxReads) { in poll() 343 sensors_event_t* event = queue->peek(); in poll() 435 static int device__poll(struct sensors_poll_device_t *dev, sensors_event_t* data, in device__poll()
|
/hardware/akm/AK8975_FS/libsensors/ |
D | AkmSensor.h | 46 virtual int readEvents(sensors_event_t* data, int count); 51 int setAccel(sensors_event_t* data); 58 sensors_event_t mPendingEvents[numSensors];
|
D | KionixSensor.h | 37 sensors_event_t mPendingEvent; 47 virtual int readEvents(sensors_event_t* data, int count);
|
D | AdxlSensor.h | 37 sensors_event_t mPendingEvent; 47 virtual int readEvents(sensors_event_t* data, int count);
|
D | SensorBase.h | 28 struct sensors_event_t; 59 virtual int readEvents(sensors_event_t* data, int count) = 0;
|
D | AkmSensor.cpp | 46 mPendingEvents[Accelerometer].version = sizeof(sensors_event_t); in AkmSensor() 51 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in AkmSensor() 56 mPendingEvents[Orientation ].version = sizeof(sensors_event_t); in AkmSensor() 195 int AkmSensor::readEvents(sensors_event_t* data, int count) in readEvents() 241 int AkmSensor::setAccel(sensors_event_t* data) in setAccel()
|
/hardware/bsp/intel/peripheral/sensors/mraa/sensors/ |
D | GroveLight.hpp | 24 struct sensors_event_t; 51 int pollEvents(sensors_event_t* data, int count) override;
|
D | ProximityGPIO.hpp | 24 struct sensors_event_t; 51 int pollEvents(sensors_event_t* data, int count) override;
|
D | GroveTemperature.hpp | 24 struct sensors_event_t; 51 int pollEvents(sensors_event_t* data, int count) override;
|
D | LSM303dOrientation.hpp | 24 struct sensors_event_t; 54 int pollEvents(sensors_event_t* data, int count) override;
|
D | LSM303dAccelerometer.hpp | 24 struct sensors_event_t; 57 int pollEvents(sensors_event_t* data, int count) override;
|
D | MMA7660Accelerometer.hpp | 24 struct sensors_event_t; 59 int pollEvents(sensors_event_t* data, int count) override;
|
D | LSM9DS0Accelerometer.hpp | 24 struct sensors_event_t; 53 int pollEvents(sensors_event_t* data, int count) override;
|
D | MPU9150Accelerometer.hpp | 24 struct sensors_event_t; 56 int pollEvents(sensors_event_t* data, int count) override;
|
/hardware/libhardware/tests/nusensors/ |
D | nusensors.cpp | 102 sensors_event_t buffer[numEvents]; in main() 132 const sensors_event_t& data = buffer[i]; in main() 134 if (data.version != sizeof(sensors_event_t)) { in main() 136 data.version, sizeof(sensors_event_t)); in main()
|
/hardware/libhardware/include/hardware/ |
D | sensors.h | 1053 typedef struct sensors_event_t { struct 1137 } sensors_event_t; argument 1141 typedef sensors_event_t sensors_meta_data_event_t; 1295 sensors_event_t* data, int count); 1334 sensors_event_t* data, int count); 1374 int (*inject_sensor_data)(struct sensors_poll_device_1 *dev, const sensors_event_t *data);
|