Home
last modified time | relevance | path

Searched refs:STATE_CONNECTED (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java69 public static final int STATE_CONNECTED = 3; // now connected to a remote device field in BluetoothChatService
252 if (mState != STATE_CONNECTED) return; in write()
335 while (mState != STATE_CONNECTED) { in run()
356 case STATE_CONNECTED: in run()
482 mState = STATE_CONNECTED; in ConnectedThread()
491 while (mState == STATE_CONNECTED) { in run()
DBluetoothChatFragment.java209 if (mChatService.getState() != BluetoothChatService.STATE_CONNECTED) { in sendMessage()
285 case BluetoothChatService.STATE_CONNECTED:
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java68 public static final int STATE_CONNECTED = 3; // now connected to a remote device field in BluetoothChatService
182 setState(STATE_CONNECTED); in connected()
223 if (mState != STATE_CONNECTED) return; in write()
297 while (mState != STATE_CONNECTED) { in run()
318 case STATE_CONNECTED: in run()
DBluetoothChat.java202 if (mChatService.getState() != BluetoothChatService.STATE_CONNECTED) { in sendMessage()
251 case BluetoothChatService.STATE_CONNECTED:
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java53 private static final int STATE_CONNECTED = 2; field in BluetoothLeService
75 if (newState == BluetoothProfile.STATE_CONNECTED) {
77 mConnectionState = STATE_CONNECTED;