Home
last modified time | relevance | path

Searched defs:localFile (Results 1 – 21 of 21) sorted by relevance

/tools/tradefederation/core/global_configuration/com/android/tradefed/host/
DLocalHostResourceManager.java48 File localFile = fetchHostResource(entry.getKey(), entry.getValue()); in setup() local
49 mDownloadedHostResources.put(entry.getKey(), localFile); in setup() local
76 protected void clearHostResource(String name, File localFile) { in clearHostResource()
88 File localFile = new File(value); in fetchHostResource() local
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteFileUtil.java52 File localFile = null; in fetchRemoteFile() local
86 File localFile) { in fetchRemoteFile()
146 File localFile = null; in fetchRemoteDir() local
187 File localFile) { in pushFileToRemote()
206 File localFile, in internalScpExec()
DGceRemoteCmdFormatter.java90 String localFile, in getScpCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java199 File localFile = in testDownloadFile() local
219 File localFile = in testDownloadFile_folder() local
227 File localFile = in testDownloadFile_folderNotsanitize() local
233 private void checkDownloadedFolder(File localFile) throws Exception { in checkDownloadedFolder()
278 File localFile = mDownloader.downloadFile(remotePath); in testCheckFreshness() local
298 File localFile = mDownloader.downloadFile(remotePath); in testCheckFreshness_remoteNotExist() local
313 File localFile = mDownloader.downloadFile(remotePath); in testCheckFreshness_notFresh() local
DGCSFileDownloaderTest.java60 File localFile = null; in testDownloadFile() local
DGCSBucketUtilFuncTest.java208 File localFile = FileUtil.createTempFile(FILE_NAME, "", mLocalRoot); in testmd5Hash() local
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteFileUtilTest.java158 File localFile = FileUtil.createTempDir("test-remote-push-dir"); in testPushFileToRemote() local
201 File localFile = FileUtil.createTempDir("test-remote-push-dir"); in testPushFileToRemote_fail() local
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DLocalFileResolver.java35 File localFile = new File(pathWithoutProtocol); in resolveRemoteFiles() local
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java133 private boolean isFileFresh(File localFile, StorageObject remoteFile) throws IOException { in isFileFresh()
147 public boolean isFresh(File localFile, String remotePath) throws BuildRetrievalError { in isFresh()
282 void downloadFile(String bucketName, String remoteFilename, File localFile) in downloadFile()
316 private void fetchRemoteFile(String bucketName, String remoteFilename, File localFile) in fetchRemoteFile()
DGCSBucketUtil.java451 public String md5Hash(File localFile) throws IOException { in md5Hash()
508 public CommandResult pull(Path bucketPath, File localFile) throws IOException { in pull()
529 public CommandResult push(File localFile) throws IOException { in push()
540 public CommandResult push(File localFile, Path bucketPath) throws IOException { in push()
552 File localFile = null; in pushString() local
/tools/tradefederation/core/src/com/android/tradefed/host/gcs/
DGCSHostResourceManager.java62 protected void clearHostResource(String name, File localFile) { in clearHostResource()
/tools/tradefederation/core/tests/src/com/android/tradefed/host/
DLocalHostResourceManagerTest.java52 File localFile = FileUtil.createTempFile("filename", "apk", mLocalRoot); in testSetupHostResource() local
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCacheWrapper.java54 public boolean isFresh(File localFile, String remoteFilePath) throws BuildRetrievalError { in isFresh()
DIFileDownloader.java76 public default boolean isFresh(File localFile, String remoteFilePath) in isFresh()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTestFilePushSetup.java126 File localFile = getLocalPathForFilename(buildInfo, fileName, device); in setUp() local
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil2.java44 private static boolean applyUnixModeIfNecessary(ZipArchiveEntry entry, File localFile) in applyUnixModeIfNecessary()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java207 public boolean pullFile(String deviceFilePath, File localFile) in pullFile()
382 private boolean pullFileInternal(String deviceFilePath, File localFile, Integer currentUser) in pullFileInternal()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java1376 File localFile = FileUtil.createTempFile("timezonetest", ".txt"); in testIsNewer() local
1408 File localFile = FileUtil.createTempFile("timezonetest", ".txt"); in testIsNewer_timeOffset() local
1441 File localFile = FileUtil.createTempFile("timezonetest", ".txt"); in testIsNewer_fails() local
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java598 public boolean pullFile(String remoteFilePath, File localFile) in pullFile()
656 public boolean pushFile(File localFile, String deviceFilePath) in pushFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1089 public boolean pullFile(final String remoteFilePath, final File localFile) in pullFile()
1131 File localFile = null; in pullFile() local
1198 public boolean pushFile(final File localFile, final String remoteFilePath) in pushFile()
1657 File localFile = new File(localDir, item.getName()); in pullDir() local
1833 protected boolean isNewer(File localFile, IFileEntry entry) { in isNewer()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt1495 val localFile = File("../../prebuilts/sdk/$apiLevel/public/android.jar") in <lambda>() constant