Home
last modified time | relevance | path

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

/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java60 private ConnectThread mConnectThread; field in BluetoothChatService
111 if (mConnectThread != null) { in start()
112 mConnectThread.cancel(); in start()
113 mConnectThread = null; in start()
146 if (mConnectThread != null) { in connect()
147 mConnectThread.cancel(); in connect()
148 mConnectThread = null; in connect()
159 mConnectThread = new ConnectThread(device, secure); in connect()
160 mConnectThread.start(); in connect()
176 if (mConnectThread != null) { in connected()
[all …]
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java60 private ConnectThread mConnectThread; field in BluetoothChatService
106 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in start()
134 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connect()
141 mConnectThread = new ConnectThread(device, secure); in connect()
142 mConnectThread.start(); in connect()
156 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connected()
191 if (mConnectThread != null) { in stop()
192 mConnectThread.cancel(); in stop()
193 mConnectThread = null; in stop()
402 mConnectThread = null; in run()