Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/config/
DRemoteFileResolver.java20 import com.android.tradefed.config.remote.IRemoteFileResolver;
21 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
22 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
52 public IRemoteFileResolver load(String scheme, Map<String, String> config) {
82 URI fileURI, URI destDir, IRemoteFileResolver resolver) throws BuildRetrievalError { in resolveRemoteFile()
107 public static IRemoteFileResolver getDefaultResolver(URI fileURI, Map<String, String> config) { in getDefaultResolver()
109 IRemoteFileResolver resolver = DEFAULT_FILE_RESOLVER_LOADER.load(scheme, config); in getDefaultResolver()
DBootstrapServiceFileResolverLoader.java18 import com.android.tradefed.config.remote.IRemoteFileResolver;
55 public synchronized IRemoteFileResolver load(String scheme, Map<String, String> config) { in load()
56 ServiceLoader<IRemoteFileResolver> serviceLoader = in load()
57 ServiceLoader.load(IRemoteFileResolver.class, mClassLoaderSupplier.get()); in load()
59 for (IRemoteFileResolver resolver : serviceLoader) { in load()
DDynamicRemoteFileResolver.java22 import com.android.tradefed.config.remote.IRemoteFileResolver;
23 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
24 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
100 public IRemoteFileResolver load(String scheme, Map<String, String> config) {
370 IRemoteFileResolver resolver = getResolver(protocol); in resolvePartialDownloadZip()
389 private IRemoteFileResolver getResolver(String protocol) throws BuildRetrievalError { in getResolver()
458 IRemoteFileResolver resolver = getResolver(protocol); in resolveRemoteFiles()
526 IRemoteFileResolver load(String scheme, Map<String, String> config); in load()
578 public synchronized IRemoteFileResolver load(String scheme, Map<String, String> config) { in load()
587 Map<String, IRemoteFileResolver> resolvers = new HashMap<>(); in load()
[all …]
DIFileResolverLoader.java18 import com.android.tradefed.config.remote.IRemoteFileResolver;
41 IRemoteFileResolver load(String scheme, Map<String, String> config); in load()
DConfigurationFactory.java23 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DDeviceJUnit4ClassRunnerTest.java31 import com.android.tradefed.config.remote.IRemoteFileResolver;
32 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
33 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
73 IRemoteFileResolver mockResolver = Mockito.mock(IRemoteFileResolver.class); in createResolver()
84 public IRemoteFileResolver load(String scheme, Map<String, String> config) { in createResolver()
DHostTestTest.java36 import com.android.tradefed.config.remote.IRemoteFileResolver;
37 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
38 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
111 private IRemoteFileResolver mMockResolver;
588 private IRemoteFileResolver mRemoteFileResolver;
594 public TestableHostTest(IRemoteFileResolver remoteFileResolver) { in TestableHostTest()
603 public IRemoteFileResolver load(String scheme, Map<String, String> config) { in createResolver()
617 mMockResolver = Mockito.mock(IRemoteFileResolver.class); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java35 import com.android.tradefed.config.remote.IRemoteFileResolver;
36 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
37 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
111 public IRemoteFileResolver load(String scheme, Map<String, String> config) {
116 @Mock IRemoteFileResolver mMockResolver;
536 ServiceLoader<IRemoteFileResolver> serviceLoader = in testServiceLoader()
537 ServiceLoader.load(IRemoteFileResolver.class); in testServiceLoader()
539 List<IRemoteFileResolver> listResolver = new ArrayList<>(); in testServiceLoader()
577 IRemoteFileResolver expected = loader.load(NullFileResolver.PROTOCOL, ImmutableMap.of()); in resolverLoader_multipleCallsReturnTheSameResolver()
579 IRemoteFileResolver actual = loader.load(NullFileResolver.PROTOCOL, ImmutableMap.of()); in resolverLoader_multipleCallsReturnTheSameResolver()
[all …]
DConfigurationFactoryTest.java35 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
/tools/tradefederation/core/javatests/com/android/tradefed/config/remote/
DHttpRemoteFileResolverTest.java22 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
23 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
DLocalFileResolverTest.java25 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
26 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
DGcsRemoteFileResolverTest.java28 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs;
29 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DLocalFileResolver.java26 public class LocalFileResolver implements IRemoteFileResolver {
DHttpRemoteFileResolver.java33 public class HttpRemoteFileResolver implements IRemoteFileResolver {
DIRemoteFileResolver.java32 public interface IRemoteFileResolver { interface
DGcsRemoteFileResolver.java47 public class GcsRemoteFileResolver implements IRemoteFileResolver {