OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:serverChannel
(Results
1 - 7
of
7
) sorted by null
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
ServerSocketChannelTest.java
52
private ServerSocketChannel
serverChannel
;
61
this.
serverChannel
= ServerSocketChannel.open();
66
if (null != this.
serverChannel
) {
68
this.
serverChannel
.close();
96
assertEquals(SelectionKey.OP_ACCEPT, this.
serverChannel
.validOps());
112
assertNotNull(this.
serverChannel
.provider());
113
assertEquals(testMSChnlnotnull.provider(), this.
serverChannel
125
assertTrue(this.
serverChannel
.isOpen());
126
assertTrue(this.
serverChannel
.isBlocking());
127
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
...]
/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());
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/
SelectorKernel.java
224
private ServerSocketChannel
serverChannel
;
247
this.
serverChannel
= ServerSocketChannel.open();
248
serverChannel
.configureBlocking(false);
251
serverChannel
.socket().bind(address);
255
serverChannel
.register(selector, SelectionKey.OP_ACCEPT);
266
serverChannel
.close();
/frameworks/base/core/jni/
android_view_InputChannel.cpp
127
sp<InputChannel>
serverChannel
;
129
status_t result = InputChannel::openInputChannelPair(name,
serverChannel
, clientChannel);
144
new NativeInputChannel(
serverChannel
));
Completed in 87 milliseconds