Searched refs:SensorEventQueue (Results 1 – 6 of 6) sorted by relevance
24 SensorEventQueue::SensorEventQueue(int capacity) { in SensorEventQueue() function in SensorEventQueue33 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()
33 class SensorEventQueue {41 SensorEventQueue(int capacity);42 ~SensorEventQueue();
134 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()
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()
88 sp<SensorEventQueue> mSensorEventQueue;
91 android::sp<android::SensorEventQueue> mSensorEventQueue;