/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 124 static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in AdapterService 1388 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in isEnabled() 1393 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getState() 1433 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getAddress() 1441 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getUuids() 1447 enforceCallingOrSelfPermission(BLUETOOTH_PERM, in getName() 1466 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getScanMode() 1472 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in setScanMode() 1481 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDiscoverableTimeout() 1487 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in setDiscoverableTimeout() [all …]
|
D | RemoteDevices.java | 212 mAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_PERM); in setAlias() 322 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in devicePropertyChangedCallback() 344 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in devicePropertyChangedCallback() 387 new String[] {AdapterService.BLUETOOTH_PERM, in deviceFoundCallback() 415 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in aclStateChangeCallback() 431 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM); in aclStateChangeCallback()
|
D | AdapterProperties.java | 468 mService.BLUETOOTH_PERM); in sendConnectionStateChange() 601 mService.BLUETOOTH_PERM); in adapterPropertyChangedCallback() 612 intent, UserHandle.ALL, mService.BLUETOOTH_PERM); in adapterPropertyChangedCallback() 624 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM); in adapterPropertyChangedCallback() 772 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM); in discoveryStateChangeCallback() 777 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM); in discoveryStateChangeCallback()
|
D | ProfileService.java | 40 public static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in ProfileService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 379 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 384 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 389 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 410 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in startVoiceRecognition() 421 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in stopVoiceRecognition() 436 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in isAudioOn() 441 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in isAudioConnected() 474 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connectAudio() 490 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnectAudio() 533 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in sendVendorSpecificResultCode() [all …]
|
D | HeadsetStateMachine.java | 2315 HeadsetService.BLUETOOTH_PERM); in broadcastConnectionState() 2328 mService.sendBroadcastAsUser(intent, UserHandle.ALL, HeadsetService.BLUETOOTH_PERM); in broadcastAudioState() 2348 mService.sendBroadcastAsUser(intent, UserHandle.ALL, HeadsetService.BLUETOOTH_PERM); in broadcastVendorSpecificEventIntent() 3028 mService.sendBroadcast(intent, HeadsetService.BLUETOOTH_PERM); in sendIndicatorIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 520 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 533 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 547 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 630 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in holdCall() 648 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in acceptCall() 667 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in rejectCall() 686 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in terminateCall() 706 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in enterPrivateMode() 726 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in dial() 750 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in sendDTMF() [all …]
|
D | HeadsetClientStateMachine.java | 243 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in sendCallChangedIntent() 1225 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1245 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1255 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1265 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1275 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1339 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1627 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastAudioState() 1687 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastConnectionState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 1507 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 1552 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in registerScanner() 1566 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in unregisterScanner() 1779 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in registerClient() 1788 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in unregisterClient() 1796 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in clientConnect() 1806 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in clientDisconnect() 1815 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in clientSetPreferredPhy() 1828 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in clientReadPhy() 1855 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 279 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 291 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 302 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 317 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in sendGroupNavigationCmd() 335 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in sendPassThroughCmd() 356 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getMetaData() 389 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getPlaybackState() 408 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getPlayerSettings() 487 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getNowPlayingList() 517 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getFolderList() [all …]
|
D | AvrcpControllerStateMachine.java | 203 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 352 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 380 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in processMessage() 1036 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastMetaDataChanged() 1045 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastFolderList() 1054 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastPlayBackStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 214 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 219 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 224 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 271 enforceCallingOrSelfPermission(BLUETOOTH_PERM, in isA2dpPlaying() 278 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getCodecStatus() 284 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in setCodecConfigPreference() 290 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in enableOptionalCodecs() 296 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disableOptionalCodecs()
|
D | A2dpStateMachine.java | 822 mContext.sendBroadcast(intent, A2dpService.BLUETOOTH_PERM); in onCodecConfigChanged() 923 mContext.sendBroadcast(intent, A2dpService.BLUETOOTH_PERM); in broadcastAudioState() 968 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in onConnectionStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 402 enforceCallingOrSelfPermission(BLUETOOTH_PERM, in registerAppConfiguration() 421 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in unregisterAppConfiguration() 433 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connectChannelToSource() 439 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connectChannelToSink() 445 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnectChannel() 458 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getMainChannelFd() 473 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getHealthDeviceConnectionState() 478 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedHealthDevices() 485 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getHealthDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 401 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connect() 417 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnect() 431 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 611 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastConnectionState() 619 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastHandshake() 627 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastProtocolMode() 637 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastReport() 645 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastVirtualUnplugStatus()
|
D | HidDevService.java | 543 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 661 sendBroadcast(intent, BLUETOOTH_PERM); in broadcastConnectionState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 155 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 160 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 165 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState() 229 enforceCallingOrSelfPermission(BLUETOOTH_PERM, in isA2dpPlaying() 238 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getAudioConfig()
|
D | A2dpSinkStateMachine.java | 764 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastAudioState() 774 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in broadcastAudioConfig() 831 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in onConnectionStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 287 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in connect() 298 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in disconnect() 365 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 372 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 520 sendBroadcast(intent, BLUETOOTH_PERM); in handlePanDeviceStateChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 140 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in BluetoothPbapService 735 sendBroadcast(intent, BLUETOOTH_PERM); in setState() 904 BluetoothPbapService service = getService(BLUETOOTH_PERM); in getState() 912 BluetoothPbapService service = getService(BLUETOOTH_PERM); in getClient() 919 BluetoothPbapService service = getService(BLUETOOTH_PERM); in isConnected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 322 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectedDevices() 328 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getDevicesMatchingConnectionStates() 345 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getConnectionState()
|
D | PbapClientStateMachine.java | 331 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM); in onConnectionStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 468 sendBroadcast(intent, BLUETOOTH_PERM); in setState() 642 sendBroadcast(intent, BLUETOOTH_PERM); in sendCancelUserConfirmationIntent() 651 sendBroadcast(timeoutIntent, BLUETOOTH_PERM); in sendShutdownMessage() 784 … mService.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getService()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 99 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in BluetoothMapService 489 sendBroadcast(intent, BLUETOOTH_PERM); in setState() 960 sendBroadcast(timeoutIntent, BLUETOOTH_PERM); in sendShutdownMessage() 1148 mService.enforceCallingOrSelfPermission(BLUETOOTH_PERM,"Need BLUETOOTH permission"); in getService()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 45 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in MapClientService 223 mService.enforceCallingOrSelfPermission(BLUETOOTH_PERM, in getService()
|