Searched refs:manufacturerData (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanFilter.java | 80 int manufacturerId, byte[] manufacturerData, byte[] manufacturerDataMask) { in ScanFilter() argument 89 mManufacturerData = manufacturerData; in ScanFilter() 196 byte[] manufacturerData = new byte[manufacturerDataLength]; 197 in.readByteArray(manufacturerData); 199 builder.setManufacturerData(manufacturerId, manufacturerData); 204 builder.setManufacturerData(manufacturerId, manufacturerData, 551 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData) { in setManufacturerData() argument 552 if (manufacturerData != null && manufacturerId < 0) { in setManufacturerData() 556 mManufacturerData = manufacturerData; in setManufacturerData() 571 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData, in setManufacturerData() argument [all …]
|
D | ScanRecord.java | 153 SparseArray<byte[]> manufacturerData, in ScanRecord() argument 158 mManufacturerSpecificData = manufacturerData; in ScanRecord() 188 SparseArray<byte[]> manufacturerData = new SparseArray<byte[]>(); in parseFromBytes() local 254 manufacturerData.put(manufacturerId, manufacturerDataBytes); in parseFromBytes() 266 return new ScanRecord(serviceUuids, manufacturerData, serviceData, in parseFromBytes()
|
D | AdvertiseData.java | 52 SparseArray<byte[]> manufacturerData, in AdvertiseData() argument 57 mManufacturerSpecificData = manufacturerData; in AdvertiseData() 180 byte[] manufacturerData = in.createByteArray(); 181 builder.addManufacturerData(manufacturerId, manufacturerData);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | AdvertiseDataTest.java | 66 byte[] manufacturerData = new byte[0]; in testEmptyManufacturerData() 69 .addManufacturerData(manufacturerId, manufacturerData).build(); in testEmptyManufacturerData() 115 byte[] manufacturerData = new byte[] { in testManufacturerData() 120 .addManufacturerData(manufacturerId, manufacturerData).build(); in testManufacturerData()
|
D | ScanFilterTest.java | 190 byte[] manufacturerData = new byte[] { in testReadWriteParcel() 193 filter = mFilterBuilder.setManufacturerData(manufacturerId, manufacturerData).build(); in testReadWriteParcel() 202 filter = mFilterBuilder.setManufacturerData(manufacturerId, manufacturerData, in testReadWriteParcel()
|