/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushServer.java | 122 LlcpServerSocket mServerSocket; field in NdefPushServer.ServerThread 134 mServerSocket = mService.createLlcpServerSocket(mSap, SERVICE_NAME, in run() 137 if (mServerSocket == null) { in run() 149 serverSocket = mServerSocket; in run() 171 if (mServerSocket != null) { in run() 174 mServerSocket.close(); in run() 178 mServerSocket = null; in run() 192 if (mServerSocket != null) { in shutdown() 194 mServerSocket.close(); in shutdown() 198 mServerSocket = null; in shutdown()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverServer.java | 83 LlcpServerSocket mServerSocket; field in HandoverServer.ServerThread 95 mServerSocket = NfcService.getInstance().createLlcpServerSocket(mSap, in run() 98 if (mServerSocket == null) { in run() 110 serverSocket = mServerSocket; in run() 135 if (mServerSocket != null) { in run() 138 mServerSocket.close(); in run() 142 mServerSocket = null; in run() 156 if (mServerSocket != null) { in shutdown() 158 mServerSocket.close(); in shutdown() 162 mServerSocket = null; in shutdown()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepServer.java | 179 LlcpServerSocket mServerSocket; field in SnepServer.ServerThread 192 mServerSocket = NfcService.getInstance().createLlcpServerSocket(mServiceSap, in run() 195 if (mServerSocket == null) { in run() 207 serverSocket = mServerSocket; in run() 234 if (mServerSocket != null) { in run() 237 mServerSocket.close(); in run() 241 mServerSocket = null; in run() 255 if (mServerSocket != null) { in shutdown() 257 mServerSocket.close(); in shutdown() 261 mServerSocket = null; in shutdown()
|
/packages/apps/Nfc/src/com/android/nfc/sneptest/ |
D | ExtDtaSnepServer.java | 152 LlcpServerSocket mServerSocket; field in ExtDtaSnepServer.ServerThread 165 … mServerSocket = NfcService.getInstance().createLlcpServerSocket(mDtaServiceSap, in run() 168 if (mServerSocket == null) { in run() 180 serverSocket = mServerSocket; in run() 207 if (mServerSocket != null) { in run() 210 mServerSocket.close(); in run() 212 mServerSocket = null; in run() 226 if (mServerSocket != null) { in shutdown() 228 mServerSocket.close(); in shutdown() 230 mServerSocket = null; in shutdown()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | ObexServerSockets.java | 286 private final BluetoothServerSocket mServerSocket; field in ObexServerSockets.SocketAcceptThread 298 mServerSocket = serverSocket; in SocketAcceptThread() 317 connSocket = mServerSocket.accept(); in run() 319 Log.d(mTag, "Accepted socket connection from: " + mServerSocket); in run() 363 Log.w(mTag, "Accept exception for " + mServerSocket, ex); in run() 371 Log.d(mTag, "AcceptThread ended for: " + mServerSocket); in run() 388 mServerSocket.close(); in shutdown()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | SocketThread.java | 30 private ServerSocket mServerSocket; field in SocketThread 45 mServerSocket = serverSocket; in SocketThread() 74 if (mServerSocket != null) { in close() 76 mServerSocket.close(); in close() 80 mServerSocket = null; in close()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 81 private BluetoothServerSocket mServerSocket = null; field in SapService 158 mServerSocket = mAdapter.listenUsingRfcommOn( in initSocket() 162 .createSapsRecord(SDP_SAP_SERVICE_NAME, mServerSocket.getChannel(), in initSocket() 206 if (mServerSocket != null) { in closeServerSocket() 209 mServerSocket.close(); in closeServerSocket() 210 mServerSocket = null; in closeServerSocket() 331 if (mServerSocket == null) { in run() 342 serverSocket = mServerSocket; in run() 347 mConnSocket = mServerSocket.accept(); in run()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppService.java | 439 if (mServerSocket != null) { 457 private ObexServerSockets mServerSocket; field in BluetoothOppService 464 mServerSocket = ObexServerSockets.createInsecure(this); in startSocketListener() 467 if (sdpManager == null || mServerSocket == null) { in startSocketListener() 469 + " mServerSocket:" + mServerSocket); in startSocketListener() 473 sdpManager.createOppOpsRecord("OBEX Object Push", mServerSocket.getRfcommChannel(), in startSocketListener() 474 mServerSocket.getL2capPsm(), 0x0102, SUPPORTED_OPP_FORMAT); in startSocketListener() 1173 if (mServerSocket != null) { in stopListeners() 1174 mServerSocket.shutdown(false); in stopListeners() 1175 mServerSocket = null; in stopListeners()
|
D | TestActivity.java | 393 ServerSocket mServerSocket; in start() 405 mServerSocket = new ServerSocket(6500, 1); in start() 412 mServerSocket.setSoTimeout(ACCEPT_WAIT_TIMEOUT); in start() 413 Socket clientSocket = mServerSocket.accept(); in start()
|