Lines Matching defs:bluetooth
17 package com.android.bluetooth.hfp;
19 import android.bluetooth.BluetoothDevice;
20 import android.bluetooth.BluetoothHeadset;
21 import android.bluetooth.BluetoothProfile;
22 import android.bluetooth.IBluetoothHeadset;
33 import com.android.bluetooth.btservice.ProfileService;
34 import com.android.bluetooth.Utils;
41 * Provides Bluetooth Headset and Handsfree profile, as a service in
42 * the Bluetooth application.
332 "Need BLUETOOTH ADMIN permission");
351 "Need BLUETOOTH ADMIN permission");
363 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
368 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
373 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
397 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
408 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
423 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
428 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
452 // TODO(BT) BLUETOOTH or BLUETOOTH_ADMIN permission
453 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
465 // TODO(BT) BLUETOOTH or BLUETOOTH_ADMIN permission
466 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
513 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
529 // TODO(BT) BLUETOOTH or BLUETOOTH_ADMIN permission
530 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
546 // TODO(BT) BLUETOOTH or BLUETOOTH_ADMIN permission
547 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");