robolectric/src/main/java/org/robolectric/plugins/DefaultSdkPicker.java
@Override
  @Nonnull
  public List<Sdk> selectSdks(Configuration configuration, UsesSdk usesSdk) {
    Config config = configuration.get(Config.class);
    Set<Sdk> sdks = new TreeSet<>(configuredSdks(config, usesSdk));
    if (enabledSdks != null) {
      sdks = Sets.intersection(sdks, enabledSdks);
    }
    return Lists.newArrayList(sdks);
  }
@Override
  @Nonnull
  public List<Sdk> selectSdks(Configuration configuration, UsesSdk usesSdk) {
    Config config = configuration.get(Config.class);
    Set<Sdk> sdks = new TreeSet<>(configuredSdks(config, usesSdk));
    if (enabledSdks != null) {
      sdks = Sets.intersection(sdks, enabledSdks);
    }
    return Lists.newArrayList(sdks);
  }
@ Override @ Nonnull public List < Sdk > selectSdks ( Configuration configuration , UsesSdk usesSdk ) { Config config = configuration . get ( Config . class ) ; Set < Sdk > sdks = new TreeSet <> ( configuredSdks ( config , usesSdk ) ) ; if ( enabledSdks != null ) { sdks = Sets . intersection ( sdks , enabledSdks ) ; } return Lists . newArrayList ( sdks ) ; }
Enumerate the SDKs to be used for this test.

@param configuration a collection of configuration objects, including {@link Config}
@param usesSdk the {@link UsesSdk} for the test
@return the list of candidate {@link Sdk}s.
@since 3.9
Enumerate the SDKs to be used for this test .