OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:clientChannel
(Results
1 - 6
of
6
) sorted by null
/frameworks/native/libs/input/tests/
InputChannel_test.cpp
61
sp<InputChannel> serverChannel,
clientChannel
;
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
;
115
serverChannel,
clientChannel
);
121
EXPECT_EQ(WOULD_BLOCK,
clientChannel
->receiveMessage(&msg))
126
sp<InputChannel> serverChannel,
clientChannel
;
129
serverChannel,
clientChannel
);
[
all
...]
InputPublisherAndConsumer_test.cpp
33
sp<InputChannel> serverChannel,
clientChannel
;
40
serverChannel,
clientChannel
);
43
mConsumer = new InputConsumer(
clientChannel
);
58
clientChannel
.clear();
67
EXPECT_EQ(
clientChannel
.get(), mConsumer->getChannel().get());
/libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java
35
private SocketChannel
clientChannel
;
40
this.
clientChannel
= SocketChannel.open();
52
if (null != this.
clientChannel
) {
54
this.
clientChannel
.close();
DatagramChannelTest.java
227
try (DatagramChannel
clientChannel
= DatagramChannel.open();
231
assertNull(
clientChannel
.getRemoteAddress());
233
clientChannel
.connect(serverChannel.getLocalAddress());
235
((InetSocketAddress) (
clientChannel
.getRemoteAddress())).getAddress());
237
((InetSocketAddress) (
clientChannel
.getRemoteAddress())).getPort());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ServerSocketChannelTest.java
50
private SocketChannel
clientChannel
;
55
this.
clientChannel
= SocketChannel.open();
67
if (null != this.
clientChannel
) {
69
this.
clientChannel
.close();
411
clientChannel
.connect(serverChannel.socket().getLocalSocketAddress());
415
clientChannel
.write(buf);
416
clientChannel
.close();
450
clientChannel
.connect(serverChannel.socket().getLocalSocketAddress());
453
clientChannel
.write(buf);
454
clientChannel
.close()
[
all
...]
/frameworks/base/core/jni/
android_view_InputChannel.cpp
131
sp<InputChannel>
clientChannel
;
132
status_t result = InputChannel::openInputChannelPair(name, serverChannel,
clientChannel
);
153
std::make_unique<NativeInputChannel>(
clientChannel
));
Completed in 152 milliseconds