Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanFilter.java95 ParcelUuid serviceDataUuid, in ScanFilter() argument
113 mServiceDataUuid = serviceDataUuid; in ScanFilter()
256 ParcelUuid serviceDataUuid =
263 builder.setServiceData(serviceDataUuid, serviceData);
269 serviceDataUuid, serviceData, serviceDataMask);
936 public Builder setServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) { in setServiceData() argument
937 if (serviceDataUuid == null) { in setServiceData()
940 mServiceDataUuid = serviceDataUuid; in setServiceData()
957 ParcelUuid serviceDataUuid, byte[] serviceData, byte[] serviceDataMask) { in setServiceData() argument
958 if (serviceDataUuid == null) { in setServiceData()
[all …]
DAdvertiseData.java238 ParcelUuid serviceDataUuid = in.readTypedObject(ParcelUuid.CREATOR);
240 builder.addServiceData(serviceDataUuid, serviceData);
299 public Builder addServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) { in addServiceData() argument
300 if (serviceDataUuid == null || serviceData == null) { in addServiceData()
303 mServiceData.put(serviceDataUuid, serviceData); in addServiceData()
DScanRecord.java420 public byte[] getServiceData(ParcelUuid serviceDataUuid) { in getServiceData() argument
421 if (serviceDataUuid == null || mServiceData == null) { in getServiceData()
424 return mServiceData.get(serviceDataUuid); in getServiceData()
629 ParcelUuid serviceDataUuid = in parseFromBytes() local
636 serviceData.put(serviceDataUuid, serviceDataArray); in parseFromBytes()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanFilterQueue.java252 ParcelUuid serviceDataUuid = filter.getServiceDataUuid(); in addScanFilter() local
259 serviceData = concate(serviceDataUuid, serviceData); in addScanFilter()
260 serviceDataMask = concate(serviceDataUuid, serviceDataMask); in addScanFilter()
296 private byte[] concate(ParcelUuid serviceDataUuid, byte[] serviceData) { in concate() argument
297 byte[] uuid = BluetoothUuid.uuidToBytes(serviceDataUuid); in concate()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanFilterQueueTest.java179 ParcelUuid serviceDataUuid = ParcelUuid.fromString(UUID.randomUUID().toString()); in queueAddScanFilter() local
190 .setServiceData(serviceDataUuid, serviceData) in queueAddScanFilter()