Home
last modified time | relevance | path

Searched refs:mServerSocket (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DObexServerSockets.java283 private final BluetoothServerSocket mServerSocket; field in ObexServerSockets.SocketAcceptThread
295 mServerSocket = serverSocket; in SocketAcceptThread()
312 connSocket = mServerSocket.accept(); in run()
313 Log.d(TAG, "Accepted socket connection from: " + mServerSocket); in run()
358 Log.w(TAG, "Accept exception for " + mServerSocket, ex); in run()
365 Log.d(TAG, "AcceptThread ended for: " + mServerSocket); in run()
381 mServerSocket.close(); in shutdown()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapService.java88 private BluetoothServerSocket mServerSocket = null; field in SapService
164 mServerSocket = in initSocket()
175 mServerSocket.getChannel(), in initSocket()
218 if (mServerSocket != null) { in closeServerSocket()
221 mServerSocket.close(); in closeServerSocket()
222 mServerSocket = null; in closeServerSocket()
336 if (mServerSocket == null) { in run()
345 serverSocket = mServerSocket; in run()
350 mConnSocket = mServerSocket.accept(); in run()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppService.java490 if (mServerSocket != null) {
508 private ObexServerSockets mServerSocket; field in BluetoothOppService
513 mServerSocket = ObexServerSockets.createInsecure(this); in startSocketListener()
525 if (mServerSocket == null) { in startSocketListener()
537 mServerSocket.getRfcommChannel(), in startSocketListener()
538 mServerSocket.getL2capPsm(), in startSocketListener()
1359 if (mServerSocket != null) { in stopListeners()
1360 mServerSocket.shutdown(false); in stopListeners()
1361 mServerSocket = null; in stopListeners()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DTestActivity.java408 ServerSocket mServerSocket; in start()
422 mServerSocket = new ServerSocket(6500, 1); in start()
429 mServerSocket.setSoTimeout(ACCEPT_WAIT_TIMEOUT); in start()
430 Socket clientSocket = mServerSocket.accept(); in start()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacProxyManagerTest.java79 private ServerSocket mServerSocket; field in PacProxyManagerTest
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java2095 socket = listenerData.mServerSocket.accept(); in handleIncomingRfcommConnections()
2100 Log.e(TAG, "Failed to accept socket on " + listenerData.mServerSocket, e); in handleIncomingRfcommConnections()
2179 final BluetoothServerSocket mServerSocket; field in AdapterService.RfcommListenerData
2197 mServerSocket = serverSocket; in RfcommListenerData()
2206 mServerSocket.close(); in closeServerAndPendingSockets()