HomeSort by relevance Sort by last modified time
    Searched refs:STATE_CONNECTED (Results 1 - 17 of 17) sorted by null

  /frameworks/base/core/java/android/bluetooth/
ScoSocket.java 44 public static final int STATE_CONNECTED = 4; // connected, waiting for close()
146 mState = STATE_CONNECTED;
161 mState = STATE_CONNECTED;
BluetoothA2dp.java 72 public static final int STATE_CONNECTED = 2;
186 return state == STATE_CONNECTED || state == STATE_PLAYING;
282 case STATE_CONNECTED:
BluetoothPbap.java 81 public static final int STATE_CONNECTED = 2;
BluetoothHeadset.java 102 public static final int STATE_CONNECTED = 2;
  /frameworks/base/core/java/android/server/
BluetoothA2dpService.java 213 BluetoothA2dp.STATE_CONNECTED,
230 return BluetoothA2dp.STATE_CONNECTED;
293 case BluetoothA2dp.STATE_CONNECTED:
321 BluetoothA2dp.STATE_CONNECTED,
333 case BluetoothA2dp.STATE_CONNECTED:
397 mTargetA2dpState = BluetoothA2dp.STATE_CONNECTED;
420 new int[] {BluetoothA2dp.STATE_CONNECTED, BluetoothA2dp.STATE_PLAYING});
427 new int[] {BluetoothA2dp.STATE_CONNECTED,
491 } else if (state == BluetoothA2dp.STATE_CONNECTED) {
501 state == BluetoothA2dp.STATE_CONNECTED) {
    [all...]
BluetoothService.java     [all...]
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChatService.java 63 public static final int STATE_CONNECTED = 3; // now connected to a remote device
163 setState(STATE_CONNECTED);
187 if (mState != STATE_CONNECTED) return;
249 while (mState != STATE_CONNECTED) {
269 case STATE_CONNECTED:
BluetoothChat.java 208 if (mChatService.getState() != BluetoothChatService.STATE_CONNECTED) {
247 case BluetoothChatService.STATE_CONNECTED:
  /packages/apps/Phone/src/com/android/phone/
BluetoothHeadsetService.java 203 setState(BluetoothHeadset.STATE_CONNECTED, BluetoothHeadset.RESULT_SUCCESS);
208 case BluetoothHeadset.STATE_CONNECTED:
239 if ((mState == BluetoothHeadset.STATE_CONNECTED ||
424 setState(BluetoothHeadset.STATE_CONNECTED, BluetoothHeadset.RESULT_SUCCESS);
458 if (mState == BluetoothHeadset.STATE_CONNECTED) {
486 } else if (mState == BluetoothHeadset.STATE_CONNECTED) {
569 if (mState == BluetoothHeadset.STATE_CONNECTED ||
594 return mState == BluetoothHeadset.STATE_CONNECTED && mRemoteDevice.equals(device);
620 case BluetoothHeadset.STATE_CONNECTED:
646 if (mState != BluetoothHeadset.STATE_CONNECTED) {
    [all...]
BluetoothHandsfree.java 559 mA2dpState == BluetoothA2dp.STATE_CONNECTED) {
    [all...]
PhoneApp.java     [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothProfileManager.java 236 case BluetoothA2dp.STATE_CONNECTED:
277 BluetoothHeadset.STATE_CONNECTED);
360 case BluetoothHeadset.STATE_CONNECTED: