Home
last modified time | relevance | path

Searched refs:clientSocket (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepBasicTests.java37 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/
DNativeLlcpServiceSocket.cpp51 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()
DNativeNfcManager.cpp1545 jobject clientSocket = NULL; in nfcManager_doCreateLlcpSocket() local
1547 &(clientSocket)) == -1) { in nfcManager_doCreateLlcpSocket()
1549 return clientSocket; in nfcManager_doCreateLlcpSocket()
1554 e->GetObjectClass(clientSocket)); in nfcManager_doCreateLlcpSocket()
1558 return clientSocket; in nfcManager_doCreateLlcpSocket()
1565 e->SetIntField(clientSocket, f, (jint)nSap); in nfcManager_doCreateLlcpSocket()
1569 e->SetIntField(clientSocket, f, (jint)jniHandle); in nfcManager_doCreateLlcpSocket()
1573 e->SetIntField(clientSocket, f, (jint)miu); in nfcManager_doCreateLlcpSocket()
1577 e->SetIntField(clientSocket, f, (jint)rw); in nfcManager_doCreateLlcpSocket()
1580 return clientSocket; in nfcManager_doCreateLlcpSocket()
/packages/apps/Nfc/src/com/android/nfc/echoserver/
DEchoServer.java173 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/
DTestActivity.java413 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()