Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputChannel_test.cpp52 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F() local
55 InputChannel::openInputChannelPair("channel name", serverChannel, clientChannel); in TEST_F()
57 EXPECT_EQ(serverChannel->getConnectionToken(), clientChannel->getConnectionToken()); in TEST_F()
61 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F() local
64 serverChannel, clientChannel); in TEST_F()
71 EXPECT_STREQ("channel name (client)", clientChannel->getName().c_str()) in TEST_F()
82 EXPECT_EQ(OK, clientChannel->receiveMessage(&clientMsg)) in TEST_F()
94 EXPECT_EQ(OK, clientChannel->sendMessage(&clientReply)) in TEST_F()
151 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F() local
154 serverChannel, clientChannel); in TEST_F()
[all …]
DTouchResampling_test.cpp56 std::unique_ptr<InputChannel> serverChannel, clientChannel; in SetUp() local
58 InputChannel::openInputChannelPair("channel name", serverChannel, clientChannel); in SetUp()
62 mConsumer = std::make_unique<InputConsumer>(std::move(clientChannel), in SetUp()
DInputPublisherAndConsumer_test.cpp230 std::unique_ptr<InputChannel> serverChannel, clientChannel; in SetUp() local
232 serverChannel, clientChannel); in SetUp()
236 mConsumer = std::make_unique<InputConsumer>(std::move(clientChannel)); in SetUp()
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp149 std::unique_ptr<InputChannel> clientChannel; in android_view_InputChannel_nativeOpenInputChannelPair() local
150 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in android_view_InputChannel_nativeOpenInputChannelPair()
170 outArray[1] = android_view_InputChannel_createInputChannel(env, std::move(clientChannel)); in android_view_InputChannel_nativeOpenInputChannelPair()
/frameworks/native/services/inputflinger/tests/
DFakeWindows.cpp25 FakeInputReceiver::FakeInputReceiver(std::unique_ptr<InputChannel> clientChannel, in FakeInputReceiver() argument
27 : mConsumer(std::move(clientChannel)), mName(name) {} in FakeInputReceiver()
DFakeWindows.h65 explicit FakeInputReceiver(std::unique_ptr<InputChannel> clientChannel, const std::string name);
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp6095 std::unique_ptr<InputChannel> clientChannel; in createInputChannel() local
6096 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in createInputChannel()
6124 return clientChannel; in createInputChannel()
6130 std::unique_ptr<InputChannel> clientChannel; in createInputMonitor() local
6131 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in createInputMonitor()
6166 return clientChannel; in createInputMonitor()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java2522 final InputChannel clientChannel; in requestClientSessionLocked() local
2526 clientChannel = channels[1]; in requestClientSessionLocked()
2546 curMethod.createSession(clientChannel, callback); in requestClientSessionLocked()
2550 if (clientChannel != null) { in requestClientSessionLocked()
2551 clientChannel.dispose(); in requestClientSessionLocked()