Home
last modified time | relevance | path

Searched refs:mConnectedThread (Results 1 – 2 of 2) sorted by relevance

/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java61 private ConnectedThread mConnectedThread; field in BluetoothChatService
109 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in start()
138 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connect()
159 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connected()
172 mConnectedThread = new ConnectedThread(socket, socketType); in connected()
173 mConnectedThread.start(); in connected()
196 if (mConnectedThread != null) { in stop()
197 mConnectedThread.cancel(); in stop()
198 mConnectedThread = null; in stop()
224 r = mConnectedThread; in write()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java61 private ConnectedThread mConnectedThread; field in BluetoothChatService
117 if (mConnectedThread != null) { in start()
118 mConnectedThread.cancel(); in start()
119 mConnectedThread = null; in start()
153 if (mConnectedThread != null) { in connect()
154 mConnectedThread.cancel(); in connect()
155 mConnectedThread = null; in connect()
182 if (mConnectedThread != null) { in connected()
183 mConnectedThread.cancel(); in connected()
184 mConnectedThread = null; in connected()
[all …]