public void improveDeviceBrandName(MutableUserAgent userAgent, ClientHints clientHints) {
        // Improve the Device Brand/Name if it is unknown.
        if (clientHints.getModel() != null) {
            MutableAgentField deviceName = userAgent.get(DEVICE_NAME);
            if (GENERIC_DEVICE_NAMES.contains(deviceName.getValue())) {
                overrideValue(deviceName, clientHints.getModel());
                overrideValue(userAgent.get(DEVICE_BRAND), NULL_VALUE); // There is a calculator for the device brand
            }
        }
    }
Some device names are "Generic" and thus must be overwritten if a Client hint is available.
analyzer/src/main/java/nl/basjes/parse/useragent/clienthints/ClientHintsAnalyzer.java