Searched refs:clientSocket (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepBasicTests.java | 37 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testGetSmallNdef() local 39 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetSmallNdef() 41 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetSmallNdef() 68 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testGetLargeNdef() local 70 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetLargeNdef() 72 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetLargeNdef() 99 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testGetExcessiveNdef() local 101 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetExcessiveNdef() 103 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetExcessiveNdef() 130 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testPutSmallNdef() local [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | NativeLlcpServiceSocket.cpp | 51 jobject clientSocket = NULL; in nativeLlcpServiceSocket_doAccept() local 72 &(clientSocket)) == -1) { in nativeLlcpServiceSocket_doAccept() 78 clsNativeLlcpSocket = e->GetObjectClass(clientSocket); in nativeLlcpServiceSocket_doAccept() 87 e->SetIntField(clientSocket, f, (jint)connHandle); in nativeLlcpServiceSocket_doAccept() 91 e->SetIntField(clientSocket, f, (jint)miu); in nativeLlcpServiceSocket_doAccept() 95 e->SetIntField(clientSocket, f, (jint)rw); in nativeLlcpServiceSocket_doAccept() 99 return clientSocket; in nativeLlcpServiceSocket_doAccept()
|
D | NativeNfcManager.cpp | 1517 jobject clientSocket = NULL; in nfcManager_doCreateLlcpSocket() local 1519 &(clientSocket)) == -1) { in nfcManager_doCreateLlcpSocket() 1521 return clientSocket; in nfcManager_doCreateLlcpSocket() 1526 e->GetObjectClass(clientSocket)); in nfcManager_doCreateLlcpSocket() 1530 return clientSocket; in nfcManager_doCreateLlcpSocket() 1537 e->SetIntField(clientSocket, f, (jint)nSap); in nfcManager_doCreateLlcpSocket() 1541 e->SetIntField(clientSocket, f, (jint)jniHandle); in nfcManager_doCreateLlcpSocket() 1545 e->SetIntField(clientSocket, f, (jint)miu); in nfcManager_doCreateLlcpSocket() 1549 e->SetIntField(clientSocket, f, (jint)rw); in nfcManager_doCreateLlcpSocket() 1552 return clientSocket; in nfcManager_doCreateLlcpSocket()
|
/packages/apps/Nfc/src/com/android/nfc/echoserver/ |
D | EchoServer.java | 173 LlcpSocket clientSocket; field in EchoServer.ServerThread 222 clientSocket = serverSocket.accept(); in run() 223 if (DBG) Log.d(TAG, "accept returned " + clientSocket); in run() 224 handleClient(clientSocket); in run() 237 clientSocket.close(); in run() 241 clientSocket = null; in run() 253 if (clientSocket != null) { in write() 255 clientSocket.send(data); in write()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 413 Socket clientSocket = mServerSocket.accept(); in start() 414 if (clientSocket == null) { in start() 423 "remote addr is " + clientSocket.getRemoteSocketAddress()); in start() 424 TestTcpTransport transport = new TestTcpTransport(clientSocket); in start()
|