Searched refs:maskedEquals (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | BitUtils.java | 30 public static boolean maskedEquals(long a, long b, long mask) { in maskedEquals() method in BitUtils 34 public static boolean maskedEquals(byte a, byte b, byte mask) { in maskedEquals() method in BitUtils 38 public static boolean maskedEquals(byte[] a, byte[] b, @Nullable byte[] mask) { in maskedEquals() method in BitUtils 44 if (!maskedEquals(a[i], b[i], mask[i])) return false; in maskedEquals() 49 public static boolean maskedEquals(UUID a, UUID b, @Nullable UUID mask) { in maskedEquals() method in BitUtils 53 return maskedEquals(a.getLeastSignificantBits(), b.getLeastSignificantBits(), in maskedEquals() 55 && maskedEquals(a.getMostSignificantBits(), b.getMostSignificantBits(), in maskedEquals()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothLeDeviceFilter.java | 168 || BitUtils.maskedEquals(device.getScanRecord().getBytes(), in matches()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanFilter.java | 350 return BitUtils.maskedEquals(data, uuid, mask); in matchesServiceUuid()
|