Searched refs:IRemoteFileResolver (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolver.java | 21 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/ |
D | DynamicRemoteFileResolverTest.java | 34 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/ |
D | DeviceJUnit4ClassRunnerTest.java | 30 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()
|
D | HostTestTest.java | 27 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/ |
D | LocalFileResolver.java | 26 public class LocalFileResolver implements IRemoteFileResolver {
|
D | IRemoteFileResolver.java | 31 public interface IRemoteFileResolver { interface
|
D | GcsRemoteFileResolver.java | 32 public class GcsRemoteFileResolver implements IRemoteFileResolver {
|
D | HttpRemoteFileResolver.java | 33 public class HttpRemoteFileResolver implements IRemoteFileResolver {
|