/frameworks/native/libs/gui/ |
D | BitTube.cpp | 37 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 …]
|
D | DisplayEventReceiver.cpp | 41 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()
|
D | IDisplayEventConnection.cpp | 41 status_t stealReceiveChannel(gui::BitTube* outChannel) override { in stealReceiveChannel()
|
D | Android.bp | 44 "BitTube.cpp",
|
/frameworks/native/libs/sensor/ |
D | BitTube.cpp | 36 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 …]
|
D | ISensorEventConnection.cpp | 53 virtual sp<BitTube> getSensorChannel() const in getSensorChannel() 58 return new BitTube(reply); in getSensorChannel() 127 sp<BitTube> channel(getSensorChannel()); in onTransact()
|
D | SensorEventQueue.cpp | 61 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()
|
D | Android.bp | 28 "BitTube.cpp",
|
/frameworks/native/libs/gui/include/private/gui/ |
D | BitTube.h | 29 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/ |
D | BitTube.h | 29 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,
|
D | ISensorEventConnection.h | 31 class BitTube; variable 39 virtual sp<BitTube> getSensorChannel() const = 0;
|
D | SensorEventQueue.h | 74 static ssize_t write(const sp<BitTube>& tube, 106 sp<BitTube> mSensorChannel;
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventReceiver.h | 39 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;
|
D | IDisplayEventConnection.h | 29 class BitTube; variable 41 virtual status_t stealReceiveChannel(gui::BitTube* outChannel) = 0;
|
/frameworks/native/services/sensorservice/ |
D | SensorDirectConnection.h | 35 class BitTube; variable 60 virtual sp<BitTube> getSensorChannel() const;
|
D | SensorEventConnection.h | 76 virtual sp<BitTube> getSensorChannel() const; 142 sp<BitTube> mChannel;
|
D | SensorDirectConnection.cpp | 67 sp<BitTube> SensorService::SensorDirectConnection::getSensorChannel() const { in getSensorChannel()
|
D | SensorEventConnection.cpp | 38 mChannel = new BitTube(mService->mSocketBufferSize); in SensorEventConnection() 597 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const in getSensorChannel()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.h | 78 status_t stealReceiveChannel(gui::BitTube* outChannel) override; 91 gui::BitTube mChannel;
|
D | MessageQueue.h | 120 gui::BitTube mEventTube;
|
D | EventThread.cpp | 119 mChannel(gui::BitTube::DefaultSize) {} in EventThreadConnection() 131 status_t EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerTest.cpp | 32 MOCK_METHOD1(stealReceiveChannel, status_t(gui::BitTube* outChannel));
|