Home
last modified time | relevance | path

Searched refs:SensorEventQueue (Results 1 – 6 of 6) sorted by relevance

/hardware/libhardware/modules/sensors/
DSensorEventQueue.cpp24 SensorEventQueue::SensorEventQueue(int capacity) { in SensorEventQueue() function in SensorEventQueue
33 SensorEventQueue::~SensorEventQueue() { in ~SensorEventQueue()
39 int SensorEventQueue::getWritableRegion(int requestedLength, sensors_event_t** out) { in getWritableRegion()
61 void SensorEventQueue::markAsWritten(int count) { in markAsWritten()
65 int SensorEventQueue::getSize() { in getSize()
69 sensors_event_t* SensorEventQueue::peek() { in peek()
74 void SensorEventQueue::dequeue() { in dequeue()
84 bool SensorEventQueue::waitForSpace(pthread_mutex_t* mutex) { in waitForSpace()
DSensorEventQueue.h33 class SensorEventQueue {
41 SensorEventQueue(int capacity);
42 ~SensorEventQueue();
Dmultihal.cpp134 SensorEventQueue* queue;
141 SensorEventQueue* queue = ctx->queue; in writerTask()
199 std::vector<SensorEventQueue*> queues;
214 SensorEventQueue *queue = new SensorEventQueue(SENSOR_EVENT_QUEUE_CAPACITY); in addSubHwDevice()
340 SensorEventQueue* queue = this->queues.at(this->nextReadIndex); in poll()
/hardware/libhardware/modules/sensors/tests/
DSensorEventQueue_test.cpp16 bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) { in checkWritableBufferSize()
26 bool checkSize(SensorEventQueue* queue, int expected) { in checkSize()
45 SensorEventQueue* queue = new SensorEventQueue(10); in testSimpleWriteSizeCounts()
67 SensorEventQueue* queue = new SensorEventQueue(10); in testWrappingWriteSizeCounts()
95 SensorEventQueue* queue;
106 SensorEventQueue* queue = ctx->queue; in fullQueueWriterTask()
145 SensorEventQueue* queue = ctx->queue; in fullQueueReaderTask()
167 SensorEventQueue* queue = new SensorEventQueue(FULL_QUEUE_CAPACITY); in testFullQueueIo()
/hardware/ti/omap4xxx/camera/inc/
DSensorListener.h88 sp<SensorEventQueue> mSensorEventQueue;
/hardware/ti/omap4-aah/camera/inc/
DSensorListener.h91 android::sp<android::SensorEventQueue> mSensorEventQueue;