Home
last modified time | relevance | path

Searched refs:ASensorEvent (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/include/gui/
DSensorEventQueue.h32 struct ASensorEvent;
62 ASensorEvent const* events, size_t numEvents);
64 ssize_t read(ASensorEvent* events, size_t numEvents);
85 ASensorEvent* mRecBuffer;
/frameworks/native/libs/gui/
DSensorEventQueue.cpp39 mRecBuffer = new ASensorEvent[MAX_RECEIVE_BUFFER_EVENT_COUNT]; in SensorEventQueue()
58 ASensorEvent const* events, size_t numEvents) { in write()
62 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read()
73 memcpy(events, mRecBuffer + mConsumed, count*sizeof(ASensorEvent)); in read()
/frameworks/native/include/android/
Dsensor.h134 typedef struct ASensorEvent { struct
161 } ASensorEvent; argument
252 ASensorEvent* events, size_t count);
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp32 ASensorEvent buffer[8]; in receiver()
/frameworks/base/native/android/
Dsensor.cpp124 ASensorEvent* events, size_t count) in ASensorEventQueue_getEvents()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp149 ASensorEvent buffer[16]; in handleEvent()
/frameworks/native/services/sensorservice/
DSensorService.cpp844 ASensorEvent flushCompleteEvent; in sendEvents()
874 reinterpret_cast<ASensorEvent const*>(scratch), count); in sendEvents()