Home
last modified time | relevance | path

Searched refs:serviceDataMask (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanFilterQueueTest.java70 byte[] serviceDataMask = new byte[] {0x08}; in scanFilterQueueParams()
71 queue.addServiceData(serviceData, serviceDataMask); in scanFilterQueueParams()
108 assertThat(entry.data_mask).isEqualTo(serviceDataMask); in scanFilterQueueParams()
132 byte[] serviceDataMask = new byte[] {0x04}; in popFromQueue()
133 queue.addServiceData(serviceData, serviceDataMask); in popFromQueue()
137 assertThat(entry.data_mask).isEqualTo(serviceDataMask); in popFromQueue()
145 byte[] serviceDataMask = new byte[] {0x04}; in checkFeatureSelection()
146 queue.addServiceData(serviceData, serviceDataMask); in checkFeatureSelection()
157 byte[] serviceDataMask = new byte[] {0x04}; in convertQueueToArray()
158 queue.addServiceData(serviceData, serviceDataMask); in convertQueueToArray()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanFilterQueue.java254 byte[] serviceDataMask = filter.getServiceDataMask(); in addScanFilter()
255 if (serviceDataMask == null) { in addScanFilter()
256 serviceDataMask = new byte[serviceData.length]; in addScanFilter()
257 Arrays.fill(serviceDataMask, (byte) 0xFF); in addScanFilter()
260 serviceDataMask = concate(serviceDataUuid, serviceDataMask); in addScanFilter()
261 if (serviceData != null && serviceDataMask != null) { in addScanFilter()
262 addServiceData(serviceData, serviceDataMask); in addScanFilter()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanFilter.java97 byte[] serviceDataMask, in ScanFilter() argument
115 mServiceDataMask = serviceDataMask; in ScanFilter()
266 byte[] serviceDataMask = new byte[serviceDataMaskLength];
267 in.readByteArray(serviceDataMask);
269 serviceDataUuid, serviceData, serviceDataMask);
957 ParcelUuid serviceDataUuid, byte[] serviceData, byte[] serviceDataMask) { in setServiceData() argument
975 mServiceDataMask = serviceDataMask; in setServiceData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java1722 byte[] serviceDataMask = {0x00, 0x00, 0x00}; in startSearchingForSources()
1727 BassConstants.BAAS_UUID, serviceData, serviceDataMask) in startSearchingForSources()