Home
last modified time | relevance | path

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

/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/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
77 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() method in BluetoothChatService
275 BluetoothChatService.this.start(); in connectionFailed()
294 BluetoothChatService.this.start(); in connectionLost()
347 synchronized (BluetoothChatService.this) { in run()
440 synchronized (BluetoothChatService.this) { in run()
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/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
77 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() method in BluetoothChatService
275 BluetoothChatService.this.start(); in connectionFailed()
294 BluetoothChatService.this.start(); in connectionLost()
347 synchronized (BluetoothChatService.this) { in run()
440 synchronized (BluetoothChatService.this) { in run()