Home
last modified time | relevance | path

Searched refs:serverChannel (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp69 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F() local
72 serverChannel, clientChannel); in TEST_F()
88 EXPECT_EQ(OK, serverChannel->sendMessage(&serverMsg)) in TEST_F()
123 serverChannel, clientChannel); in TEST_F()
137 serverChannel, clientChannel); in TEST_F()
142 serverChannel.reset(); // close server channel in TEST_F()
153 serverChannel, clientChannel); in TEST_F()
158 serverChannel.reset(); // close server channel in TEST_F()
169 serverChannel, clientChannel); in TEST_F()
208 ASSERT_EQ(OK, serverChannel->writeToParcel(&parcel)); in TEST_F()
[all …]
H A DInputPublisherAndConsumer_test.cpp43 std::unique_ptr<InputChannel> serverChannel, clientChannel; in SetUp() local
45 serverChannel, clientChannel); in SetUp()
47 mServerChannel = std::move(serverChannel); in SetUp()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputFlingerService_test.cpp118 std::unique_ptr<InputChannel> serverChannel; in createInputChannel() local
120 InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in createInputChannel()
124 mInputChannels.emplace_back(std::move(serverChannel)); in createInputChannel()
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.cpp148 std::unique_ptr<InputChannel> serverChannel; in android_view_InputChannel_nativeOpenInputChannelPair() local
150 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in android_view_InputChannel_nativeOpenInputChannelPair()
165 outArray[0] = android_view_InputChannel_createInputChannel(env, std::move(serverChannel)); in android_view_InputChannel_nativeOpenInputChannelPair()
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputDispatcher.cpp415 std::shared_ptr<InputChannel>& serverChannel, in openInputChannelPair() argument
420 serverChannel = std::move(uniqueServerChannel); in openInputChannelPair()
5226 std::unique_ptr<InputChannel> serverChannel; in createInputChannel() local
5236 const sp<IBinder>& token = serverChannel->getConnectionToken(); in createInputChannel()
5237 int fd = serverChannel->getFd(); in createInputChannel()
5239 new Connection(std::move(serverChannel), false /*monitor*/, mIdGenerator); in createInputChannel()
5261 std::shared_ptr<InputChannel> serverChannel; in createInputMonitor() local
5263 status_t result = openInputChannelPair(name, serverChannel, clientChannel); in createInputMonitor()
5277 const sp<IBinder>& token = serverChannel->getConnectionToken(); in createInputMonitor()
5278 const int fd = serverChannel->getFd(); in createInputMonitor()
[all …]