/hardware/libhardware/modules/sensors/ |
SensorEventQueue.h | 37 sensors_event_t* mData; 51 int getWritableRegion(int requestedLength, sensors_event_t** out); 65 sensors_event_t* peek();
|
/frameworks/native/services/sensorservice/ |
RecentEventLogger.h | 39 void addEvent(const sensors_event_t& event); 40 bool populateLastEvent(sensors_event_t *event) const; 49 SensorEventLog(const sensors_event_t& e); 51 sensors_event_t mEvent;
|
OrientationSensor.h | 37 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
RotationVectorSensor.h | 38 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override; 62 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
CorrectedGyroSensor.h | 39 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
GravitySensor.h | 39 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
LinearAccelerationSensor.h | 38 virtual bool process(sensors_event_t* outEvent, 39 const sensors_event_t& event);
|
SensorInterface.h | 34 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) = 0; 82 virtual bool process(sensors_event_t* outEvent, 83 const sensors_event_t& event);
|
/device/google/contexthub/util/common/ |
ring.h | 32 ssize_t write(const sensors_event_t *ev, size_t size); 33 ssize_t read(sensors_event_t *ev, size_t size); 40 sensors_event_t *mData;
|
ring.cpp | 30 mData((sensors_event_t *)malloc(sizeof(sensors_event_t) * mSize)), 40 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) { 57 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t)); 60 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t)); 72 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { 96 memcpy(ev, &mData[readPos], copy * sizeof(sensors_event_t)); 99 memcpy(&ev[copy], mData, (size - copy) * sizeof(sensors_event_t));
|
/hardware/bsp/intel/peripheral/sensors/mraa/ |
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);
|
AcquisitionThread.cpp | 31 sensors_event_t data; 45 memset(&data, 0, sizeof(sensors_event_t)); 46 data.version = sizeof(sensors_event_t); 64 rc = write(acquisitionThread->getWritePipeFd(), &data, sizeof(sensors_event_t)); 65 if (rc != sizeof(sensors_event_t)) { 164 sensors_event_t data; 172 memset(&data, 0, sizeof(sensors_event_t)); 184 rc = write(getWritePipeFd(), &data, sizeof(sensors_event_t)); 185 if (rc != sizeof(sensors_event_t)) {
|
/hardware/bsp/intel/peripheral/sensors/mraa/sensors/ |
GroveLight.hpp | 24 struct sensors_event_t; 51 int pollEvents(sensors_event_t* data, int count) override;
|
GroveTemperature.hpp | 24 struct sensors_event_t; 51 int pollEvents(sensors_event_t* data, int count) override;
|
LSM303dAccelerometer.hpp | 24 struct sensors_event_t; 57 int pollEvents(sensors_event_t* data, int count) override;
|
LSM303dOrientation.hpp | 24 struct sensors_event_t; 54 int pollEvents(sensors_event_t* data, int count) override;
|
LSM9DS0Accelerometer.hpp | 24 struct sensors_event_t; 53 int pollEvents(sensors_event_t* data, int count) override;
|
MMA7660Accelerometer.hpp | 24 struct sensors_event_t; 59 int pollEvents(sensors_event_t* data, int count) override;
|
MPU9150Accelerometer.hpp | 24 struct sensors_event_t; 56 int pollEvents(sensors_event_t* data, int count) override;
|
ProximityGPIO.hpp | 24 struct sensors_event_t; 51 int pollEvents(sensors_event_t* data, int count) override;
|
/hardware/akm/AK8975_FS/libsensors/ |
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];
|
AdxlSensor.h | 37 sensors_event_t mPendingEvent; 47 virtual int readEvents(sensors_event_t* data, int count);
|
KionixSensor.h | 37 sensors_event_t mPendingEvent; 47 virtual int readEvents(sensors_event_t* data, int count);
|
/hardware/libhardware/tests/hardware/ |
struct-offset.cpp | 70 CHECK_MEMBER_AT(sensors_event_t, version, 0, 0); 71 CHECK_MEMBER_AT(sensors_event_t, sensor, 4, 4); 72 CHECK_MEMBER_AT(sensors_event_t, type, 8, 8); 73 CHECK_MEMBER_AT(sensors_event_t, reserved0, 12, 12); 74 CHECK_MEMBER_AT(sensors_event_t, timestamp, 16, 16); 75 CHECK_MEMBER_AT(sensors_event_t, data, 24, 24); 76 CHECK_MEMBER_AT(sensors_event_t, acceleration, 24, 24); 77 CHECK_MEMBER_AT(sensors_event_t, magnetic, 24, 24); 78 CHECK_MEMBER_AT(sensors_event_t, orientation, 24, 24); 79 CHECK_MEMBER_AT(sensors_event_t, gyro, 24, 24) [all...] |
/hardware/invensense/6515/libsensors_iio/ |
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...] |