Home
last modified time | relevance | path

Searched refs:serviceUuids (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java152 private ScanRecord(List<ParcelUuid> serviceUuids, in ScanRecord() argument
157 mServiceUuids = serviceUuids; in ScanRecord()
184 List<ParcelUuid> serviceUuids = new ArrayList<ParcelUuid>(); in parseFromBytes() local
209 dataLength, BluetoothUuid.UUID_BYTES_16_BIT, serviceUuids); in parseFromBytes()
214 BluetoothUuid.UUID_BYTES_32_BIT, serviceUuids); in parseFromBytes()
219 BluetoothUuid.UUID_BYTES_128_BIT, serviceUuids); in parseFromBytes()
263 if (serviceUuids.isEmpty()) { in parseFromBytes()
264 serviceUuids = null; in parseFromBytes()
266 return new ScanRecord(serviceUuids, manufacturerData, serviceData, in parseFromBytes()
286 int uuidLength, List<ParcelUuid> serviceUuids) { in parseServiceUuid() argument
[all …]
DAdvertiseData.java51 private AdvertiseData(List<ParcelUuid> serviceUuids, in AdvertiseData() argument
56 mServiceUuids = serviceUuids; in AdvertiseData()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java66 static boolean matchesServiceUuids(List<ParcelUuid> serviceUuids, in matchesServiceUuids() argument
68 for (int i = 0; i < serviceUuids.size(); i++) { in matchesServiceUuids()
69 ParcelUuid uuid = serviceUuids.get(i); in matchesServiceUuids()
DBluetoothDeviceFilter.java54 List<ParcelUuid> serviceUuids, in BluetoothDeviceFilter() argument
58 mServiceUuids = CollectionUtils.emptyIfNull(serviceUuids); in BluetoothDeviceFilter()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java2399 public boolean startLeScan(final UUID[] serviceUuids, final LeScanCallback callback) { in startLeScan() argument
2400 if (DBG) Log.d(TAG, "startLeScan(): " + Arrays.toString(serviceUuids)); in startLeScan()
2436 if (serviceUuids != null) { in startLeScan()
2438 for (UUID uuid : serviceUuids) { in startLeScan()
2456 if (serviceUuids != null && serviceUuids.length > 0) { in startLeScan()
2460 new ParcelUuid(serviceUuids[0])).build(); in startLeScan()