/cts/tests/tests/net/src/android/net/cts/ |
LocalSocketTest.java | 35 LocalSocket clientSocket = new LocalSocket(); 39 assertFalse(clientSocket.isConnected()); 40 clientSocket.connect(locSockAddr); 41 assertTrue(clientSocket.isConnected()); 44 Credentials credent = clientSocket.getPeerCredentials(); 48 OutputStream clientOutStream = clientSocket.getOutputStream(); 56 InputStream clientInStream = clientSocket.getInputStream(); 60 clientSocket.setFileDescriptorsForSend(new FileDescriptor[]{FileDescriptor.in}); 66 FileDescriptor fd = clientSocket.getFileDescriptor(); 70 clientSocket.shutdownInput() [all...] |
LocalServerSocketTest.java | 36 LocalSocket clientSocket = new LocalSocket(); 39 clientSocket.connect(new LocalSocketAddress(LocalSocketTest.mSockAddr)); 43 OutputStream clientOutStream = clientSocket.getOutputStream(); 51 InputStream clientInStream = clientSocket.getInputStream();
|
/packages/apps/Nfc/nci/jni/ |
NativeLlcpServiceSocket.cpp | 52 jobject clientSocket = NULL; 72 if (nfc_jni_cache_object(e, gNativeLlcpSocketClassName, &(clientSocket)) == -1) 79 clsNativeLlcpSocket = e->GetObjectClass (clientSocket); 89 e->SetIntField (clientSocket, f, (jint) connHandle); 93 e->SetIntField (clientSocket, f, (jint)miu); 97 e->SetIntField (clientSocket, f, (jint)rw); 101 return clientSocket;
|
NativeNfcManager.cpp | [all...] |
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
SnepBasicTests.java | 37 MockLlcpSocket clientSocket = new MockLlcpSocket(); 39 MockLlcpSocket.bind(clientSocket, serverSocket); 41 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); 68 MockLlcpSocket clientSocket = new MockLlcpSocket(); 70 MockLlcpSocket.bind(clientSocket, serverSocket); 72 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); 99 MockLlcpSocket clientSocket = new MockLlcpSocket(); 101 MockLlcpSocket.bind(clientSocket, serverSocket); 103 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); 130 MockLlcpSocket clientSocket = new MockLlcpSocket() [all...] |
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_NativeLlcpServiceSocket.cpp | 78 jobject clientSocket = NULL; 143 if(nfc_jni_cache_object(e,"com/android/nfc/dhimpl/NativeLlcpSocket",&(clientSocket)) == -1) 150 clsNativeLlcpSocket.reset(e->GetObjectClass(clientSocket)); 159 e->SetIntField(clientSocket, f,(jint)hIncomingSocket); 163 e->SetIntField(clientSocket, f,(jint)miu); 167 e->SetIntField(clientSocket, f,(jint)rw); 173 return clientSocket;
|
com_android_nfc_NativeNfcManager.cpp | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppRfcommListener.java | 93 Socket clientSocket = mTcpServerSocket.accept(); 96 TestTcpTransport transport = new TestTcpTransport(clientSocket); 146 BluetoothSocket clientSocket; 158 clientSocket = sSocket.accept(); 160 + clientSocket.getRemoteDevice()); 162 clientSocket);
|
TestActivity.java | 402 Socket clientSocket = mServerSocket.accept(); 403 if (clientSocket == null) { 408 + clientSocket.getRemoteSocketAddress()); 409 TestTcpTransport transport = new TestTcpTransport(clientSocket);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_transport.cpp | 65 int clientSocket = accept(serverSocket, (struct sockaddr *)&client, &sockaddr_len); 66 if (clientSocket < 0) { 74 if (getsockopt(clientSocket, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) != 0) { 91 return clientSocket;
|
gltrace_eglapi.cpp | 117 int clientSocket = -1; 128 clientSocket = gltrace::acceptClientConnection(udsName); 129 if (clientSocket < 0) { 138 stream = new TCPStream(clientSocket);
|
/packages/apps/Nfc/src/com/android/nfc/echoserver/ |
EchoServer.java | 173 LlcpSocket clientSocket; 222 clientSocket = serverSocket.accept(); 223 if (DBG) Log.d(TAG, "accept returned " + clientSocket); 224 handleClient(clientSocket); 237 clientSocket.close(); 241 clientSocket = null; 253 if (clientSocket != null) { 255 clientSocket.send(data);
|
/libcore/luni/src/main/java/java/nio/ |
ServerSocketChannelImpl.java | 140 Socket clientSocket = clientSocketChannel.socket(); 144 super.implAccept(clientSocket); 152 clientSocket.close(); 155 return clientSocket;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
ServerSocketTest.java | 404 Socket clientSocket = new Socket(); 407 clientSocket.connect(clAddress); 410 assertEquals(clAddress, clientSocket.getRemoteSocketAddress()); 413 clientSocket.close(); 489 Socket clientSocket = new Socket(); 490 clientSocket.connect(localAddress); 493 assertTrue(clientSocket.getRemoteSocketAddress().equals(localAddress)); 496 clientSocket.close(); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldServerSocketTest.java | 75 Socket clientSocket = new Socket(); 78 clientSocket.connect(clAddress); 81 assertEquals(clAddress, clientSocket.getRemoteSocketAddress()); 84 clientSocket.close();
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
HandshakeCompletedEventTest.java | 427 SSLSocket clientSocket = (SSLSocket)serverSocket.accept(); 429 InputStream istream = clientSocket.getInputStream(); 438 OutputStream ostream = clientSocket.getOutputStream(); 447 clientSocket.close();
|
SSLSessionTest.java | 513 SSLSocket clientSocket = (SSLSocket)serverSocket.accept(); 515 InputStream istream = clientSocket.getInputStream(); 519 OutputStream ostream = clientSocket.getOutputStream(); 527 clientSocket.close();
|
SSLSocketTest.java | 549 SSLSocket clientSocket = (SSLSocket)serverSocket.accept(); 552 InputStream stream = clientSocket.getInputStream(); 565 clientSocket.close();
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetwork.java | 554 private Socket clientSocket; 572 clientSocket = serverSocket.accept(); 581 input = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); 583 output = new PrintWriter(clientSocket.getOutputStream(), true); 590 clientSocket.close();
|
/frameworks/av/media/libstagefright/foundation/ |
ANetworkSession.cpp | [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
SSLSocketTest.java | 670 SSLSocket clientSocket = (SSLSocket) serverSocket.accept(); 672 InputStream stream = clientSocket.getInputStream(); 683 clientSocket.close(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 368 Socket clientSocket = serverChannel.accept().socket(); 369 OutputStream out = clientSocket.getOutputStream(); 371 clientSocket.close();
|
/libcore/crypto/src/test/java/org/conscrypt/ |
NativeCryptoTest.java | [all...] |
/prebuilts/devtools/tools/lib/ |
ddmlib.jar | |
/prebuilts/gradle-plugin/com/android/tools/ddms/ddmlib/22.2.0/ |
ddmlib-22.2.0.jar | |