OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:serverChannel
(Results
1 - 8
of
8
) sorted by null
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ServerSocketChannelTest.java
48
private ServerSocketChannel
serverChannel
;
54
this.
serverChannel
= ServerSocketChannel.open();
59
if (null != this.
serverChannel
) {
61
this.
serverChannel
.close();
89
assertEquals(SelectionKey.OP_ACCEPT, this.
serverChannel
.validOps());
105
assertNotNull(this.
serverChannel
.provider());
106
assertEquals(testMSChnlnotnull.provider(), this.
serverChannel
252
assertTrue(this.
serverChannel
.isOpen());
253
assertTrue(this.
serverChannel
.isBlocking());
254
ServerSocket s1 = this.
serverChannel
.socket()
[
all
...]
UnixSelectorTest.java
31
ServerSocketChannel
serverChannel
= ServerSocketChannel.open();
35
serverChannel
.configureBlocking(false);
39
this.socket =
serverChannel
.socket();
47
while (
serverChannel
.accept() == null) {
57
serverChannel
.close();
65
SelectionKey mkey0 = server.
serverChannel
.register(sel0, SelectionKey.OP_ACCEPT);
66
server.
serverChannel
.register(sel1, SelectionKey.OP_ACCEPT);
/libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java
33
private ServerSocketChannel
serverChannel
;
39
this.
serverChannel
= ServerSocketChannel.open();
44
if (null != this.
serverChannel
) {
46
this.
serverChannel
.close();
73
assertTrue(this.
serverChannel
.isOpen());
74
this.
serverChannel
.close();
75
assertFalse(this.
serverChannel
.isOpen());
79
assertTrue(this.
serverChannel
.isBlocking());
80
ServerSocket gotSocket = this.
serverChannel
.socket();
87
serverChannel
.accept()
[
all
...]
DatagramChannelTest.java
218
DatagramChannel
serverChannel
= DatagramChannel.open();
219
serverChannel
.bind(socketAddress);
223
clientChannel.connect(
serverChannel
.getLocalAddress());
226
assertEquals(((InetSocketAddress)(
serverChannel
.getLocalAddress())).getPort(),
/frameworks/native/libs/input/tests/
InputChannel_test.cpp
61
sp<InputChannel>
serverChannel
, clientChannel;
64
serverChannel
, clientChannel);
70
EXPECT_STREQ("channel name (server)",
serverChannel
->getName().string())
80
EXPECT_EQ(OK,
serverChannel
->sendMessage(&serverMsg))
101
EXPECT_EQ(OK,
serverChannel
->receiveMessage(&serverReply))
112
sp<InputChannel>
serverChannel
, clientChannel;
115
serverChannel
, clientChannel);
126
sp<InputChannel>
serverChannel
, clientChannel;
129
serverChannel
, clientChannel);
134
serverChannel
.clear(); // close server channe
[
all
...]
InputPublisherAndConsumer_test.cpp
33
sp<InputChannel>
serverChannel
, clientChannel;
40
serverChannel
, clientChannel);
42
mPublisher = new InputPublisher(
serverChannel
);
57
serverChannel
.clear();
66
EXPECT_EQ(
serverChannel
.get(), mPublisher->getChannel().get());
/frameworks/base/core/jni/
android_view_InputChannel.cpp
129
sp<InputChannel>
serverChannel
;
131
status_t result = InputChannel::openInputChannelPair(name,
serverChannel
, clientChannel);
146
new NativeInputChannel(
serverChannel
));
/prebuilts/tools/common/m2/repository/io/netty/netty-transport/4.1.0.CR3/
netty-transport-4.1.0.CR3.jar
Completed in 132 milliseconds