Lines Matching refs:InputChannel
225 InputChannel::InputChannel(const std::string& name, int fd) : in InputChannel() function in android::InputChannel
235 InputChannel::~InputChannel() { in ~InputChannel()
244 void InputChannel::setFd(int fd) { in setFd()
256 status_t InputChannel::openInputChannelPair(const std::string& name, in openInputChannelPair()
257 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) { in openInputChannelPair()
276 outServerChannel = new InputChannel(serverChannelName, sockets[0]); in openInputChannelPair()
280 outClientChannel = new InputChannel(clientChannelName, sockets[1]); in openInputChannelPair()
284 status_t InputChannel::sendMessage(const InputMessage* msg) { in sendMessage()
322 status_t InputChannel::receiveMessage(InputMessage* msg) { in receiveMessage()
362 sp<InputChannel> InputChannel::dup() const { in dup()
364 return fd >= 0 ? new InputChannel(getName(), fd) : nullptr; in dup()
368 status_t InputChannel::write(Parcel& out) const { in write()
384 status_t InputChannel::read(const Parcel& from) { in read()
398 sp<IBinder> InputChannel::getToken() const { in getToken()
402 void InputChannel::setToken(const sp<IBinder>& token) { in setToken()
411 InputPublisher::InputPublisher(const sp<InputChannel>& channel) : in InputPublisher()
570 InputConsumer::InputConsumer(const sp<InputChannel>& channel) : in InputConsumer()