/tools/tradefederation/core/src/com/android/tradefed/config/remote/ |
D | IRemoteFileResolver.java | 67 public default @Nonnull ResolvedFile resolveRemoteFile(RemoteFileResolverArgs args) in resolveRemoteFile() 70 return new ResolvedFile(file); in resolveRemoteFile() 173 public class ResolvedFile { class 177 public ResolvedFile(File resolvedFile) { in ResolvedFile() method in IRemoteFileResolver.ResolvedFile 189 public ResolvedFile cleanUp(boolean cleanUp) { in cleanUp()
|
D | LocalFileResolver.java | 31 public ResolvedFile resolveRemoteFile(RemoteFileResolverArgs args) throws BuildRetrievalError { in resolveRemoteFile() 37 return new ResolvedFile(localFile).cleanUp(false); in resolveRemoteFile()
|
D | HttpRemoteFileResolver.java | 38 public ResolvedFile resolveRemoteFile(RemoteFileResolverArgs args) throws BuildRetrievalError { in resolveRemoteFile() 54 return new ResolvedFile( in resolveRemoteFile()
|
D | GcsRemoteFileResolver.java | 58 public ResolvedFile resolveRemoteFile(RemoteFileResolverArgs args) throws BuildRetrievalError { in resolveRemoteFile() 71 return new ResolvedFile(eFile); in resolveRemoteFile() 76 return new ResolvedFile( in resolveRemoteFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 37 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 136 when(mMockResolver.resolveRemoteFile(args1)).thenReturn(new ResolvedFile(fake)); in testResolve() 165 when(mMockResolver.resolveRemoteFile(args1)).thenReturn(new ResolvedFile(fake)); in testResolveWithQuery() 211 when(mMockResolver.resolveRemoteFile(args1)).thenReturn(new ResolvedFile(fake)); in testResolve_remoteFileList() 239 when(mMockResolver.resolveRemoteFile(args1)).thenReturn(new ResolvedFile(fake)); in testResolve_remoteFileList_downloadError() 243 when(mMockResolver.resolveRemoteFile(args2)).thenReturn(new ResolvedFile(fake)); in testResolve_remoteFileList_downloadError() 277 when(mMockResolver.resolveRemoteFile(args1)).thenReturn(new ResolvedFile(fake)); in testResolve_remoteMap() 281 when(mMockResolver.resolveRemoteFile(args2)).thenReturn(new ResolvedFile(fake2)); in testResolve_remoteMap() 310 when(mMockResolver.resolveRemoteFile(args1)).thenReturn(new ResolvedFile(fake)); in testResolve_remoteMultiMap() 314 when(mMockResolver.resolveRemoteFile(args2)).thenReturn(new ResolvedFile(fake2)); in testResolve_remoteMultiMap() [all …]
|
D | ConfigurationFactoryTest.java | 35 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 1957 ResolvedFile resolvedFile = new ResolvedFile(tmpFile); in testLoadDirectConfiguration()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/remote/ |
D | GcsRemoteFileResolverTest.java | 29 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 72 ResolvedFile resFile = mResolver.resolveRemoteFile(args); in testResolve() 95 ResolvedFile resFile = mResolver.resolveRemoteFile(args); in testResolveWithTimeout() 113 ResolvedFile resFile = mResolver.resolveRemoteFile(args); in testResolve_error() 147 ResolvedFile resolvedFile = mResolver.resolveRemoteFile(args); in testResolve_unzip() 223 ResolvedFile resolvedFile = mResolver.resolveRemoteFile(args); in testResolve_notZip_parallel()
|
D | HttpRemoteFileResolverTest.java | 23 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 61 ResolvedFile res = mResolver.resolveRemoteFile(args); in testResolve()
|
D | LocalFileResolverTest.java | 26 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 55 ResolvedFile returned = mResolver.resolveRemoteFile(args); in testResolveLocalFile()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | RemoteFileResolver.java | 22 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 67 public static ResolvedFile resolveRemoteFile(URI fileURI, URI destDir) in resolveRemoteFile() 81 public static ResolvedFile resolveRemoteFile( in resolveRemoteFile()
|
D | DynamicRemoteFileResolver.java | 24 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 206 ResolvedFile resolvedFile = resolveRemoteFiles(consideredFile, option); in validateRemoteFilePath() 232 ResolvedFile resolvedFile = in validateRemoteFilePath() 257 ResolvedFile resolved = resolveRemoteFiles((File) key, option); in validateRemoteFilePath() 267 ResolvedFile resolved = resolveRemoteFiles((File) val, option); in validateRemoteFilePath() 291 ResolvedFile resolved = resolveRemoteFiles((File) key, option); in validateRemoteFilePath() 302 ResolvedFile resolvedFile = in validateRemoteFilePath() 436 private ResolvedFile resolveRemoteFiles(File consideredFile, Option option) in resolveRemoteFiles() 466 ResolvedFile resolvedFile = resolver.resolveRemoteFile(args); in resolveRemoteFiles()
|
D | ConfigurationFactory.java | 23 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 753 ResolvedFile resolvedConfigFile = resolveRemoteFile(configURI, destDir.toURI()); in internalCreateDirectConfiguration() 821 protected ResolvedFile resolveRemoteFile(URI configURI, URI destDir) in resolveRemoteFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceJUnit4ClassRunnerTest.java | 33 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 75 doReturn(new ResolvedFile(new File("/downloaded/somewhere"))) in createResolver()
|
D | HostTestTest.java | 38 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile; 767 doReturn(new ResolvedFile(new File("/downloaded/somewhere"))) in testRun_junit3TestSuite_dynamicOptions() 2472 doReturn(new ResolvedFile(new File("/downloaded/somewhere"))) in testRun_junit3TestSuite_optionEscapeColon()
|