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 …]
664 private final BluetoothSocket mSocket; field in BluetoothSocketConnFacade.ConnectThread676 mSocket = tmp; in ConnectThread()708 mSocket = tmp; in ConnectThread()715 mSocket.connect(); in run()716 conn = new BluetoothConnection(mSocket); in run()718 Log.d("ConnectThread:run: isConnected=" + mSocket.isConnected() + ", address=" in run()719 + mSocket.getRemoteDevice().getAddress() + ", uuid=" + mConnUuid); in run()728 if (mSocket != null) { in cancel()730 mSocket.close(); in cancel()738 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;