Home
last modified time | relevance | path

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

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