HomeSort by relevance Sort by last modified time
    Searched refs:STATE_CONNECTED (Results 1 - 20 of 20) 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:
BluetoothProfileState.java 63 if (mProfile == HFP && (newState == BluetoothHeadset.STATE_CONNECTED ||
69 if (mProfile == A2DP && (newState == BluetoothA2dp.STATE_CONNECTED ||
BluetoothPbap.java 81 public static final int STATE_CONNECTED = 2;
BluetoothDeviceProfileState.java 115 if (newState == BluetoothHeadset.STATE_CONNECTED ||
123 if ((oldState == BluetoothA2dp.STATE_CONNECTED ||
128 if (newState == BluetoothA2dp.STATE_CONNECTED ||
    [all...]
BluetoothHeadset.java 102 public static final int STATE_CONNECTED = 2;
  /frameworks/base/core/java/android/server/
BluetoothA2dpService.java 196 return BluetoothA2dp.STATE_CONNECTED;
259 case BluetoothA2dp.STATE_CONNECTED:
311 BluetoothA2dp.STATE_CONNECTED,
318 case BluetoothA2dp.STATE_CONNECTED:
398 mTargetA2dpState = BluetoothA2dp.STATE_CONNECTED;
421 new int[] {BluetoothA2dp.STATE_CONNECTED, BluetoothA2dp.STATE_PLAYING});
428 new int[] {BluetoothA2dp.STATE_CONNECTED,
492 } else if (state == BluetoothA2dp.STATE_CONNECTED) {
501 state == BluetoothA2dp.STATE_CONNECTED) {
551 mTargetA2dpState == 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 125 state == BluetoothHeadset.STATE_CONNECTED) {
226 case BluetoothHeadset.STATE_CONNECTED:
253 if ((state == BluetoothHeadset.STATE_CONNECTED ||
440 BluetoothHeadset.STATE_CONNECTED, BluetoothHeadset.RESULT_SUCCESS);
483 if (prevState == BluetoothHeadset.STATE_CONNECTED) {
505 if (state == BluetoothHeadset.STATE_CONNECTED) {
643 return headset != null && headset.mState == BluetoothHeadset.STATE_CONNECTED;
651 mRemoteHeadsets.get(device).mState != BluetoothHeadset.STATE_CONNECTED) {
663 mRemoteHeadsets.get(device).mState != BluetoothHeadset.STATE_CONNECTED) {
731 setState(device, BluetoothHeadset.STATE_CONNECTED, BluetoothHeadset.RESULT_SUCCESS)
    [all...]
BluetoothHandsfree.java 557 mA2dpState == BluetoothA2dp.STATE_CONNECTED) {
    [all...]
PhoneApp.java     [all...]
  /frameworks/base/core/tests/coretests/src/android/bluetooth/
BluetoothTestUtils.java 210 case BluetoothA2dp.STATE_CONNECTED:
232 case BluetoothHeadset.STATE_CONNECTED:
773 case BluetoothA2dp.STATE_CONNECTED:
794 if (state == BluetoothA2dp.STATE_CONNECTED || state == BluetoothA2dp.STATE_PLAYING) {
796 // Check whether STATE_CONNECTING and (STATE_CONNECTED or STATE_PLAYING) intents
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothProfileManager.java 283 case BluetoothA2dp.STATE_CONNECTED:
356 BluetoothHeadset.STATE_CONNECTED);
483 case BluetoothHeadset.STATE_CONNECTED:
DockEventReceiver.java 97 BluetoothHeadset.STATE_CONNECTED);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 444 setState(BluetoothPbap.STATE_CONNECTED);
714 return mState == BluetoothPbap.STATE_CONNECTED && mRemoteDevice.equals(device);
730 case BluetoothPbap.STATE_CONNECTED:
  /frameworks/base/media/java/android/media/
AudioService.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
StatusBarPolicy.java     [all...]
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
BluetoothVoiceDialerActivity.java 377 if (mBluetoothHeadset.getState(device) == BluetoothHeadset.STATE_CONNECTED) {
    [all...]

Completed in 1275 milliseconds