Home | History | Annotate | Download | only in phone

Lines Matching full:bluetooth

23 import android.bluetooth.BluetoothAdapter;
24 import android.bluetooth.BluetoothDevice;
25 import android.bluetooth.BluetoothHeadset;
26 import android.bluetooth.BluetoothProfile;
261 BLUETOOTH, // Bluetooth headset (if available)
370 // The bluetooth headset state changed, so some UI
373 // elements that care about the bluetooth state get it
2652 * Toggles whether or not to route in-call audio to the bluetooth
2653 * headset, or do nothing (but log a warning) if no bluetooth device
2659 * simply "toggle bluetooth", we can get rid of this method.)
2665 // Toggle the bluetooth audio connection state:
2670 // Bluetooth audio routing to handle it, since there's other
2674 // manually disconnect the active bluetooth headset;
2683 // Bluetooth isn't available; the onscreen UI shouldn't have
2685 Log.w(LOG_TAG, "toggleBluetooth(): bluetooth is unavailable");
2696 * bluetooth, and the built-in earpiece (or wired headset.)
2700 * Speaker and Bluetooth, see toggleBluetooth() and toggleSpeaker().
2703 * eliminating the concept of Speaker and Bluetooth toggle buttons,
2711 // Switch away from Bluetooth, if it was active.
2719 case BLUETOOTH:
2723 // Bluetooth audio routing to handle it, since there's other
2727 // manually disconnect the active bluetooth headset;
2738 // (Do this by simply making sure both speaker and bluetooth are off.)
4004 Bluetooth helper methods.
4006 // - BluetoothAdapter is the Bluetooth system service. If
4012 // Bluetooth Headset. This lets you completely connect/disconnect a
4018 // a bluetooth headset. We use this API to switch the headset on and
4019 // off when the user presses the "Bluetooth" button.
4025 * @return true if the Bluetooth on/off switch in the UI should be
4037 // There's no need to ask the Bluetooth system service if BT is enabled:
4085 * Helper method used to control the onscreen "Bluetooth" indication;
4124 * based on a bluetooth headset state change.
4129 // care about the bluetooth state (i.e. the CallCard) get
4168 // Watch out: The bluetooth connection doesn't happen instantly;