Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/
DSensorEventQueue.cpp26 SensorEventQueue::SensorEventQueue(int capacity) { in SensorEventQueue() function in SensorEventQueue
35 SensorEventQueue::~SensorEventQueue() { in ~SensorEventQueue()
41 int SensorEventQueue::getWritableRegion(int requestedLength, sensors_event_t** out) { in getWritableRegion()
63 void SensorEventQueue::markAsWritten(int count) { in markAsWritten()
67 int SensorEventQueue::getSize() { in getSize()
71 sensors_event_t* SensorEventQueue::peek() { in peek()
76 void SensorEventQueue::dequeue() { in dequeue()
86 bool SensorEventQueue::waitForSpace(pthread_mutex_t* mutex) { in waitForSpace()
DSensorEventQueue.h33 class SensorEventQueue {
41 explicit SensorEventQueue(int capacity);
42 ~SensorEventQueue();
DAndroid.bp6 "SensorEventQueue.cpp",
28 "SensorEventQueue.cpp",
Dmultihal.cpp134 SensorEventQueue* queue;
141 SensorEventQueue* queue = ctx->queue; in writerTask()
209 std::vector<SensorEventQueue*> queues;
225 SensorEventQueue *queue = new SensorEventQueue(SENSOR_EVENT_QUEUE_CAPACITY); in addSubHwDevice()
371 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()