Home
last modified time | relevance | path

Searched refs:BitTube (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/libs/gui/
DBitTube.cpp37 BitTube::BitTube(size_t bufsize) { in BitTube() function in android::gui::BitTube
41 BitTube::BitTube(DefaultSizeType) : BitTube(DEFAULT_SOCKET_BUFFER_SIZE) {} in BitTube() function in android::gui::BitTube
43 BitTube::BitTube(const Parcel& data) { in BitTube() function in android::gui::BitTube
47 void BitTube::init(size_t rcvbuf, size_t sndbuf) { in init()
66 status_t BitTube::initCheck() const { in initCheck()
73 int BitTube::getFd() const { in getFd()
77 int BitTube::getSendFd() const { in getSendFd()
81 base::unique_fd BitTube::moveReceiveFd() { in moveReceiveFd()
85 void BitTube::setReceiveFd(base::unique_fd&& receiveFd) { in setReceiveFd()
89 ssize_t BitTube::write(void const* vaddr, size_t size) { in write()
[all …]
DDisplayEventReceiver.cpp41 mDataChannel = std::make_unique<gui::BitTube>(); in DisplayEventReceiver()
88 ssize_t DisplayEventReceiver::getEvents(gui::BitTube* dataChannel, in getEvents()
91 return gui::BitTube::recvObjects(dataChannel, events, count); in getEvents()
94 ssize_t DisplayEventReceiver::sendEvents(gui::BitTube* dataChannel, in sendEvents()
97 return gui::BitTube::sendObjects(dataChannel, events, count); in sendEvents()
DIDisplayEventConnection.cpp41 status_t stealReceiveChannel(gui::BitTube* outChannel) override { in stealReceiveChannel()
DAndroid.bp44 "BitTube.cpp",
/frameworks/native/libs/sensor/
DBitTube.cpp36 BitTube::BitTube() in BitTube() function in android::BitTube
42 BitTube::BitTube(size_t bufsize) in BitTube() function in android::BitTube
48 BitTube::BitTube(const Parcel& data) in BitTube() function in android::BitTube
59 BitTube::~BitTube() in ~BitTube()
68 void BitTube::init(size_t rcvbuf, size_t sndbuf) { in init()
87 status_t BitTube::initCheck() const in initCheck()
95 int BitTube::getFd() const in getFd()
100 int BitTube::getSendFd() const in getSendFd()
105 ssize_t BitTube::write(void const* vaddr, size_t size) in write()
116 ssize_t BitTube::read(void* vaddr, size_t size) in read()
[all …]
DISensorEventConnection.cpp53 virtual sp<BitTube> getSensorChannel() const in getSensorChannel()
58 return new BitTube(reply); in getSensorChannel()
127 sp<BitTube> channel(getSensorChannel()); in onTransact()
DSensorEventQueue.cpp61 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, in write()
63 return BitTube::sendObjects(tube, events, numEvents); in write()
68 ssize_t err = BitTube::recvObjects(mSensorChannel, in read()
DAndroid.bp28 "BitTube.cpp",
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h29 class BitTube : public Parcelable {
32 BitTube() = default;
35 explicit BitTube(size_t bufsize);
40 explicit BitTube(DefaultSizeType);
42 explicit BitTube(const Parcel& data);
44 virtual ~BitTube() = default;
63 static ssize_t sendObjects(BitTube* tube, T const* events, size_t count) { in sendObjects()
70 static ssize_t recvObjects(BitTube* tube, T* events, size_t count) { in recvObjects()
91 static ssize_t sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize);
93 static ssize_t recvObjects(BitTube* tube, void* events, size_t count, size_t objSize);
/frameworks/native/libs/sensor/include/sensor/
DBitTube.h29 class BitTube : public RefBase
34 BitTube();
37 explicit BitTube(size_t bufsize);
39 explicit BitTube(const Parcel& data);
40 virtual ~BitTube();
53 static ssize_t sendObjects(const sp<BitTube>& tube, in sendObjects()
61 static ssize_t recvObjects(const sp<BitTube>& tube, in recvObjects()
82 static ssize_t sendObjects(const sp<BitTube>& tube,
85 static ssize_t recvObjects(const sp<BitTube>& tube,
DISensorEventConnection.h31 class BitTube; variable
39 virtual sp<BitTube> getSensorChannel() const = 0;
DSensorEventQueue.h74 static ssize_t write(const sp<BitTube>& tube,
106 sp<BitTube> mSensorChannel;
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h39 class BitTube; variable
125 static ssize_t getEvents(gui::BitTube* dataChannel, Event* events, size_t count);
131 static ssize_t sendEvents(gui::BitTube* dataChannel, Event const* events, size_t count);
149 std::unique_ptr<gui::BitTube> mDataChannel;
DIDisplayEventConnection.h29 class BitTube; variable
41 virtual status_t stealReceiveChannel(gui::BitTube* outChannel) = 0;
/frameworks/native/services/sensorservice/
DSensorDirectConnection.h35 class BitTube; variable
60 virtual sp<BitTube> getSensorChannel() const;
DSensorEventConnection.h76 virtual sp<BitTube> getSensorChannel() const;
142 sp<BitTube> mChannel;
DSensorDirectConnection.cpp67 sp<BitTube> SensorService::SensorDirectConnection::getSensorChannel() const { in getSensorChannel()
DSensorEventConnection.cpp38 mChannel = new BitTube(mService->mSocketBufferSize); in SensorEventConnection()
597 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const in getSensorChannel()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.h78 status_t stealReceiveChannel(gui::BitTube* outChannel) override;
91 gui::BitTube mChannel;
DMessageQueue.h120 gui::BitTube mEventTube;
DEventThread.cpp119 mChannel(gui::BitTube::DefaultSize) {} in EventThreadConnection()
131 status_t EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp32 MOCK_METHOD1(stealReceiveChannel, status_t(gui::BitTube* outChannel));