Home
last modified time | relevance | path

Searched refs:maskedEquals (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java30 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/
DBluetoothLeDeviceFilter.java168 || BitUtils.maskedEquals(device.getScanRecord().getBytes(), in matches()
/frameworks/base/core/java/android/bluetooth/le/
DScanFilter.java350 return BitUtils.maskedEquals(data, uuid, mask); in matchesServiceUuid()