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.java513 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in registerApp()
560 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in unregisterApp()
585 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in sendReport()
595 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in replyReport()
605 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in unplug()
621 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in connect()
636 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in disconnect()
704 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in reportError()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java713 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in connect()
771 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnect()
1032 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setAudioRouteAllowed()
1044 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setForceScoAudio()
1118 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setActiveDevice()
1196 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connectAudio()
1208 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connectAudio()
1251 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnectAudio()
1269 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnectAudio()
1294 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.java123 private static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in BluetoothPbapService
369 sendBroadcast(intent, BLUETOOTH_ADMIN_PERM); in handleMessage()
522 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getConnectionPolicy()
532 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnect()
791 this.sendOrderedBroadcast(intent, BluetoothPbapService.BLUETOOTH_ADMIN_PERM); in checkOrGetPhonebookPermission()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java481 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connect()
508 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnect()
586 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in setConnectionPolicy()
616 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getConnectionPolicy()
662 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in connectAudio()
680 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in disconnectAudio()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java241 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in connect()
293 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in disconnect()
515 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in setActiveDevice()
841 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in getSupportsOptionalCodecs()
846 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in setSupportsOptionalCodecs()
862 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getOptionalCodecsEnabled()
877 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.java356 mAdapterService.sendOrderedBroadcast(intent, AdapterService.BLUETOOTH_ADMIN_PERM); in sendDisplayPinIntent()
DRemoteDevices.java385 sAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_ADMIN_PERM); in sendUuidIntent()
DAdapterService.java152 public static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in AdapterService
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java298 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH ADMIN permission"); in disconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java99 private static final String BLUETOOTH_ADMIN_PERM = android.Manifest.permission.BLUETOOTH_ADMIN; field in BluetoothMapService
927 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.java471 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java545 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.java3067 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, "Need BLUETOOTH_ADMIN permission"); in enforceAdminPermission()