Home
last modified time | relevance | path

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

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DScanFilterTest.java100 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testsetServiceDataFilter() local
101 ScanFilter filter = mFilterBuilder.setServiceData(serviceDataUuid, setServiceData).build(); in testsetServiceDataFilter()
105 filter = mFilterBuilder.setServiceData(serviceDataUuid, emptyData).build(); in testsetServiceDataFilter()
110 filter = mFilterBuilder.setServiceData(serviceDataUuid, prefixData).build(); in testsetServiceDataFilter()
117 filter = mFilterBuilder.setServiceData(serviceDataUuid, nonMatchData, mask).build(); in testsetServiceDataFilter()
120 filter = mFilterBuilder.setServiceData(serviceDataUuid, nonMatchData).build(); in testsetServiceDataFilter()
177 ParcelUuid serviceDataUuid = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testReadWriteParcel() local
178 filter = mFilterBuilder.setServiceData(serviceDataUuid, serviceData).build(); in testReadWriteParcel()
181 filter = mFilterBuilder.setServiceData(serviceDataUuid, new byte[0]).build(); in testReadWriteParcel()
186 filter = mFilterBuilder.setServiceData(serviceDataUuid, serviceData, serviceDataMask) in testReadWriteParcel()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DAdvertiseData.java185 ParcelUuid serviceDataUuid = in.readTypedObject(ParcelUuid.CREATOR);
187 builder.addServiceData(serviceDataUuid, serviceData);
228 public Builder addServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) { in addServiceData() argument
229 if (serviceDataUuid == null || serviceData == null) { in addServiceData()
233 mServiceData.put(serviceDataUuid, serviceData); in addServiceData()
DScanRecord.java138 public byte[] getServiceData(ParcelUuid serviceDataUuid) { in getServiceData() argument
139 if (serviceDataUuid == null || mServiceData == null) { in getServiceData()
142 return mServiceData.get(serviceDataUuid); in getServiceData()
276 ParcelUuid serviceDataUuid = BluetoothUuid.parseUuidFrom( in parseFromBytes() local
280 serviceData.put(serviceDataUuid, serviceDataArray); in parseFromBytes()
DScanFilter.java85 ParcelUuid solicitationUuidMask, ParcelUuid serviceDataUuid, in ScanFilter() argument
94 mServiceDataUuid = serviceDataUuid; in ScanFilter()
629 public Builder setServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) { in setServiceData() argument
630 if (serviceDataUuid == null) { in setServiceData()
633 mServiceDataUuid = serviceDataUuid; in setServiceData()
649 public Builder setServiceData(ParcelUuid serviceDataUuid, in setServiceData() argument
651 if (serviceDataUuid == null) { in setServiceData()
666 mServiceDataUuid = serviceDataUuid; in setServiceData()