Searched refs:serviceData (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
D | AdvertiseData.java | 53 Map<ParcelUuid, byte[]> serviceData, in AdvertiseData() argument 58 mServiceData = serviceData; in AdvertiseData() 208 byte[] serviceData = new byte[serviceDataLength]; 209 in.readByteArray(serviceData); 210 builder.addServiceData(serviceDataUuid, serviceData); 252 public Builder addServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) { in addServiceData() argument 253 if (serviceDataUuid == null || serviceData == null) { in addServiceData() 257 mServiceData.put(serviceDataUuid, serviceData); in addServiceData()
|
D | ScanFilter.java | 79 byte[] serviceData, byte[] serviceDataMask, in ScanFilter() argument 86 mServiceData = serviceData; in ScanFilter() 179 byte[] serviceData = new byte[serviceDataLength]; 180 in.readByteArray(serviceData); 182 builder.setServiceData(servcieDataUuid, serviceData); 188 servcieDataUuid, serviceData, serviceDataMask); 500 public Builder setServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) { in setServiceData() argument 505 mServiceData = serviceData; in setServiceData() 521 byte[] serviceData, byte[] serviceDataMask) { in setServiceData() argument 538 mServiceData = serviceData; in setServiceData()
|
D | ScanRecord.java | 154 Map<ParcelUuid, byte[]> serviceData, in ScanRecord() argument 159 mServiceData = serviceData; in ScanRecord() 189 Map<ParcelUuid, byte[]> serviceData = new ArrayMap<ParcelUuid, byte[]>(); in parseFromBytes() local 245 serviceData.put(serviceDataUuid, serviceDataArray); in parseFromBytes() 266 return new ScanRecord(serviceUuids, manufacturerData, serviceData, in parseFromBytes()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | AdvertiseDataTest.java | 81 byte[] serviceData = new byte[0]; in testEmptyServiceData() 84 .addServiceData(uuid, serviceData).build(); in testEmptyServiceData() 133 byte[] serviceData = new byte[] { in testServiceData() 137 .addServiceData(uuid, serviceData).build(); in testServiceData()
|
D | ScanFilterTest.java | 174 byte[] serviceData = new byte[] { in testReadWriteParcel() 178 filter = mFilterBuilder.setServiceData(serviceDataUuid, serviceData).build(); in testReadWriteParcel() 186 filter = mFilterBuilder.setServiceData(serviceDataUuid, serviceData, serviceDataMask) in testReadWriteParcel()
|