Lines Matching defs:InputChannel
13 // Log debug messages whenever InputChannel objects are created/destroyed
97 // --- InputChannel ---
99 InputChannel::InputChannel(const String8& name, int fd) :
111 InputChannel::~InputChannel() {
120 status_t InputChannel::openInputChannelPair(const String8& name,
121 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) {
140 outServerChannel = new InputChannel(serverChannelName, sockets[0]);
144 outClientChannel = new InputChannel(clientChannelName, sockets[1]);
148 status_t InputChannel::sendMessage(const InputMessage* msg) {
184 status_t InputChannel::receiveMessage(InputMessage* msg) {
224 sp<InputChannel> InputChannel::dup() const {
226 return fd >= 0 ? new InputChannel(getName(), fd) : NULL;
232 InputPublisher::InputPublisher(const sp<InputChannel>& channel) :
370 InputConsumer::InputConsumer(const sp<InputChannel>& channel) :