Searched refs:manufacturerId (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanFilterTest.java | 128 int manufacturerId = 0xE0; in testManufacturerSpecificData() local 130 mFilterBuilder.setManufacturerData(manufacturerId, setManufacturerData).build(); in testManufacturerSpecificData() 134 filter = mFilterBuilder.setManufacturerData(manufacturerId, emptyData).build(); in testManufacturerSpecificData() 139 filter = mFilterBuilder.setManufacturerData(manufacturerId, prefixData).build(); in testManufacturerSpecificData() 145 filter = mFilterBuilder.setManufacturerData(manufacturerId, nonMatchData).build(); in testManufacturerSpecificData() 150 filter = mFilterBuilder.setManufacturerData(manufacturerId, nonMatchData, mask).build(); in testManufacturerSpecificData() 192 int manufacturerId = 0xE0; in testReadWriteParcel() local 193 filter = mFilterBuilder.setManufacturerData(manufacturerId, manufacturerData).build(); in testReadWriteParcel() 202 filter = mFilterBuilder.setManufacturerData(manufacturerId, manufacturerData, in testReadWriteParcel()
|
D | AdvertiseDataTest.java | 65 int manufacturerId = 50; in testEmptyManufacturerData() local 69 .addManufacturerData(manufacturerId, manufacturerData).build(); in testEmptyManufacturerData() 114 int manufacturerId = 50; in testManufacturerData() local 120 .addManufacturerData(manufacturerId, manufacturerData).build(); in testManufacturerData()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanFilter.java | 76 int manufacturerId, byte[] manufacturerData, byte[] manufacturerDataMask) { in ScanFilter() argument 84 mManufacturerId = manufacturerId; in ScanFilter() 189 int manufacturerId = in.readInt(); 195 builder.setManufacturerData(manufacturerId, manufacturerData); 200 builder.setManufacturerData(manufacturerId, manufacturerData, 550 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData) { in setManufacturerData() argument 551 if (manufacturerData != null && manufacturerId < 0) { in setManufacturerData() 554 mManufacturerId = manufacturerId; in setManufacturerData() 571 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData, in setManufacturerData() argument 573 if (manufacturerData != null && manufacturerId < 0) { in setManufacturerData() [all …]
|
D | AdvertiseData.java | 194 int manufacturerId = in.readInt(); 199 builder.addManufacturerData(manufacturerId, manufacturerData); 273 public Builder addManufacturerData(int manufacturerId, byte[] manufacturerSpecificData) { in addManufacturerData() argument 274 if (manufacturerId < 0) { in addManufacturerData() 276 "invalid manufacturerId - " + manufacturerId); in addManufacturerData() 281 mManufacturerSpecificData.put(manufacturerId, manufacturerSpecificData); in addManufacturerData()
|
D | ScanRecord.java | 101 public byte[] getManufacturerSpecificData(int manufacturerId) { in getManufacturerSpecificData() argument 102 return mManufacturerSpecificData.get(manufacturerId); in getManufacturerSpecificData() 242 int manufacturerId = ((scanRecord[currentPos + 1] & 0xFF) << 8) + in parseFromBytes() local 246 manufacturerData.put(manufacturerId, manufacturerDataBytes); in parseFromBytes()
|