Searched refs:SensorEventQueue (Results 1 – 5 of 5) sorted by relevance
26 SensorEventQueue::SensorEventQueue(int capacity) { in SensorEventQueue() function in SensorEventQueue35 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()
33 class SensorEventQueue {41 explicit SensorEventQueue(int capacity);42 ~SensorEventQueue();
6 "SensorEventQueue.cpp",28 "SensorEventQueue.cpp",
134 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()
16 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()