Searched refs:clientChannel (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp61 sp<InputChannel> serverChannel, clientChannel; local
64 serverChannel, clientChannel);
72 EXPECT_STREQ("channel name (client)", clientChannel->getName().string())
84 EXPECT_EQ(OK, clientChannel->receiveMessage(&clientMsg))
97 EXPECT_EQ(OK, clientChannel->sendMessage(&clientReply))
112 sp<InputChannel> serverChannel, clientChannel; local
115 serverChannel, clientChannel);
121 EXPECT_EQ(WOULD_BLOCK, clientChannel->receiveMessage(&msg))
126 sp<InputChannel> serverChannel, clientChannel; local
129 serverChannel, clientChannel);
142 sp<InputChannel> serverChannel, clientChannel; local
[all...]
H A DInputPublisherAndConsumer_test.cpp33 sp<InputChannel> serverChannel, clientChannel; member in class:android::InputPublisherAndConsumerTest
40 serverChannel, clientChannel);
43 mConsumer = new InputConsumer(clientChannel);
58 clientChannel.clear();
67 EXPECT_EQ(clientChannel.get(), mConsumer->getChannel().get());
/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.cpp128 sp<InputChannel> clientChannel; local
129 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel);
150 new NativeInputChannel(clientChannel));

Completed in 205 milliseconds