Home | History | Annotate | Download | only in phone

Lines Matching refs:bluetooth

20 import android.bluetooth.BluetoothAudioGateway;
21 import android.bluetooth.BluetoothAdapter;
22 import android.bluetooth.BluetoothDevice;
23 import android.bluetooth.BluetoothHeadset;
24 import android.bluetooth.BluetoothUuid;
25 import android.bluetooth.HeadsetBase;
26 import android.bluetooth.IBluetoothHeadset;
52 * Provides Bluetooth Headset and Handsfree profile, as a service in
66 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH;
313 // Bluetooth Headset Connect
555 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
559 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
593 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
644 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
653 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
671 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
676 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
703 return false; // for example, bluetooth is off