Searched refs:dataMask (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | ScanFilterQueue.java | 137 void addManufacturerData(int company, int companyMask, byte[] data, byte[] dataMask) { in addManufacturerData() argument 143 entry.data_mask = dataMask; in addManufacturerData() 147 void addServiceData(byte[] data, byte[] dataMask) { in addServiceData() argument 151 entry.data_mask = dataMask; in addServiceData() 175 void addAdvertisingDataType(int adType, byte[] data, byte[] dataMask) { in addAdvertisingDataType() argument 180 entry.data_mask = dataMask; in addAdvertisingDataType()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/ |
D | ScanFilterQueueTest.java | 66 byte[] dataMask = new byte[] {0x05}; in scanFilterQueueParams() 67 queue.addManufacturerData(company, companyMask, data, dataMask); in scanFilterQueueParams()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | ScanFilter.java | 579 static boolean matchesPartialData(byte[] data, byte[] dataMask, byte[] parsedData) { in matchesPartialData() argument 583 if (dataMask == null) { in matchesPartialData() 592 if ((dataMask[i] & parsedData[i]) != (dataMask[i] & data[i])) { in matchesPartialData()
|