/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();
|
/device/google/contexthub/util/common/ |
ring.cpp | 31 mData((sensors_event_t *)malloc(sizeof(sensors_event_t) * mSize)), 41 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) { 58 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t)); 61 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t)); 73 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { 97 memcpy(ev, &mData[readPos], copy * sizeof(sensors_event_t)); 100 memcpy(&ev[copy], mData, (size - copy) * sizeof(sensors_event_t)); 109 : mData((sensors_event_t *)buf), mSize(size/sizeof(sensors_event_t)), [all...] |
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; 51 void write(const sensors_event_t *ev, size_t size); 53 sensors_event_t *mData;
|
/frameworks/native/services/sensorservice/ |
RecentEventLogger.h | 39 void addEvent(const sensors_event_t& event); 40 bool populateLastEvent(sensors_event_t *event) const; 50 explicit SensorEventLog(const sensors_event_t& e); 52 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);
|
SensorEventConnection.h | 54 status_t sendEvents(sensors_event_t const* buffer, size_t count, sensors_event_t* scratch, 83 void countFlushCompleteEventsLocked(sensors_event_t const* scratch, int numEventsDropped); 89 int findWakeUpSensorEventLocked(sensors_event_t const* scratch, int count); 106 void reAllocateCacheLocked(sensors_event_t const* scratch, int count); 159 sensors_event_t *mEventCache;
|
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);
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
RingBuffer.h | 33 ssize_t write(const sensors_event_t *ev, size_t size); 34 ssize_t read(sensors_event_t *ev, size_t size); 41 sensors_event_t *mData;
|
SensorEventCallback.h | 27 // if timestamp in sensors_event_t has this value, it will be filled at dispatcher. 32 virtual int submitEvent(SP(BaseSensorObject) sensor, const sensors_event_t &e) = 0;
|
BaseSensorObject.cpp | 43 static const sensors_event_t event = { 51 void BaseSensorObject::generateEvent(const sensors_event_t &e) {
|
BaseSensorObject.h | 24 struct sensors_event_t; 58 void generateEvent(const sensors_event_t &e);
|
RingBuffer.cpp | 26 mData((sensors_event_t *)malloc(sizeof(sensors_event_t) * mSize)), 36 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) { 53 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t)); 56 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t)); 68 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { 92 memcpy(ev, &mData[readPos], copy * sizeof(sensors_event_t)); 95 memcpy(&ev[copy], mData, (size - copy) * sizeof(sensors_event_t));
|
/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);
|
SensorBase.h | 28 struct sensors_event_t; 59 virtual int readEvents(sensors_event_t* data, int count) = 0;
|
/hardware/interfaces/sensors/1.0/default/include/sensors/ |
convert.h | 33 void convertFromSensorEvent(const sensors_event_t &src, Event *dst); 34 void convertToSensorEvent(const Event &src, sensors_event_t *dst);
|
/hardware/libhardware/tests/hardware/ |
struct-offset.cpp | 69 CHECK_MEMBER_AT(sensors_event_t, version, 0, 0); 70 CHECK_MEMBER_AT(sensors_event_t, sensor, 4, 4); 71 CHECK_MEMBER_AT(sensors_event_t, type, 8, 8); 72 CHECK_MEMBER_AT(sensors_event_t, reserved0, 12, 12); 73 CHECK_MEMBER_AT(sensors_event_t, timestamp, 16, 16); 74 CHECK_MEMBER_AT(sensors_event_t, data, 24, 24); 75 CHECK_MEMBER_AT(sensors_event_t, acceleration, 24, 24); 76 CHECK_MEMBER_AT(sensors_event_t, magnetic, 24, 24); 77 CHECK_MEMBER_AT(sensors_event_t, orientation, 24, 24); 78 CHECK_MEMBER_AT(sensors_event_t, gyro, 24, 24) [all...] |
/frameworks/native/libs/vr/libvrsensor/include/private/dvr/ |
sensor_client.h | 18 int Poll(sensors_event_t* events, int max_count);
|
/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...] |
/hardware/invensense/65xx/libsensors_iio/ |
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 outputType); 260 int gyroHandler(sensors_event_t *data); 261 int rawGyroHandler(sensors_event_t *data); 262 int accelHandler(sensors_event_t *data) [all...] |