Home
last modified time | relevance | path

Searched refs:tube (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/sensor/include/sensor/
DBitTube.h53 static ssize_t sendObjects(const sp<BitTube>& tube, in sendObjects() argument
55 return sendObjects(tube, events, count, sizeof(T)); in sendObjects()
61 static ssize_t recvObjects(const sp<BitTube>& tube, in recvObjects() argument
63 return recvObjects(tube, events, count, sizeof(T)); in recvObjects()
82 static ssize_t sendObjects(const sp<BitTube>& tube,
85 static ssize_t recvObjects(const sp<BitTube>& tube,
DSensorEventQueue.h74 static ssize_t write(const sp<BitTube>& tube,
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h66 static ssize_t sendObjects(BitTube* tube, T const* events, size_t count) { in sendObjects() argument
67 return sendObjects(tube, events, count, sizeof(T)); in sendObjects()
73 static ssize_t recvObjects(BitTube* tube, T* events, size_t count) { in recvObjects() argument
74 return recvObjects(tube, events, count, sizeof(T)); in recvObjects()
94 static ssize_t sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize);
96 static ssize_t recvObjects(BitTube* tube, void* events, size_t count, size_t objSize);
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp72 auto& tube = mInjector.tube; in setInjector() local
74 if (const int fd = tube.getFd(); fd >= 0) { in setInjector()
81 if (tube.getFd() < 0) { in setInjector()
82 connection->stealReceiveChannel(&tube); in setInjector()
88 tube.getFd(), 0, Looper::EVENT_INPUT, in setInjector()
190 while ((n = DisplayEventReceiver::getEvents(&mInjector.tube, buffer, 8)) > 0) { in injectorCallback()
DMessageQueue.h124 gui::BitTube tube; member
/frameworks/native/libs/sensor/
DBitTube.cpp143 ssize_t BitTube::sendObjects(const sp<BitTube>& tube, in sendObjects() argument
147 ssize_t size = tube->write(vaddr, count*objSize); in sendObjects()
158 ssize_t BitTube::recvObjects(const sp<BitTube>& tube, in recvObjects() argument
162 ssize_t size = tube->read(vaddr, count*objSize); in recvObjects()
DSensorEventQueue.cpp61 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, in write() argument
63 return BitTube::sendObjects(tube, events, numEvents); in write()
/frameworks/native/libs/gui/
DBitTube.cpp148 ssize_t BitTube::sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize) { in sendObjects() argument
150 ssize_t size = tube->write(vaddr, count * objSize); in sendObjects()
162 ssize_t BitTube::recvObjects(BitTube* tube, void* events, size_t count, size_t objSize) { in recvObjects() argument
164 ssize_t size = tube->read(vaddr, count * objSize); in recvObjects()