Home
last modified time | relevance | path

Searched refs:serverSocket (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepBasicTests.java38 MockLlcpSocket serverSocket = new MockLlcpSocket(); in testGetSmallNdef() local
39 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetSmallNdef()
42 final SnepMessenger server = new SnepMessenger(false, serverSocket, MIU); in testGetSmallNdef()
69 MockLlcpSocket serverSocket = new MockLlcpSocket(); in testGetLargeNdef() local
70 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetLargeNdef()
73 final SnepMessenger server = new SnepMessenger(false, serverSocket, MIU); in testGetLargeNdef()
100 MockLlcpSocket serverSocket = new MockLlcpSocket(); in testGetExcessiveNdef() local
101 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetExcessiveNdef()
104 final SnepMessenger server = new SnepMessenger(false, serverSocket, MIU); in testGetExcessiveNdef()
131 MockLlcpSocket serverSocket = new MockLlcpSocket(); in testPutSmallNdef() local
[all …]
/packages/apps/Nfc/src/com/android/nfc/echoserver/
DEchoServer.java172 LlcpServerSocket serverSocket; field in EchoServer.ServerThread
207 serverSocket = mService.createLlcpServerSocket(DEFAULT_CO_SAP, in run()
212 if (serverSocket == null) { in run()
222 clientSocket = serverSocket.accept(); in run()
244 serverSocket.close(); in run()
248 serverSocket = null; in run()
265 if (serverSocket != null) { in shutdown()
267 serverSocket.close(); in shutdown()
271 serverSocket = null; in shutdown()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushServer.java147 LlcpServerSocket serverSocket; in run() local
149 serverSocket = mServerSocket; in run()
151 if (serverSocket == null) return; in run()
154 LlcpSocket communicationSocket = serverSocket.accept(); in run()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverServer.java108 LlcpServerSocket serverSocket; in run() local
110 serverSocket = mServerSocket; in run()
113 if (serverSocket == null) { in run()
118 LlcpSocket communicationSocket = serverSocket.accept(); in run()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepServer.java205 LlcpServerSocket serverSocket; in run() local
207 serverSocket = mServerSocket; in run()
210 if (serverSocket == null) { in run()
215 LlcpSocket communicationSocket = serverSocket.accept(); in run()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DExtDtaSnepServer.java178 LlcpServerSocket serverSocket; in run() local
180 serverSocket = mServerSocket; in run()
183 if (serverSocket == null) { in run()
188 LlcpSocket communicationSocket = serverSocket.accept(); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DObexServerSockets.java294 SocketAcceptThread(BluetoothServerSocket serverSocket) { in SocketAcceptThread() argument
295 if (serverSocket == null) { in SocketAcceptThread()
298 mServerSocket = serverSocket; in SocketAcceptThread()
/packages/apps/Car/Cluster/src/android/car/cluster/
DSocketThread.java42 SocketThread(Handler handler, ServerSocket serverSocket, InputStream inputStream, in SocketThread() argument
45 mServerSocket = serverSocket; in SocketThread()
DNetworkedVirtualDisplay.java392 ServerSocket serverSocket = new ServerSocket(PORT); in tryNetworkConnect() local
394 Socket socket = serverSocket.accept(); in tryNetworkConnect()
402 return new SocketThread(mHandler, serverSocket, inputStream, outputStream); in tryNetworkConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java330 BluetoothServerSocket serverSocket; in run() local
342 serverSocket = mServerSocket; in run()
343 if (serverSocket == null) { in run()