Home
last modified time | relevance | path

Searched refs:serviceData (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanFilterQueue.java209 byte[] serviceData = filter.getServiceData(); in addScanFilter()
212 serviceDataMask = new byte[serviceData.length]; in addScanFilter()
215 serviceData = concate(serviceDataUuid, serviceData); in addScanFilter()
217 if (serviceData != null && serviceDataMask != null) { in addScanFilter()
218 addServiceData(serviceData, serviceDataMask); in addScanFilter()
223 private byte[] concate(ParcelUuid serviceDataUuid, byte[] serviceData) { in concate() argument
226 int dataLen = uuid.length + (serviceData == null ? 0 : serviceData.length); in concate()
233 if (serviceData != null) { in concate()
234 System.arraycopy(serviceData, 0, concated, uuid.length, serviceData.length); in concate()
DAdvertiseHelper.java139 byte[] serviceData = data.getServiceData().get(parcelUuid); in advertiseDataToBytes()
144 int dataLen = uuidLen + (serviceData == null ? 0 : serviceData.length); in advertiseDataToBytes()
149 if (serviceData != null) { in advertiseDataToBytes()
150 System.arraycopy(serviceData, 0, concated, uuidLen, serviceData.length); in advertiseDataToBytes()