Searched refs:IRemoteFileResolver (Results 1 – 16 of 16) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | RemoteFileResolver.java | 20 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()
|
D | BootstrapServiceFileResolverLoader.java | 18 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()
|
D | DynamicRemoteFileResolver.java | 22 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 …]
|
D | IFileResolverLoader.java | 18 import com.android.tradefed.config.remote.IRemoteFileResolver; 41 IRemoteFileResolver load(String scheme, Map<String, String> config); in load()
|
D | ConfigurationFactory.java | 23 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceJUnit4ClassRunnerTest.java | 31 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()
|
D | HostTestTest.java | 36 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/ |
D | DynamicRemoteFileResolverTest.java | 35 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 …]
|
D | ConfigurationFactoryTest.java | 35 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/remote/ |
D | HttpRemoteFileResolverTest.java | 22 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs; 23 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
|
D | LocalFileResolverTest.java | 25 import com.android.tradefed.config.remote.IRemoteFileResolver.RemoteFileResolverArgs; 26 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
|
D | GcsRemoteFileResolverTest.java | 28 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/ |
D | LocalFileResolver.java | 26 public class LocalFileResolver implements IRemoteFileResolver {
|
D | HttpRemoteFileResolver.java | 33 public class HttpRemoteFileResolver implements IRemoteFileResolver {
|
D | IRemoteFileResolver.java | 32 public interface IRemoteFileResolver { interface
|
D | GcsRemoteFileResolver.java | 47 public class GcsRemoteFileResolver implements IRemoteFileResolver {
|