Searched refs:BitTube (Results 1 - 20 of 20) sorted by relevance

/frameworks/native/include/gui/
H A DBitTube.h32 class BitTube : public RefBase class in namespace:android
36 // creates a BitTube with a default (4KB) send buffer
37 BitTube();
39 // creates a BitTube with a a specified send and receive buffer size
40 explicit BitTube(size_t bufsize);
42 explicit BitTube(const Parcel& data);
43 virtual ~BitTube();
56 static ssize_t sendObjects(const sp<BitTube>& tube,
64 static ssize_t recvObjects(const sp<BitTube>& tube,
69 // parcels this BitTube
[all...]
H A DIDisplayEventConnection.h31 class BitTube;
40 * getDataChannel() returns a BitTube where to receive the events from
42 virtual sp<BitTube> getDataChannel() const = 0;
H A DDisplayEventReceiver.h35 class BitTube;
105 static ssize_t getEvents(const sp<BitTube>& dataChannel,
112 static ssize_t sendEvents(const sp<BitTube>& dataChannel,
131 sp<BitTube> mDataChannel;
H A DISensorEventConnection.h31 class BitTube;
38 virtual sp<BitTube> getSensorChannel() const = 0;
H A DSensorEventQueue.h28 #include <gui/BitTube.h>
74 static ssize_t write(const sp<BitTube>& tube,
99 sp<BitTube> mSensorChannel;
/frameworks/native/libs/gui/
H A DBitTube.cpp28 #include <gui/BitTube.h>
38 BitTube::BitTube() function in class:android::BitTube
44 BitTube::BitTube(size_t bufsize) function in class:android::BitTube
50 BitTube::BitTube(const Parcel& data) function in class:android::BitTube
56 ALOGE("BitTube(Parcel): can't dup filedescriptor (%s)",
61 BitTube::~BitTube()
[all...]
H A DDisplayEventReceiver.cpp21 #include <gui/BitTube.h>
85 ssize_t DisplayEventReceiver::getEvents(const sp<BitTube>& dataChannel,
88 return BitTube::recvObjects(dataChannel, events, count);
91 ssize_t DisplayEventReceiver::sendEvents(const sp<BitTube>& dataChannel,
94 return BitTube::sendObjects(dataChannel, events, count);
H A DIDisplayEventConnection.cpp28 #include <gui/BitTube.h>
49 virtual sp<BitTube> getDataChannel() const
54 return new BitTube(reply);
85 sp<BitTube> channel(getDataChannel());
H A DISensorEventConnection.cpp28 #include <gui/BitTube.h>
50 virtual sp<BitTube> getSensorChannel() const
55 return new BitTube(reply);
104 sp<BitTube> channel(getSensorChannel());
H A DSensorEventQueue.cpp30 #include <gui/BitTube.h>
63 ssize_t SensorEventQueue::write(const sp<BitTube>& tube,
65 return BitTube::sendObjects(tube, events, numEvents);
70 ssize_t err = BitTube::recvObjects(mSensorChannel,
H A DAndroid.mk44 BitTube.cpp \
H A DISurfaceComposer.cpp28 #include <gui/BitTube.h>
/frameworks/native/services/sensorservice/
H A DSensorEventConnection.h35 #include <gui/BitTube.h>
72 virtual sp<BitTube> getSensorChannel() const;
113 // Add or remove the file descriptor associated with the BitTube to the looper. If mDead is set
124 sp<BitTube> mChannel;
131 // If this flag is set to true, it means that the file descriptor associated with the BitTube
H A DSensorEventConnection.cpp34 mChannel = new BitTube(mService->mSocketBufferSize);
417 // half the size of the socket buffer allocated in BitTube whichever is smaller.
497 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const
/frameworks/native/services/surfaceflinger/
H A DEventThread.h71 virtual sp<BitTube> getDataChannel() const;
75 sp<BitTube> const mChannel;
H A DMessageQueue.h84 sp<BitTube> mEventTube;
H A DEventThread.cpp24 #include <gui/BitTube.h>
388 : count(-1), mEventThread(eventThread), mChannel(new BitTube())
402 sp<BitTube> EventThread::Connection::getDataChannel() const {
H A DMessageQueue.cpp28 #include <gui/BitTube.h>
H A DSurfaceFlinger.cpp41 #include <gui/BitTube.h>
H A DSurfaceFlinger_hwc1.cpp40 #include <gui/BitTube.h>

Completed in 274 milliseconds