Home
last modified time | relevance | path

Searched refs:ResolvedFile (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DIRemoteFileResolver.java67 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()
DLocalFileResolver.java31 public ResolvedFile resolveRemoteFile(RemoteFileResolverArgs args) throws BuildRetrievalError { in resolveRemoteFile()
37 return new ResolvedFile(localFile).cleanUp(false); in resolveRemoteFile()
DHttpRemoteFileResolver.java38 public ResolvedFile resolveRemoteFile(RemoteFileResolverArgs args) throws BuildRetrievalError { in resolveRemoteFile()
54 return new ResolvedFile( in resolveRemoteFile()
DGcsRemoteFileResolver.java58 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/
DDynamicRemoteFileResolverTest.java37 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 …]
DConfigurationFactoryTest.java35 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/
DGcsRemoteFileResolverTest.java29 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()
DHttpRemoteFileResolverTest.java23 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
61 ResolvedFile res = mResolver.resolveRemoteFile(args); in testResolve()
DLocalFileResolverTest.java26 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
55 ResolvedFile returned = mResolver.resolveRemoteFile(args); in testResolveLocalFile()
/tools/tradefederation/core/src/com/android/tradefed/config/
DRemoteFileResolver.java22 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()
DDynamicRemoteFileResolver.java24 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()
DConfigurationFactory.java23 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/
DDeviceJUnit4ClassRunnerTest.java33 import com.android.tradefed.config.remote.IRemoteFileResolver.ResolvedFile;
75 doReturn(new ResolvedFile(new File("/downloaded/somewhere"))) in createResolver()
DHostTestTest.java38 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()