Searched refs:ASensorEvent (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorEventQueue.h | 32 struct ASensorEvent; 74 ASensorEvent const* events, size_t numEvents); 76 ssize_t read(ASensorEvent* events, size_t numEvents); 92 void sendAck(const ASensorEvent* events, int count); 94 status_t injectSensorEvent(const ASensorEvent& event); 101 ASensorEvent* mRecBuffer;
|
/frameworks/native/libs/sensor/ |
D | SensorEventQueue.cpp | 42 mRecBuffer = new ASensorEvent[MAX_RECEIVE_BUFFER_EVENT_COUNT]; in SensorEventQueue() 61 ASensorEvent const* events, size_t numEvents) { in write() 65 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read() 76 memcpy(events, mRecBuffer + mConsumed, count * sizeof(ASensorEvent)); in read() 155 status_t SensorEventQueue::injectSensorEvent(const ASensorEvent& event) { in injectSensorEvent() 172 void SensorEventQueue::sendAck(const ASensorEvent* events, int count) { in sendAck()
|
/frameworks/native/include/android/ |
D | sensor.h | 262 typedef struct ASensorEvent { struct 294 } ASensorEvent; argument 572 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count);
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ASensorEventQueue.cpp | 82 ssize_t ASensorEventQueue::getEvents(ASensorEvent *events, size_t count) { in getEvents() 88 sizeof(ASensorEvent) == sizeof(sensors_event_t), "mismatched size"); in getEvents()
|
D | ASensorEventQueue.h | 55 ssize_t getEvents(ASensorEvent *events, size_t count);
|
D | ASensorManager.cpp | 340 ASensorEventQueue* queue, ASensorEvent* events, size_t count) { in ASensorEventQueue_getEvents()
|
/frameworks/native/services/sensorservice/hidl/ |
D | utils.h | 33 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent &event);
|
D | EventQueue.cpp | 37 ASensorEvent event; in handleEvent()
|
D | utils.cpp | 77 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent& src) { in convertEvent()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 141 if (size < sizeof(ASensorEvent)) { in ASensorManager_createSharedMemoryDirectChannel() 167 if (size < sizeof(ASensorEvent)) { in ASensorManager_createHardwareBufferDirectChannel() 270 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count) { in ASensorEventQueue_getEvents()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 33 ASensorEvent buffer[8]; in receiver()
|
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 330 reinterpret_cast<ASensorEvent const*>(scratch), count); in sendEvents() 385 ASensorEvent flushCompleteEvent; in sendPendingFlushEventsLocked() 439 reinterpret_cast<ASensorEvent const*>(mEventCache + numEventsSent), in writeToSocketFromCache()
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 338 ASensorEvent buffer[16]; in handleEvent() 473 ASensorEvent sensor_event; in nativeInjectSensorData()
|