Searched refs:BLUETOOTH_PERM (Results 1 - 23 of 23) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java512 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
517 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
522 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
549 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
560 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
617 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
629 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
642 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
655 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
669 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Nee
[all...]
H A DHeadsetClientStateMachine.java328 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1768 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1788 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1799 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1810 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1821 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1833 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1861 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1919 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
1996 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java147 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
152 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
157 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
221 enforceCallingOrSelfPermission(BLUETOOTH_PERM,
230 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
H A DA2dpSinkStateMachine.java752 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
762 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
818 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java386 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
391 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
396 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
420 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
431 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
446 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
451 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
484 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
497 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
541 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Nee
[all...]
H A DHeadsetStateMachine.java2429 HeadsetService.BLUETOOTH_PERM);
2443 HeadsetService.BLUETOOTH_PERM);
2469 HeadsetService.BLUETOOTH_PERM);
3177 mService.sendBroadcast(intent, HeadsetService.BLUETOOTH_PERM);
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java166 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
171 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
176 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
223 enforceCallingOrSelfPermission(BLUETOOTH_PERM,
H A DA2dpStateMachine.java733 mContext.sendBroadcast(intent, A2dpService.BLUETOOTH_PERM);
777 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java125 static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in class:AdapterService
1454 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1459 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1493 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1501 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1507 enforceCallingOrSelfPermission(BLUETOOTH_PERM,
1526 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1532 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1541 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1547 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Nee
[all...]
H A DRemoteDevices.java213 mAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_PERM);
292 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM);
314 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM);
357 new String[] {AdapterService.BLUETOOTH_PERM,
388 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM);
399 mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM);
H A DAdapterProperties.java350 mService.BLUETOOTH_PERM);
483 mService.BLUETOOTH_PERM);
500 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM);
631 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM);
635 mService.sendBroadcast(intent, mService.BLUETOOTH_PERM);
H A DProfileService.java42 public static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in class:ProfileService
H A DBondStateMachine.java346 AdapterService.BLUETOOTH_PERM);
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcpControllerService.java181 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
186 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
196 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
213 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
233 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
287 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
309 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
318 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
323 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
330 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Nee
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java1250 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1381 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1390 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1398 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1405 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1440 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1450 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1457 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1469 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
1489 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Nee
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientService.java281 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
287 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
303 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
H A DPbapPCEClient.java275 mContext.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java405 enforceCallingOrSelfPermission(BLUETOOTH_PERM,
418 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
430 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
436 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
442 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
455 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
470 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
475 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
482 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java399 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
415 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
429 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
618 sendBroadcast(intent, BLUETOOTH_PERM);
626 sendBroadcast(intent, BLUETOOTH_PERM);
634 sendBroadcast(intent, BLUETOOTH_PERM);
644 sendBroadcast(intent, BLUETOOTH_PERM);
652 sendBroadcast(intent, BLUETOOTH_PERM);
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java257 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
268 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
313 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
320 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
469 sendBroadcast(intent, BLUETOOTH_PERM);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapService.java130 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in class:BluetoothPbapService
760 sendBroadcast(intent, BLUETOOTH_PERM);
836 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
848 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
861 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapService.java472 sendBroadcast(intent, BLUETOOTH_PERM);
652 sendBroadcast(intent, BLUETOOTH_PERM);
661 sendBroadcast(timeoutIntent, BLUETOOTH_PERM);
787 mService.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java100 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in class:BluetoothMapService
496 sendBroadcast(intent, BLUETOOTH_PERM);
975 sendBroadcast(timeoutIntent, BLUETOOTH_PERM);
1151 sendBroadcast(timeoutIntent, BLUETOOTH_PERM);
1177 mService.enforceCallingOrSelfPermission(BLUETOOTH_PERM,"Need BLUETOOTH permission");

Completed in 1695 milliseconds