Home
last modified time | relevance | path

Searched refs:BitTube (Results 1 – 24 of 24) 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 void BitTube::setSendFd(base::unique_fd&& sendFd) { in setSendFd()
[all …]
DDisplayEventReceiver.cpp49 mDataChannel = std::make_unique<gui::BitTube>(); in DisplayEventReceiver()
115 ssize_t DisplayEventReceiver::getEvents(gui::BitTube* dataChannel, in getEvents()
118 return gui::BitTube::recvObjects(dataChannel, events, count); in getEvents()
125 ssize_t DisplayEventReceiver::sendEvents(gui::BitTube* dataChannel, in sendEvents()
128 return gui::BitTube::sendObjects(dataChannel, events, count); in sendEvents()
DAndroid.bp255 "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.bp50 "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;
66 static ssize_t sendObjects(BitTube* tube, T const* events, size_t count) { in sendObjects()
73 static ssize_t recvObjects(BitTube* tube, T* events, size_t count) { 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/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/sensor/fuzz/bittube_fuzzer/
Dbittube_fuzzer.cpp27 sp<BitTube> bittube(new BitTube(size)); in LLVMFuzzerTestOneInput()
30 sp<BitTube> tube(new BitTube(size)); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h48 class BitTube; variable
163 static ssize_t getEvents(gui::BitTube* dataChannel, Event* events, size_t count);
170 static ssize_t sendEvents(gui::BitTube* dataChannel, Event const* events, size_t count);
193 std::unique_ptr<gui::BitTube> mDataChannel;
/frameworks/native/libs/gui/aidl/android/gui/
DIDisplayEventConnection.aidl19 import android.gui.BitTube;
30 void stealReceiveChannel(out BitTube outChannel); in stealReceiveChannel()
DBitTube.aidl19 parcelable BitTube cpp_header "private/gui/BitTube.h" rust_type "gui_aidl_types_rs::BitTube";
/frameworks/native/services/sensorservice/
DSensorDirectConnection.h36 class BitTube; variable
62 virtual sp<BitTube> getSensorChannel() const;
DSensorEventConnection.h80 virtual sp<BitTube> getSensorChannel() const;
150 sp<BitTube> mChannel;
DSensorDirectConnection.cpp93 sp<BitTube> SensorService::SensorDirectConnection::getSensorChannel() const { in getSensorChannel()
DSensorEventConnection.cpp49 mChannel = new BitTube(mService->mSocketBufferSize); in SensorEventConnection()
678 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const in getSensorChannel()
/frameworks/native/libs/gui/rust/aidl_types/src/
Dlib.rs44 stub_unstructured_parcelable!(BitTube);
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.h77 binder::Status stealReceiveChannel(gui::BitTube* outChannel) override;
94 gui::BitTube mChannel GUARDED_BY(mLock);
DEventThread.cpp199 mChannel(gui::BitTube::DefaultSize) {} in EventThreadConnection()
211 binder::Status EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel()
/frameworks/native/libs/gui/aidl/
DAndroid.bp30 "android/gui/BitTube.aidl",
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp73 MOCK_METHOD1(stealReceiveChannel, binder::Status(gui::BitTube* outChannel));