OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitTube
(Results
1 - 19
of
19
) sorted by null
/frameworks/native/libs/gui/include/private/gui/
BitTube.h
29
class
BitTube
: public Parcelable {
31
// creates an uninitialized
BitTube
(to unparcel into)
32
BitTube
() = default;
34
// creates a
BitTube
with a a specified send and receive buffer size
35
explicit
BitTube
(size_t bufsize);
37
// creates a
BitTube
with a default (4KB) send buffer
40
explicit
BitTube
(DefaultSizeType);
42
explicit
BitTube
(const Parcel& data);
44
virtual ~
BitTube
() = default;
55
// moves the receive file descriptor out of this
BitTube
[
all
...]
/frameworks/native/libs/sensor/include/sensor/
BitTube.h
29
class
BitTube
: public RefBase
33
// creates a
BitTube
with a default (4KB) send buffer
34
BitTube
();
36
// creates a
BitTube
with a a specified send and receive buffer size
37
explicit
BitTube
(size_t bufsize);
39
explicit
BitTube
(const Parcel& data);
40
virtual ~
BitTube
();
53
static ssize_t sendObjects(const sp<
BitTube
>& tube,
61
static ssize_t recvObjects(const sp<
BitTube
>& tube,
66
// parcels this
BitTube
[
all
...]
ISensorEventConnection.h
31
class
BitTube
;
39
virtual sp<
BitTube
> getSensorChannel() const = 0;
SensorEventQueue.h
27
#include <sensor/
BitTube
.h>
73
static ssize_t write(const sp<
BitTube
>& tube,
98
sp<
BitTube
> mSensorChannel;
/frameworks/native/libs/gui/
BitTube.cpp
17
#include <private/gui/
BitTube
.h>
37
BitTube
::
BitTube
(size_t bufsize) {
41
BitTube
::
BitTube
(DefaultSizeType) :
BitTube
(DEFAULT_SOCKET_BUFFER_SIZE) {}
43
BitTube
::
BitTube
(const Parcel& data) {
47
void
BitTube
::init(size_t rcvbuf, size_t sndbuf) {
62
ALOGE("
BitTube
: pipe creation failed (%s)", strerror(errno))
[
all
...]
DisplayEventReceiver.cpp
27
#include <private/gui/
BitTube
.h>
40
mDataChannel = std::make_unique<gui::
BitTube
>();
87
ssize_t DisplayEventReceiver::getEvents(gui::
BitTube
* dataChannel,
90
return gui::
BitTube
::recvObjects(dataChannel, events, count);
93
ssize_t DisplayEventReceiver::sendEvents(gui::
BitTube
* dataChannel,
96
return gui::
BitTube
::sendObjects(dataChannel, events, count);
IDisplayEventConnection.cpp
19
#include <private/gui/
BitTube
.h>
41
status_t stealReceiveChannel(gui::
BitTube
* outChannel) override {
/frameworks/native/libs/sensor/
BitTube.cpp
17
#include <sensor/
BitTube
.h>
36
BitTube
::
BitTube
()
42
BitTube
::
BitTube
(size_t bufsize)
48
BitTube
::
BitTube
(const Parcel& data)
54
ALOGE("
BitTube
(Parcel): can't dup filedescriptor (%s)",
59
BitTube
::~
BitTube
()
[
all
...]
ISensorEventConnection.cpp
29
#include <sensor/
BitTube
.h>
53
virtual sp<
BitTube
> getSensorChannel() const
58
return new
BitTube
(reply);
127
sp<
BitTube
> channel(getSensorChannel());
SensorEventQueue.cpp
28
#include <sensor/
BitTube
.h>
60
ssize_t SensorEventQueue::write(const sp<
BitTube
>& tube,
62
return
BitTube
::sendObjects(tube, events, numEvents);
67
ssize_t err =
BitTube
::recvObjects(mSensorChannel,
/frameworks/native/libs/gui/include/gui/
IDisplayEventConnection.h
29
class
BitTube
;
37
* stealReceiveChannel() returns a
BitTube
to receive events from. Only the receive file
41
virtual status_t stealReceiveChannel(gui::
BitTube
* outChannel) = 0;
DisplayEventReceiver.h
39
class
BitTube
;
116
static ssize_t getEvents(gui::
BitTube
* dataChannel, Event* events, size_t count);
122
static ssize_t sendEvents(gui::
BitTube
* dataChannel, Event const* events, size_t count);
140
std::unique_ptr<gui::
BitTube
> mDataChannel;
/frameworks/native/services/sensorservice/
SensorDirectConnection.h
26
#include <sensor/
BitTube
.h>
35
class
BitTube
;
60
virtual sp<
BitTube
> getSensorChannel() const;
SensorEventConnection.h
35
#include <sensor/
BitTube
.h>
75
virtual sp<
BitTube
> getSensorChannel() const;
119
// Add or remove the file descriptor associated with the
BitTube
to the looper. If mDead is set
130
sp<
BitTube
> mChannel;
137
// If this flag is set to true, it means that the file descriptor associated with the
BitTube
SensorDirectConnection.cpp
67
sp<
BitTube
> SensorService::SensorDirectConnection::getSensorChannel() const {
SensorEventConnection.cpp
37
mChannel = new
BitTube
(mService->mSocketBufferSize);
459
// half the size of the socket buffer allocated in
BitTube
whichever is smaller.
549
sp<
BitTube
> SensorService::SensorEventConnection::getSensorChannel() const
/frameworks/native/services/surfaceflinger/
MessageQueue.h
29
#include <private/gui/
BitTube
.h>
118
gui::
BitTube
mEventTube;
EventThread.h
29
#include <private/gui/
BitTube
.h>
97
status_t stealReceiveChannel(gui::
BitTube
* outChannel) override;
101
gui::
BitTube
mChannel;
EventThread.cpp
379
: count(-1), mEventThread(eventThread), mChannel(gui::
BitTube
::DefaultSize) {}
391
status_t EventThread::Connection::stealReceiveChannel(gui::
BitTube
* outChannel) {
Completed in 3102 milliseconds