Searched defs:manufacturerId (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
H A DAdvertiseData.java179 int manufacturerId = in.readInt();
181 builder.addManufacturerData(manufacturerId, manufacturerData);
244 * @param manufacturerId Manufacturer ID assigned by Bluetooth SIG.
246 * @throws IllegalArgumentException If the {@code manufacturerId} is negative or {@code
249 public Builder addManufacturerData(int manufacturerId, byte[] manufacturerSpecificData) { argument
250 if (manufacturerId < 0) {
252 "invalid manufacturerId - " + manufacturerId);
257 mManufacturerSpecificData.put(manufacturerId, manufacturerSpecificData);
H A DScanRecord.java100 * {@code null} if the {@code manufacturerId} is not found.
103 public byte[] getManufacturerSpecificData(int manufacturerId) { argument
104 return mManufacturerSpecificData.get(manufacturerId);
250 int manufacturerId = ((scanRecord[currentPos + 1] & 0xFF) << 8)
254 manufacturerData.put(manufacturerId, manufacturerDataBytes);
H A DScanFilter.java80 int manufacturerId, byte[] manufacturerData, byte[] manufacturerDataMask) {
88 mManufacturerId = manufacturerId;
193 int manufacturerId = in.readInt();
199 builder.setManufacturerData(manufacturerId, manufacturerData);
204 builder.setManufacturerData(manufacturerId, manufacturerData,
545 * Set filter on on manufacturerData. A negative manufacturerId is considered as invalid id.
547 * Note the first two bytes of the {@code manufacturerData} is the manufacturerId.
549 * @throws IllegalArgumentException If the {@code manufacturerId} is invalid.
551 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData) { argument
552 if (manufacturerData != null && manufacturerId <
77 ScanFilter(String name, String deviceAddress, ParcelUuid uuid, ParcelUuid uuidMask, ParcelUuid serviceDataUuid, byte[] serviceData, byte[] serviceDataMask, int manufacturerId, byte[] manufacturerData, byte[] manufacturerDataMask) argument
571 setManufacturerData(int manufacturerId, byte[] manufacturerData, byte[] manufacturerDataMask) argument
[all...]

Completed in 178 milliseconds