Home
last modified time | relevance | path

Searched refs:BluetoothChatService (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatFragment.java87 private BluetoothChatService mChatService = null;
136 if (mChatService.getState() == BluetoothChatService.STATE_NONE) { in onResume()
184 mChatService = new BluetoothChatService(getActivity(), mHandler); in setupChat()
209 if (mChatService.getState() != BluetoothChatService.STATE_CONNECTED) { in sendMessage()
285 case BluetoothChatService.STATE_CONNECTED:
289 case BluetoothChatService.STATE_CONNECTING:
292 case BluetoothChatService.STATE_LISTEN:
293 case BluetoothChatService.STATE_NONE:
DBluetoothChatService.java41 public class BluetoothChatService { class
76 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() method in BluetoothChatService
267 BluetoothChatService.this.start(); in connectionFailed()
282 BluetoothChatService.this.start(); in connectionLost()
334 synchronized (BluetoothChatService.this) { in run()
426 synchronized (BluetoothChatService.this) { in run()
488 BluetoothChatService.this.start(); in run()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java81 private BluetoothChatService mChatService = null;
129 if (mChatService.getState() == BluetoothChatService.STATE_NONE) { in onResume()
160 mChatService = new BluetoothChatService(this, mHandler); in setupChat()
202 if (mChatService.getState() != BluetoothChatService.STATE_CONNECTED) { in sendMessage()
251 case BluetoothChatService.STATE_CONNECTED:
255 case BluetoothChatService.STATE_CONNECTING:
258 case BluetoothChatService.STATE_LISTEN:
259 case BluetoothChatService.STATE_NONE:
DBluetoothChatService.java40 public class BluetoothChatService { class
75 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() method in BluetoothChatService
242 BluetoothChatService.this.start(); in connectionFailed()
257 BluetoothChatService.this.start(); in connectionLost()
309 synchronized (BluetoothChatService.this) { in run()
401 synchronized (BluetoothChatService.this) { in run()
463 BluetoothChatService.this.start(); in run()