Home
last modified time | relevance | path

Searched refs:ExtendedFile (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DExtendedFile.java26 public class ExtendedFile extends File { class
35 ExtendedFile(String path) { in ExtendedFile() method in ExtendedFile
39 public ExtendedFile(File file, String buildId, String buildTarget) { in ExtendedFile() method in ExtendedFile
45 public ExtendedFile(File file, String buildId, String buildTarget, String branch) { in ExtendedFile() method in ExtendedFile
50 public ExtendedFile( in ExtendedFile() method in ExtendedFile
DGcsRemoteFileResolver.java68 ExtendedFile eFile = new ExtendedFile(parallelDownload.getKey(), "gcs", "gcs"); in resolveRemoteFile()
/tools/tradefederation/core/javatests/com/android/tradefed/config/remote/
DGcsRemoteFileResolverTest.java73 assertTrue(resFile.getResolvedFile() instanceof ExtendedFile); in testResolve()
74 ((ExtendedFile) resFile.getResolvedFile()).waitForDownload(); in testResolve()
96 assertTrue(resFile.getResolvedFile() instanceof ExtendedFile); in testResolveWithTimeout()
97 ((ExtendedFile) resFile.getResolvedFile()).waitForDownload(); in testResolveWithTimeout()
114 assertTrue(resFile.getResolvedFile() instanceof ExtendedFile); in testResolve_error()
115 ((ExtendedFile) resFile.getResolvedFile()).waitForDownload(); in testResolve_error()
149 if (file instanceof ExtendedFile) { in testResolve_unzip()
150 ((ExtendedFile) file).waitForDownload(); in testResolve_unzip()
225 if (downloadedFile instanceof ExtendedFile) { in testResolve_notZip_parallel()
226 ((ExtendedFile) downloadedFile).waitForDownload(); in testResolve_notZip_parallel()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFlashingResourceUtil.java22 import com.android.tradefed.config.remote.ExtendedFile;
61 if (!(deviceImage instanceof ExtendedFile)) { in setUpFlashingResources()
64 String bid = ((ExtendedFile) deviceImage).getBuildId(); in setUpFlashingResources()
70 deviceImageFlavor = ((ExtendedFile) deviceImage).getBuildTarget(); in setUpFlashingResources()
/tools/tradefederation/core/src/com/android/tradefed/build/
DDependenciesResolver.java23 import com.android.tradefed.config.remote.ExtendedFile;
96 if (f instanceof ExtendedFile) { in getBuild()
97 version = ((ExtendedFile) f).getBuildId(); in getBuild()
/tools/tradefederation/core/src/com/android/tradefed/config/
DDynamicRemoteFileResolver.java21 import com.android.tradefed.config.remote.ExtendedFile;
112 private List<ExtendedFile> mParallelExtendedFiles = new ArrayList<>();
148 public List<ExtendedFile> getParallelDownloads() { in getParallelDownloads()
467 if (resolvedFile != null && resolvedFile.getResolvedFile() instanceof ExtendedFile) { in resolveRemoteFiles()
470 ExtendedFile trackingFile = (ExtendedFile) resolvedFile.getResolvedFile(); in resolveRemoteFiles()
DConfigurationFactory.java22 import com.android.tradefed.config.remote.ExtendedFile;
755 if (configFile instanceof ExtendedFile) { in internalCreateDirectConfiguration()
756 ((ExtendedFile) configFile).waitForDownload(); in internalCreateDirectConfiguration()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java37 import com.android.tradefed.config.remote.ExtendedFile;
222 private List<ExtendedFile> mParallelDynamicDownloads = new ArrayList<>();
915 for (ExtendedFile file : mParallelDynamicDownloads) { in invokeFetchBuild()
933 for (ExtendedFile file : mParallelDynamicDownloads) { in invokeFetchBuild()
994 for (ExtendedFile file : resolver.getParallelDownloads()) { in invokeRemoteDynamic()