Home | History | Annotate | Download | only in internal

Lines Matching refs:sdkConfig

19   private static final int CACHE_SIZE = SdkConfig.getSupportedApis().size() * CACHE_SIZE_FACTOR;
21 // Simple LRU Cache. SdkEnvironments are unique across InstrumentationConfiguration and SdkConfig
22 private final LinkedHashMap<Pair<InstrumentationConfiguration, SdkConfig>, SdkEnvironment> sdkToEnvironment = new LinkedHashMap<Pair<InstrumentationConfiguration, SdkConfig>, SdkEnvironment>() {
24 protected boolean removeEldestEntry(Map.Entry<Pair<InstrumentationConfiguration, SdkConfig>, SdkEnvironment> eldest) {
29 public synchronized SdkEnvironment getSdkEnvironment(InstrumentationConfiguration instrumentationConfig, DependencyResolver dependencyResolver, SdkConfig sdkConfig) {
30 Pair<InstrumentationConfiguration, SdkConfig> key = Pair.create(instrumentationConfig, sdkConfig);
34 URL url = dependencyResolver.getLocalArtifactUrl(sdkConfig.getAndroidSdkDependency());
37 sdkEnvironment = new SdkEnvironment(sdkConfig, robolectricClassLoader);