Home
last modified time | relevance | path

Searched refs:BLUETOOTH_ADMIN_PERM (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java510 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in registerApp()
557 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in unregisterApp()
582 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in sendReport()
592 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in replyReport()
602 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in unplug()
618 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in connect()
633 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in disconnect()
699 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in reportError()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java709 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in connect()
767 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnect()
1025 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setAudioRouteAllowed()
1037 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setForceScoAudio()
1111 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setActiveDevice()
1189 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connectAudio()
1201 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connectAudio()
1244 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnectAudio()
1262 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnectAudio()
1287 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in startScoUsingVirtualVoiceCall()
[all …]
DAtPhonebook.java89 private static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in AtPhonebook
638 mContext.sendOrderedBroadcast(intent, BLUETOOTH_ADMIN_PERM); in checkAccessPermission()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java121 private static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in BluetoothPbapService
367 sendBroadcast(intent, BLUETOOTH_ADMIN_PERM); in handleMessage()
517 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getConnectionPolicy()
527 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnect()
783 this.sendOrderedBroadcast(intent, BluetoothPbapService.BLUETOOTH_ADMIN_PERM); in checkOrGetPhonebookPermission()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java475 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connect()
502 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnect()
580 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setConnectionPolicy()
607 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getConnectionPolicy()
653 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connectAudio()
671 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnectAudio()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java237 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in connect()
289 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in disconnect()
511 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in setActiveDevice()
825 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in getSupportsOptionalCodecs()
830 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in setSupportsOptionalCodecs()
846 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getOptionalCodecsEnabled()
861 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setOptionalCodecsEnabled()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DProfileService.java42 public static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in ProfileService
134 if (checkCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM) in onStartCommand()
DBondStateMachine.java358 mAdapterService.sendOrderedBroadcast(intent, AdapterService.BLUETOOTH_ADMIN_PERM); in sendDisplayPinIntent()
DRemoteDevices.java385 sAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_ADMIN_PERM); in sendUuidIntent()
DAdapterService.java153 public static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in AdapterService
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java292 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in disconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java97 private static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in BluetoothMapService
900 sendOrderedBroadcast(intent, BLUETOOTH_ADMIN_PERM); in onConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java458 sAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_ADMIN_PERM); in sendSdpIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java463 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java540 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in setActiveDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java395 sendBroadcast(intent, BLUETOOTH_ADMIN_PERM); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java3179 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in enforceAdminPermission()