Home | History | Annotate | Download | only in phone

Lines Matching defs:BLUETOOTH

24 import android.bluetooth.BluetoothAdapter;
25 import android.bluetooth.BluetoothDevice;
26 import android.bluetooth.BluetoothHeadset;
27 import android.bluetooth.BluetoothProfile;
259 BLUETOOTH, // Bluetooth headset (if available)
357 // The bluetooth headset state changed, so some UI
360 // elements that care about the bluetooth state get it
2835 * Toggles whether or not to route in-call audio to the bluetooth
2836 * headset, or do nothing (but log a warning) if no bluetooth device
2842 * simply "toggle bluetooth", we can get rid of this method.)
2848 // Toggle the bluetooth audio connection state:
2853 // Bluetooth audio routing to handle it, since there's other
2857 // manually disconnect the active bluetooth headset;
2866 // Bluetooth isn't available; the onscreen UI shouldn't have
2868 Log.w(LOG_TAG, "toggleBluetooth(): bluetooth is unavailable");
2879 * bluetooth, and the built-in earpiece (or wired headset.)
2883 * Speaker and Bluetooth, see toggleBluetooth() and toggleSpeaker().
2886 * eliminating the concept of Speaker and Bluetooth toggle buttons,
2894 // Switch away from Bluetooth, if it was active.
2902 case BLUETOOTH:
2906 // Bluetooth audio routing to handle it, since there's other
2910 // manually disconnect the active bluetooth headset;
2921 // (Do this by simply making sure both speaker and bluetooth are off.)
4094 // Bluetooth helper methods.
4096 // - BluetoothAdapter is the Bluetooth system service. If
4102 // Bluetooth Headset. This lets you completely connect/disconnect a
4108 // a bluetooth headset. We use this API to switch the headset on and
4109 // off when the user presses the "Bluetooth" button.
4115 * @return true if the Bluetooth on/off switch in the UI should be
4127 // There's no need to ask the Bluetooth system service if BT is enabled:
4175 * Helper method used to control the onscreen "Bluetooth" indication;
4214 * based on a bluetooth headset state change.
4219 // care about the bluetooth state (i.e. the CallCard) get
4258 // Watch out: The bluetooth connection doesn't happen instantly;