Searched refs:serviceDataUuid (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanFilterTest.java | 100 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/ |
D | ScanRecord.java | 117 public byte[] getServiceData(ParcelUuid serviceDataUuid) { in getServiceData() argument 118 if (serviceDataUuid == null) { in getServiceData() 121 return mServiceData.get(serviceDataUuid); in getServiceData() 233 ParcelUuid serviceDataUuid = BluetoothUuid.parseUuidFrom( in parseFromBytes() local 237 serviceData.put(serviceDataUuid, serviceDataArray); in parseFromBytes()
|
D | AdvertiseData.java | 204 ParcelUuid serviceDataUuid = in.readParcelable( 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 | 74 ParcelUuid uuidMask, ParcelUuid serviceDataUuid, in ScanFilter() argument 81 mServiceDataUuid = serviceDataUuid; in ScanFilter() 496 public Builder setServiceData(ParcelUuid serviceDataUuid, byte[] serviceData) { in setServiceData() argument 497 if (serviceDataUuid == null) { in setServiceData() 500 mServiceDataUuid = serviceDataUuid; in setServiceData() 516 public Builder setServiceData(ParcelUuid serviceDataUuid, in setServiceData() argument 518 if (serviceDataUuid == null) { in setServiceData() 533 mServiceDataUuid = serviceDataUuid; in setServiceData()
|