Searched refs:serviceData (Results 1 – 5 of 5) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerService.java | 168 Map<ParcelUuid, byte[]> serviceData = record.getServiceData(); in onScanResult() local 170 if (serviceData.get(new ParcelUuid(BleAdvertiserService.POWER_LEVEL_UUID)) != null) { in onScanResult() 172 serviceData.get(new ParcelUuid(BleAdvertiserService.POWER_LEVEL_UUID)); in onScanResult() 195 if (serviceData.get(new ParcelUuid(BleAdvertiserService.SCAN_RESP_UUID)) != null) { in onScanResult() 202 if (serviceData.containsKey(new ParcelUuid(BleAdvertiserService.SCANNABLE_UUID))) { in onScanResult() 204 data = serviceData.get(new ParcelUuid(BleAdvertiserService.SCANNABLE_UUID)); in onScanResult() 206 if (serviceData.containsKey(new ParcelUuid(BleAdvertiserService.UNSCANNABLE_UUID))) { in onScanResult() 208 data = serviceData.get(new ParcelUuid(BleAdvertiserService.UNSCANNABLE_UUID)); in onScanResult()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | AdvertiseDataTest.java | 89 byte[] serviceData = new byte[0]; in testEmptyServiceData() 92 .addServiceData(uuid, serviceData).build(); in testEmptyServiceData() 146 byte[] serviceData = new byte[] { in testServiceData() 150 .addServiceData(uuid, serviceData).build(); in testServiceData() 156 TestUtils.assertArrayEquals(serviceData, dataFromParcel.getServiceData().get(uuid)); in testServiceData()
|
D | ScanRecordTest.java | 71 final byte[] serviceData = new byte[] { in testParser() 73 TestUtils.assertArrayEquals(serviceData, data.getServiceData().get(uuid2)); in testParser() 74 TestUtils.assertArrayEquals(serviceData, data.getServiceData(uuid2)); in testParser()
|
D | BluetoothLeScanTest.java | 167 Map<ParcelUuid, byte[]> serviceData = record.getServiceData(); in createScanFilter() local 168 if (serviceData != null && !serviceData.isEmpty()) { in createScanFilter() 169 ParcelUuid uuid = serviceData.keySet().iterator().next(); in createScanFilter()
|
D | ScanFilterTest.java | 235 byte[] serviceData = new byte[] { in testReadWriteParcel() 239 filter = mFilterBuilder.setServiceData(serviceDataUuid, serviceData).build(); in testReadWriteParcel() 247 filter = mFilterBuilder.setServiceData(serviceDataUuid, serviceData, serviceDataMask) in testReadWriteParcel()
|