Searched refs:mSocket (Results 1 – 3 of 3) sorted by relevance
39 private BluetoothSocket mSocket; field in BluetoothConnection47 BluetoothConnection(BluetoothSocket mSocket) throws IOException { in BluetoothConnection() argument48 this(mSocket, null); in BluetoothConnection()51 BluetoothConnection(BluetoothSocket mSocket, BluetoothServerSocket mServerSocket) in BluetoothConnection() argument53 this.mSocket = mSocket; in BluetoothConnection()54 mOutputStream = mSocket.getOutputStream(); in BluetoothConnection()55 mInputStream = mSocket.getInputStream(); in BluetoothConnection()56 mDevice = mSocket.getRemoteDevice(); in BluetoothConnection()94 if (mSocket == null) { in isConnected()98 mSocket.getRemoteDevice(); in isConnected()[all …]
678 private final BluetoothSocket mSocket; field in BluetoothSocketConnFacade.ConnectThread690 mSocket = tmp; in ConnectThread()722 mSocket = tmp; in ConnectThread()729 mSocket.connect(); in run()730 conn = new BluetoothConnection(mSocket); in run()732 Log.d("ConnectThread:run: isConnected=" + mSocket.isConnected() + ", address=" in run()733 + mSocket.getRemoteDevice().getAddress() + ", uuid=" + mConnUuid); in run()742 if (mSocket != null) { in cancel()744 mSocket.close(); in cancel()752 return mSocket; in getSocket()[all …]
41 Socket(asio::generic::stream_protocol::socket &socket) : mSocket(socket) {} in Socket()43 asio::generic::stream_protocol::socket &get() { return mSocket; } in get()46 asio::generic::stream_protocol::socket &mSocket;