Home
last modified time | relevance | path

Searched refs:BLUETOOTH_SCAN (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java23 import static android.Manifest.permission.BLUETOOTH_SCAN;
505 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
507 return checkPermissionForPreflight(context, BLUETOOTH_SCAN); in checkScanPermissionForPreflight()
518 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
521 return checkPermissionForDataDelivery(context, BLUETOOTH_SCAN, in checkScanPermissionForDataDelivery()
588 if (pkgInfo.requestedPermissions[i].equals(BLUETOOTH_SCAN)) { in hasDisavowedLocationForScan()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java20 import static android.Manifest.permission.BLUETOOTH_SCAN;
892 mService.sendBroadcast(intent, BLUETOOTH_SCAN, in adapterPropertyChangedCallback()
1040 mService.sendBroadcast(intent, BLUETOOTH_SCAN, in discoveryStateChangeCallback()
1046 mService.sendBroadcast(intent, BLUETOOTH_SCAN, in discoveryStateChangeCallback()
DRemoteDevices.java20 import static android.Manifest.permission.BLUETOOTH_SCAN;
645 new String[] { BLUETOOTH_SCAN, pkg.getPermission() }, in deviceFoundCallback()
649 new String[] { BLUETOOTH_SCAN }, in deviceFoundCallback()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java2010 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2194 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2221 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2255 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2313 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2404 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2416 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2437 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2485 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
2495 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
DScanManager.java376 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
435 @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN)
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java19 import static android.Manifest.permission.BLUETOOTH_SCAN;
268 .sendBroadcast(any(), eq(BLUETOOTH_SCAN), in doEnable()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java254 PLATFORM_PERMISSIONS.put(Manifest.permission.BLUETOOTH_SCAN, NEARBY_DEVICES); in PLATFORM_PERMISSIONS.put() argument