Home
last modified time | relevance | path

Searched refs:serverChannel (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()
70 EXPECT_STREQ("channel name (server)", serverChannel->getName().string()) in TEST_F()
80 EXPECT_EQ(OK, serverChannel->sendMessage(&serverMsg)) in TEST_F()
101 EXPECT_EQ(OK, serverChannel->receiveMessage(&serverReply)) in TEST_F()
112 sp<InputChannel> serverChannel, clientChannel; in TEST_F() local
115 serverChannel, clientChannel); in TEST_F()
126 sp<InputChannel> serverChannel, clientChannel; in TEST_F() local
129 serverChannel, clientChannel); in TEST_F()
134 serverChannel.clear(); // close server channel in TEST_F()
[all …]
DInputPublisherAndConsumer_test.cpp33 sp<InputChannel> serverChannel, clientChannel; member in android::InputPublisherAndConsumerTest
40 serverChannel, clientChannel); in SetUp()
42 mPublisher = new InputPublisher(serverChannel); in SetUp()
57 serverChannel.clear(); in TearDown()
66 EXPECT_EQ(serverChannel.get(), mPublisher->getChannel().get()); in TEST_F()
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp129 sp<InputChannel> serverChannel; in android_view_InputChannel_nativeOpenInputChannelPair() local
131 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in android_view_InputChannel_nativeOpenInputChannelPair()
146 new NativeInputChannel(serverChannel)); in android_view_InputChannel_nativeOpenInputChannelPair()