/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 114 static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in AdapterService 1156 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in isEnabled() 1162 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getState() 1204 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getAddress() 1212 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getUuids() 1218 enforceCallingOrSelfPermission(BLUETOOTH_PERM, in getName() 1237 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getScanMode() 1243 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in setScanMode() 1252 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDiscoverableTimeout() 1258 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in setDiscoverableTimeout() [all …]
|
D | AdapterProperties.java | 366 mService.BLUETOOTH_PERM); in sendConnectionStateChange() 499 mService.BLUETOOTH_PERM); in adapterPropertyChangedCallback() 516 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM); in adapterPropertyChangedCallback() 618 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM); in discoveryStateChangeCallback() 622 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM); in discoveryStateChangeCallback()
|
D | RemoteDevices.java | 277 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in devicePropertyChangedCallback() 299 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in devicePropertyChangedCallback() 340 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in deviceFoundCallback() 365 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in aclStateChangeCallback()
|
D | ProfileService.java | 42 public static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in ProfileService
|
D | BondStateMachine.java | 321 AdapterService.BLUETOOTH_PERM); in sendIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 471 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 476 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 481 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 508 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in startVoiceRecognition() 519 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in stopVoiceRecognition() 568 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in holdCall() 580 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in acceptCall() 593 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in rejectCall() 606 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in terminateCall() 620 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in enterPrivateMode() [all …]
|
D | HeadsetClientStateMachine.java | 318 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in sendCallChangedIntent() 1745 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1765 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1776 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1787 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1798 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1810 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1838 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1890 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1962 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 1265 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 1338 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in registerClient() 1347 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in unregisterClient() 1355 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in clientConnect() 1362 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in clientDisconnect() 1393 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 1403 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in refreshDevice() 1410 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in discoverServices() 1424 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in readCharacteristic() 1444 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in writeCharacteristic() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 363 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 368 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 373 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 397 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in startVoiceRecognition() 408 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in stopVoiceRecognition() 423 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in isAudioOn() 428 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in isAudioConnected() 453 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connectAudio() 466 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnectAudio() 513 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in sendVendorSpecificResultCode() [all …]
|
D | HeadsetStateMachine.java | 2315 HeadsetService.BLUETOOTH_PERM); in broadcastConnectionState() 2329 HeadsetService.BLUETOOTH_PERM); in broadcastAudioState() 2355 HeadsetService.BLUETOOTH_PERM); in broadcastVendorSpecificEventIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 405 enforceCallingOrSelfPermission(BLUETOOTH_PERM, in registerAppConfiguration() 418 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in unregisterAppConfiguration() 430 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connectChannelToSource() 436 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connectChannelToSink() 442 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnectChannel() 455 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getMainChannelFd() 470 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getHealthDeviceConnectionState() 475 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedHealthDevices() 482 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getHealthDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 399 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connect() 415 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnect() 429 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 618 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastConnectionState() 626 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastHandshake() 634 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastProtocolMode() 644 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastReport() 652 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastVirtualUnplugStatus()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpControllerService.java | 136 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 141 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 151 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 162 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in sendPassThroughCmd() 251 sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in onConnectionStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpSinkService.java | 132 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 137 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 142 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 147 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getAudioConfig()
|
D | A2dpService.java | 151 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 156 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 161 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 202 enforceCallingOrSelfPermission(BLUETOOTH_PERM, in isA2dpPlaying()
|
D | A2dpSinkStateMachine.java | 701 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastAudioState() 711 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastAudioConfig() 767 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in onConnectionStateChanged()
|
D | A2dpStateMachine.java | 695 mContext.sendBroadcast(intent, A2dpService.BLUETOOTH_PERM); in broadcastAudioState() 739 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in onConnectionStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 258 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connect() 269 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnect() 314 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 321 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 464 sendBroadcast(intent, BLUETOOTH_PERM); in handlePanDeviceStateChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 128 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in BluetoothPbapService 757 sendBroadcast(intent, BLUETOOTH_PERM); in setState() 833 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 845 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 858 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 105 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in BluetoothMapService 438 sendBroadcast(intent, BLUETOOTH_PERM); in setState() 856 sendBroadcast(timeoutIntent, BLUETOOTH_PERM); in sendShutdownMessage() 977 sendBroadcast(timeoutIntent, BLUETOOTH_PERM); in onReceive() 1002 … mService.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getService()
|