private static boolean matchesServiceUuids(ParcelUuid uuid, ParcelUuid parcelUuidMask,
                                               List<ParcelUuid> uuids) {
        if (uuid == null) {
            return true;
        }
        if (uuids == null) {
            return false;
        }

        for (ParcelUuid parcelUuid : uuids) {
            UUID uuidMask = parcelUuidMask == null ? null : parcelUuidMask.getUuid();
            if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) {
                return true;
            }
        }
        return false;
    }
Check if the scan filter matches a {@code scanResult}. A scan result is considered as a match
if it matches all the field filters.
rxandroidble/src/main/java/com/polidea/rxandroidble2/scan/ScanFilter.java