Home
last modified time | relevance | path

Searched refs:manufacturerId (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanRecord.java403 public byte[] getManufacturerSpecificData(int manufacturerId) { in getManufacturerSpecificData() argument
407 return mManufacturerSpecificData.get(manufacturerId); in getManufacturerSpecificData()
641 int manufacturerId = in parseFromBytes() local
647 if (manufacturerData.contains(manufacturerId)) { in parseFromBytes()
648 byte[] firstValue = manufacturerData.get(manufacturerId); in parseFromBytes()
654 manufacturerData.put(manufacturerId, buffer.array()); in parseFromBytes()
656 manufacturerData.put(manufacturerId, manufacturerDataBytes); in parseFromBytes()
659 manufacturerData.put(manufacturerId, manufacturerDataBytes); in parseFromBytes()
DAdvertiseData.java232 int manufacturerId = in.readInt();
234 builder.addManufacturerData(manufacturerId, manufacturerData);
336 public Builder addManufacturerData(int manufacturerId, byte[] manufacturerSpecificData) { in addManufacturerData() argument
337 if (manufacturerId < 0) { in addManufacturerData()
338 throw new IllegalArgumentException("invalid manufacturerId - " + manufacturerId); in addManufacturerData()
343 mManufacturerSpecificData.put(manufacturerId, manufacturerSpecificData); in addManufacturerData()
DScanFilter.java98 int manufacturerId, in ScanFilter() argument
116 mManufacturerId = manufacturerId; in ScanFilter()
274 int manufacturerId = in.readInt();
280 builder.setManufacturerData(manufacturerId, manufacturerData);
286 manufacturerId, manufacturerData, manufacturerDataMask);
984 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData) { in setManufacturerData() argument
985 if (manufacturerData != null && manufacturerId < 0) { in setManufacturerData()
988 mManufacturerId = manufacturerId; in setManufacturerData()
1006 int manufacturerId, byte[] manufacturerData, byte[] manufacturerDataMask) { in setManufacturerData() argument
1007 if (manufacturerData != null && manufacturerId < 0) { in setManufacturerData()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAdvertiseHelper.java83 int manufacturerId = data.getManufacturerSpecificData().keyAt(i); in advertiseDataToBytes() local
85 byte[] manufacturerData = data.getManufacturerSpecificData().get(manufacturerId); in advertiseDataToBytes()
89 concated[0] = (byte) (manufacturerId & 0xFF); in advertiseDataToBytes()
90 concated[1] = (byte) ((manufacturerId >> 8) & 0xFF); in advertiseDataToBytes()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DAdvertiseHelperTest.java46 int manufacturerId = 1; in advertiseDataToBytes() local
56 .addManufacturerData(manufacturerId, manufacturerData) in advertiseDataToBytes()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBluetoothQualityReportNativeInterface.java75 byte[] remoteAddr, int lmpVer, int lmpSubVer, int manufacturerId, byte[] bqrRawData) { in bqrDeliver() argument
108 .setManufacturerId(manufacturerId) in bqrDeliver()
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DLeLegacyAdvertisingTest.java163 int manufacturerId = BluetoothAssignedNumbers.GOOGLE; in createAdvertiseData() local
170 .addManufacturerData(manufacturerId, manufacturerSpecificData) in createAdvertiseData()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothQualityReport.java242 int manufacturerId, in BluetoothQualityReport() argument
249 mManufacturerId = manufacturerId; in BluetoothQualityReport()
526 private int manufacturerId; field in BluetoothQualityReport.Builder
598 public Builder setManufacturerId(int manufacturerId) { in setManufacturerId() argument
599 this.manufacturerId = manufacturerId; in setManufacturerId()
653 manufacturerId, in build()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanFilterQueueTest.java177 int manufacturerId = 0; in queueAddScanFilter() local
189 .setManufacturerData(manufacturerId, manufacturerData) in queueAddScanFilter()