/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 138 Parcelable[] uuids = in handleMessage() local 141 Log.d(TAG, "UUIDs on ACTION_UUID: " + uuids + " for device " + device); in handleMessage() 142 if (uuids != null) { in handleMessage() 143 ParcelUuid[] uuidsToSend = new ParcelUuid[uuids.length]; in handleMessage() 145 uuidsToSend[i] = (ParcelUuid) uuids[i]; in handleMessage() 194 private void processInitProfilePriorities(BluetoothDevice device, ParcelUuid[] uuids) { in processInitProfilePriorities() argument 195 debugLog("processInitProfilePriorities() - device " + device + " UUIDs " + uuids); in processInitProfilePriorities() 204 && (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) in processInitProfilePriorities() 205 || BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) in processInitProfilePriorities() 212 && ((BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP) in processInitProfilePriorities() [all …]
|
D | AdapterProperties.java | 235 boolean setUuids(ParcelUuid[] uuids) { in setUuids() argument 238 AbstractionLayer.BT_PROPERTY_UUIDS, Utils.uuidsToByteArray(uuids)); in setUuids()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanClient.java | 34 UUID[] uuids; field in ScanClient 54 ScanClient(int scannerId, UUID[] uuids) { in ScanClient() argument 55 this(scannerId, uuids, DEFAULT_SCAN_SETTINGS, null, null); in ScanClient() 68 private ScanClient(int scannerId, UUID[] uuids, ScanSettings settings, List<ScanFilter> filters, in ScanClient() argument 71 this.uuids = uuids; in ScanClient()
|
D | GattService.java | 733 if (client.uuids.length > 0) { in onScanResult() 735 for (UUID search : client.uuids) { in onScanResult() 744 if (matches < client.uuids.length) continue; in onScanResult() 2579 List<UUID> uuids = new ArrayList<UUID>(); in parseUuids() local 2594 uuids.add(UUID.fromString(String.format( in parseUuids() 2605 return uuids; in parseUuids()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 120 int transport, OobData oobData, ParcelUuid[] uuids, BluetoothClass btClass, in BluetoothPeripheralHandover() argument 135 mIsHeadsetAvailable = hasHeadsetCapability(uuids, btClass); in BluetoothPeripheralHandover() 136 mIsA2dpAvailable = hasA2dpCapability(uuids, btClass); in BluetoothPeripheralHandover() 551 boolean hasA2dpCapability(ParcelUuid[] uuids, BluetoothClass btClass) { in hasA2dpCapability() argument 552 if (uuids != null) { in hasA2dpCapability() 553 for (ParcelUuid uuid : uuids) { in hasA2dpCapability() 565 boolean hasHeadsetCapability(ParcelUuid[] uuids, BluetoothClass btClass) { in hasHeadsetCapability() argument 566 if (uuids != null) { in hasHeadsetCapability() 567 for (ParcelUuid uuid : uuids) { in hasHeadsetCapability()
|
D | HandoverDataParser.java | 100 public ParcelUuid[] uuids = null; field in HandoverDataParser.BluetoothHandoverData 423 result.uuids = parseUuidFromBluetoothRecord(payload, type, len - 1); in parseBtOob() 424 if (result.uuids != null) { in parseBtOob() 602 ParcelUuid[] uuids = new ParcelUuid[num]; in parseUuidFromBluetoothRecord() local 606 uuids[i] = BluetoothUuid.parseUuidFrom(data); in parseUuidFromBluetoothRecord() 608 return uuids; in parseUuidFromBluetoothRecord()
|
D | PeripheralHandoverService.java | 171 ParcelUuid[] uuids = null; in doPeripheralHandover() local 173 uuids = new ParcelUuid[parcelables.length]; in doPeripheralHandover() 175 uuids[i] = (ParcelUuid)parcelables[i]; in doPeripheralHandover() 180 this, device, name, transport, oobData, uuids, btClass, this); in doPeripheralHandover()
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicy.java | 299 Parcelable[] uuids = intent.getParcelableArrayExtra(BluetoothDevice.EXTRA_UUID); in onReceive() local 300 if (uuids != null) { in onReceive() 301 ParcelUuid[] uuidsToSend = new ParcelUuid[uuids.length]; in onReceive() 303 uuidsToSend[i] = (ParcelUuid)uuids[i]; in onReceive() 334 private void setProfilePriorities(BluetoothDevice device, ParcelUuid[] uuids, int priority) { in setProfilePriorities() argument 341 setBluetoothProfilePriorityIfUuidFound(uuids, profile, device, priority); in setProfilePriorities() 346 private void setBluetoothProfilePriorityIfUuidFound(ParcelUuid[] uuids, int profile, in setBluetoothProfilePriorityIfUuidFound() argument 370 if (BluetoothUuid.isUuidPresent(uuids, uuid)) { in setBluetoothProfilePriorityIfUuidFound()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 130 public static byte[] uuidsToByteArray(ParcelUuid[] uuids) { in uuidsToByteArray() argument 131 int length = uuids.length * BD_UUID_LEN; in uuidsToByteArray() 136 for (int i = 0; i < uuids.length; i++) { in uuidsToByteArray() 137 uuid = uuids[i].getUuid(); in uuidsToByteArray()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 105 ParcelUuid[] uuids = new ParcelUuid[2]; in testProcessInitProfilePriorities() local 106 uuids[0] = BluetoothUuid.Handsfree; in testProcessInitProfilePriorities() 107 uuids[1] = BluetoothUuid.AudioSink; in testProcessInitProfilePriorities() 109 intent.putExtra(BluetoothDevice.EXTRA_UUID, uuids); in testProcessInitProfilePriorities()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 630 if (handover.uuids != null) { in tryPeripheralHandover() 631 intent.putExtra(PeripheralHandoverService.EXTRA_PERIPHERAL_UUIDS, handover.uuids); in tryPeripheralHandover()
|