Home
last modified time | relevance | path

Searched refs:internalQueue (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp40 auto internalQueue = mQueue.promote(); in handleEvent() local
41 if (internalQueue == nullptr) { in handleEvent()
45 while ((actual = internalQueue->read(&event, 1 /* count */)) > 0) { in handleEvent()
46 internalQueue->sendAck(&event, actual); in handleEvent()
62 sp<::android::SensorEventQueue> internalQueue) in EventQueue() argument
64 mInternalQueue(internalQueue) { in EventQueue()
66 mLooper->addFd(internalQueue->getFd(), ALOOPER_POLL_CALLBACK, ALOOPER_EVENT_INPUT, in EventQueue()
67 new EventQueueLooperCallback(internalQueue, callback), NULL /* data */); in EventQueue()
DSensorManager.cpp220 sp<::android::SensorEventQueue> internalQueue = getInternalManager().createEventQueue(package); in createEventQueue() local
221 if (internalQueue == nullptr) { in createEventQueue()
227 sp<IEventQueue> queue = new EventQueue(callback, looper, internalQueue); in createEventQueue()
DEventQueue.h44 sp<::android::SensorEventQueue> internalQueue);