Lines Matching refs:InputChannel
326 std::unique_ptr<InputChannel> InputChannel::create(const std::string& name, in create()
335 return std::unique_ptr<InputChannel>(new InputChannel(name, std::move(fd), token)); in create()
338 std::unique_ptr<InputChannel> InputChannel::create( in create()
340 return InputChannel::create(parceledChannel.name, parceledChannel.fd.release(), in create()
344 InputChannel::InputChannel(const std::string name, android::base::unique_fd fd, sp<IBinder> token) { in InputChannel() function in android::InputChannel
352 InputChannel::~InputChannel() { in ~InputChannel()
357 status_t InputChannel::openInputChannelPair(const std::string& name, in openInputChannelPair()
358 std::unique_ptr<InputChannel>& outServerChannel, in openInputChannelPair()
359 std::unique_ptr<InputChannel>& outClientChannel) { in openInputChannelPair()
380 outServerChannel = InputChannel::create(serverChannelName, std::move(serverFd), token); in openInputChannelPair()
384 outClientChannel = InputChannel::create(clientChannelName, std::move(clientFd), token); in openInputChannelPair()
388 status_t InputChannel::sendMessage(const InputMessage* msg) { in sendMessage()
427 status_t InputChannel::receiveMessage(InputMessage* msg) { in receiveMessage()
470 bool InputChannel::probablyHasInput() const { in probablyHasInput()
486 void InputChannel::waitForMessage(std::chrono::milliseconds timeout) const { in waitForMessage()
502 std::unique_ptr<InputChannel> InputChannel::dup() const { in dup()
504 return InputChannel::create(getName(), std::move(newFd), getConnectionToken()); in dup()
507 void InputChannel::copyTo(android::os::InputChannelCore& outChannel) const { in copyTo()
513 void InputChannel::moveChannel(std::unique_ptr<InputChannel> from, in moveChannel()
520 sp<IBinder> InputChannel::getConnectionToken() const { in getConnectionToken()
526 InputPublisher::InputPublisher(const std::shared_ptr<InputChannel>& channel) in InputPublisher()