shadows/framework/src/main/java/org/robolectric/RuntimeEnvironment.java
public static String getQualifiers(Configuration configuration, DisplayMetrics displayMetrics) {
    return ConfigurationV25.resourceQualifierString(configuration, displayMetrics);
  }
public static String getQualifiers(Configuration configuration, DisplayMetrics displayMetrics) {
    return ConfigurationV25.resourceQualifierString(configuration, displayMetrics);
  }
Returns a qualifier string describing the given configuration and display metrics.

@param configuration the configuration.
@param displayMetrics the display metrics.
@return a qualifier string as described (https://developer.android.com/guide/topics/resources/providing-resources.html#QualifierRules)[here].