/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 154 Parcelable[] uuids = intent.getParcelableArrayExtra(BluetoothDevice.EXTRA_UUID); in handleMessage() local 156 if (uuids != null) { in handleMessage() 157 ParcelUuid[] uuidsToSend = new ParcelUuid[uuids.length]; in handleMessage() 159 uuidsToSend[i] = (ParcelUuid) uuids[i]; in handleMessage() 227 private void processInitProfilePriorities(BluetoothDevice device, ParcelUuid[] uuids) { in processInitProfilePriorities() argument 237 if ((hidService != null) && (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) in processInitProfilePriorities() 238 || BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) && ( in processInitProfilePriorities() 244 if ((headsetService != null) && ((BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP) in processInitProfilePriorities() 245 || BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree)) && ( in processInitProfilePriorities() 250 if ((a2dpService != null) && (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSink) in processInitProfilePriorities() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanClient.java | 36 public UUID[] uuids; field in ScanClient 59 ScanClient(int scannerId, UUID[] uuids) { in ScanClient() argument 60 this(scannerId, uuids, DEFAULT_SCAN_SETTINGS, null, null); in ScanClient() 72 private ScanClient(int scannerId, UUID[] uuids, ScanSettings settings, List<ScanFilter> filters, in ScanClient() argument 75 this.uuids = uuids; in ScanClient()
|
D | GattService.java | 968 if (client.uuids.length > 0) { in onScanResult() 970 for (UUID search : client.uuids) { in onScanResult() 979 if (matches < client.uuids.length) { in onScanResult() 3134 List<UUID> uuids = new ArrayList<UUID>(); in parseUuids() local 3151 uuids.add(UUID.fromString( in parseUuids() 3162 return uuids; in parseUuids()
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothProfileDeviceManager.java | 78 private BluetoothProfileInfo(String action, String settingsKey, ParcelUuid[] uuids, in BluetoothProfileInfo() argument 82 mUuids = uuids; in BluetoothProfileInfo() 156 Parcelable[] uuids = intent.getParcelableArrayExtra(BluetoothDevice.EXTRA_UUID); in onReceive() local 157 handleDeviceUuidEvent(device, uuids); in onReceive() 230 private void handleDeviceUuidEvent(BluetoothDevice device, Parcelable[] uuids) { in handleDeviceUuidEvent() argument 232 if (uuids != null) { in handleDeviceUuidEvent() 233 ParcelUuid[] uuidsToSend = new ParcelUuid[uuids.length]; in handleDeviceUuidEvent() 235 uuidsToSend[i] = (ParcelUuid) uuids[i]; in handleDeviceUuidEvent() 734 private void provisionDeviceIfSupported(BluetoothDevice device, ParcelUuid[] uuids) { in provisionDeviceIfSupported() argument 736 if (BluetoothUuid.containsAnyUuid(uuids, mProfileUuids)) { in provisionDeviceIfSupported()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 124 int transport, OobData oobData, ParcelUuid[] uuids, BluetoothClass btClass, in BluetoothPeripheralHandover() argument 139 mIsHeadsetAvailable = hasHeadsetCapability(uuids, btClass); in BluetoothPeripheralHandover() 140 mIsA2dpAvailable = hasA2dpCapability(uuids, btClass); in BluetoothPeripheralHandover() 586 boolean hasA2dpCapability(ParcelUuid[] uuids, BluetoothClass btClass) { in hasA2dpCapability() argument 587 if (uuids != null) { in hasA2dpCapability() 588 for (ParcelUuid uuid : uuids) { in hasA2dpCapability() 600 boolean hasHeadsetCapability(ParcelUuid[] uuids, BluetoothClass btClass) { in hasHeadsetCapability() argument 601 if (uuids != null) { in hasHeadsetCapability() 602 for (ParcelUuid uuid : uuids) { in hasHeadsetCapability()
|
D | PeripheralHandoverService.java | 168 ParcelUuid[] uuids = null; in doPeripheralHandover() local 170 uuids = new ParcelUuid[parcelables.length]; in doPeripheralHandover() 172 uuids[i] = (ParcelUuid)parcelables[i]; in doPeripheralHandover() 180 this, mDevice, name, transport, oobData, uuids, btClass, this); in doPeripheralHandover()
|
D | HandoverDataParser.java | 100 public ParcelUuid[] uuids = null; field in HandoverDataParser.BluetoothHandoverData 428 result.uuids = parseUuidFromBluetoothRecord(payload, type, len - 1); in parseBtOob() 429 if (result.uuids != null) { in parseBtOob() 615 ParcelUuid[] uuids = new ParcelUuid[num]; in parseUuidFromBluetoothRecord() local 619 uuids[i] = BluetoothUuid.parseUuidFrom(data); in parseUuidFromBluetoothRecord() 621 return uuids; in parseUuidFromBluetoothRecord()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 153 public static byte[] uuidsToByteArray(ParcelUuid[] uuids) { in uuidsToByteArray() argument 154 int length = uuids.length * BD_UUID_LEN; in uuidsToByteArray() 159 for (int i = 0; i < uuids.length; i++) { in uuidsToByteArray() 160 uuid = uuids[i].getUuid(); in uuidsToByteArray()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 115 ParcelUuid[] uuids = new ParcelUuid[2]; in testProcessInitProfilePriorities() local 116 uuids[0] = BluetoothUuid.Handsfree; in testProcessInitProfilePriorities() 117 uuids[1] = BluetoothUuid.AudioSink; in testProcessInitProfilePriorities() 118 intent.putExtra(BluetoothDevice.EXTRA_UUID, uuids); in testProcessInitProfilePriorities()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 674 if (handover.uuids != null) { in tryPeripheralHandover() 675 intent.putExtra(PeripheralHandoverService.EXTRA_PERIPHERAL_UUIDS, handover.uuids); in tryPeripheralHandover()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothProfileDeviceManagerTest.java | 314 private void sendDeviceUuids(BluetoothDevice device, ParcelUuid[] uuids) { in sendDeviceUuids() argument 318 intent.putExtra(BluetoothDevice.EXTRA_UUID, uuids); in sendDeviceUuids()
|