Home
last modified time | relevance | path

Searched refs:IRemoteFileResolver (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DDynamicRemoteFileResolver.java21 import com.android.tradefed.config.remote.IRemoteFileResolver;
88 public IRemoteFileResolver load(String scheme, Map<String, String> config) {
318 IRemoteFileResolver resolver = getResolver(protocol); in resolvePartialDownloadZip()
333 private IRemoteFileResolver getResolver(String protocol) throws BuildRetrievalError { in getResolver()
387 IRemoteFileResolver resolver = getResolver(protocol); in resolveRemoteFiles()
445 IRemoteFileResolver load(String scheme, Map<String, String> config); in load()
501 public synchronized IRemoteFileResolver load(String scheme, Map<String, String> config) { in load()
510 Map<String, IRemoteFileResolver> resolvers = new HashMap<>(); in load()
511 ServiceLoader<IRemoteFileResolver> serviceLoader = in load()
512 ServiceLoader.load(IRemoteFileResolver.class, mClassLoaderSupplier.get()); in load()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java34 import com.android.tradefed.config.remote.IRemoteFileResolver;
104 private IRemoteFileResolver mMockResolver;
108 mMockResolver = EasyMock.createNiceMock(IRemoteFileResolver.class); in setUp()
112 public IRemoteFileResolver load(String scheme, Map<String, String> config) { in setUp()
562 ServiceLoader<IRemoteFileResolver> serviceLoader = in testServiceLoader()
563 ServiceLoader.load(IRemoteFileResolver.class); in testServiceLoader()
565 List<IRemoteFileResolver> listResolver = new ArrayList<>(); in testServiceLoader()
603 IRemoteFileResolver expected = loader.load(NullFileResolver.PROTOCOL, ImmutableMap.of()); in resolverLoader_multipleCallsReturnTheSameResolver()
605 IRemoteFileResolver actual = loader.load(NullFileResolver.PROTOCOL, ImmutableMap.of()); in resolverLoader_multipleCallsReturnTheSameResolver()
616 IRemoteFileResolver resolver1 = loader1.load(NullFileResolver.PROTOCOL, ImmutableMap.of()); in resolverLoader_differentInstancesReturnDifferentResolvers()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceJUnit4ClassRunnerTest.java30 import com.android.tradefed.config.remote.IRemoteFileResolver;
69 IRemoteFileResolver mockResolver = Mockito.mock(IRemoteFileResolver.class); in createResolver()
80 public IRemoteFileResolver load(String scheme, Map<String, String> config) { in createResolver()
DHostTestTest.java27 import com.android.tradefed.config.remote.IRemoteFileResolver;
97 private IRemoteFileResolver mMockResolver;
563 private IRemoteFileResolver mRemoteFileResolver;
569 public TestableHostTest(IRemoteFileResolver remoteFileResolver) { in TestableHostTest()
578 public IRemoteFileResolver load(String scheme, Map<String, String> config) { in createResolver()
594 mMockResolver = Mockito.mock(IRemoteFileResolver.class); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DLocalFileResolver.java26 public class LocalFileResolver implements IRemoteFileResolver {
DIRemoteFileResolver.java31 public interface IRemoteFileResolver { interface
DGcsRemoteFileResolver.java32 public class GcsRemoteFileResolver implements IRemoteFileResolver {
DHttpRemoteFileResolver.java33 public class HttpRemoteFileResolver implements IRemoteFileResolver {