public class SdkPicker
extends java.lang.Object
Constructor and Description |
---|
SdkPicker(java.util.Collection<SdkConfig> supportedSdks,
java.util.Collection<SdkConfig> enabledSdks) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<SdkConfig> |
configuredSdks(Config config,
UsesSdk usesSdk) |
protected int |
decodeSdk(int value,
int defaultSdk,
int appMinSdk,
int appTargetSdk,
int appMaxSdk) |
protected static java.util.Set<SdkConfig> |
enumerateEnabledSdks(java.lang.String enabledSdks) |
protected java.util.Set<SdkConfig> |
sdkRange(int minSdk,
int maxSdk) |
java.util.List<SdkConfig> |
selectSdks(Config config,
UsesSdk usesSdk)
Enumerate the SDKs to be used for this test.
|
@Nonnull public java.util.List<SdkConfig> selectSdks(Config config, UsesSdk usesSdk)
Enumerate the SDKs to be used for this test.
@Nullable protected static java.util.Set<SdkConfig> enumerateEnabledSdks(java.lang.String enabledSdks)
protected int decodeSdk(int value, int defaultSdk, int appMinSdk, int appTargetSdk, int appMaxSdk)
@Nonnull protected java.util.Set<SdkConfig> sdkRange(int minSdk, int maxSdk)