Home
last modified time | relevance | path

Searched defs:localFile (Results 1 – 24 of 24) 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/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/
DAndroidTestUtils.kt44 val localFile = metalavaDir.resolve("../../prebuilts/sdk/$apiLevel/public/android.jar") in isMetalavaRootDir() constant
58 val localFile = metalavaDir.resolve("../../prebuilts/sdk/$apiLevel/$apiSurface/api/android.txt") in getAndroidTxt() constant
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java236 File localFile = in testDownloadFile() local
256 File localFile = in testDownloadFile_folder() local
264 File localFile = in testDownloadFile_folderNotsanitize() local
270 private void checkDownloadedFolder(File localFile) throws Exception { in checkDownloadedFolder()
330 File localFile = in testDownloadFile_size0Folder() local
350 File localFile = in testDownloadFile_folderWithOnlyOneFile() local
380 File localFile = mDownloader.downloadFile(remotePath); in testCheckFreshness() local
400 File localFile = mDownloader.downloadFile(remotePath); in testCheckFreshness_remoteNotExist() local
415 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/src/com/android/tradefed/device/cloud/
DRemoteFileUtil.java53 File localFile = null; in fetchRemoteFile() local
87 File localFile) { in fetchRemoteFile()
147 File localFile = null; in fetchRemoteDir() local
249 File localFile) { in pushFileToRemote()
268 File localFile, in internalScpExec()
DGceRemoteCmdFormatter.java92 String localFile, in getScpCommand()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DRemoteFileUtilTest.java163 File localFile = FileUtil.createTempDir("test-remote-push-dir"); in testPushFileToRemote() local
205 File localFile = FileUtil.createTempDir("test-remote-push-dir"); in testPushFileToRemote_fail() local
257 File localFile = FileUtil.createTempDir("test-remote-push-dir"); in testPushFileToRemoteOxygenation() local
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DLocalFileResolver.java35 File localFile = new File(pathWithoutProtocol); in resolveRemoteFile() local
/tools/tradefederation/core/src/com/android/tradefed/host/gcs/
DGCSHostResourceManager.java62 protected void clearHostResource(String name, File localFile) { in clearHostResource()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java178 void downloadFile(String bucketName, String remoteFilename, File localFile) in downloadFile()
212 private boolean isFileFresh(File localFile, StorageObject remoteFile) { in isFileFresh()
226 public boolean isFresh(File localFile, String remotePath) throws BuildRetrievalError { in isFresh()
399 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/javatests/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.java134 File localFile = getLocalPathForFilename(buildInfo, fileName, device); in setUp() local
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil2.java47 private static boolean applyUnixModeIfNecessary(ZipArchiveEntry entry, File localFile) in applyUnixModeIfNecessary()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java225 public boolean pullFile(String deviceFilePath, File localFile) in pullFile()
443 private boolean pullFileInternal(String deviceFilePath, File localFile, int userId) in pullFileInternal()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java671 public boolean pullFile(String remoteFilePath, File localFile) in pullFile()
685 public boolean pullFile(String remoteFilePath, File localFile, int userId) in pullFile()
769 public boolean pushFile(File localFile, String deviceFilePath) in pushFile()
782 public boolean pushFile(File localFile, String deviceFilePath, int userId) in pushFile()
797 final File localFile, in pushFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1409 public boolean pullFile(final String remoteFilePath, final File localFile, int userId) in pullFile()
1431 public boolean pullFile(final String remoteFilePath, final File localFile) in pullFile()
1439 File localFile = null; in pullFile() local
1494 protected boolean pullFileInternal(String remoteFilePath, File localFile) in pullFileInternal()
1551 public boolean pushFile(final File localFile, final String remoteFilePath) in pushFile()
1557 public boolean pushFile(final File localFile, final String remoteFilePath, int userId) in pushFile()
1564 final File localFile, in pushFile()
1578 final File localFile, in pushFileInternal()
2171 File localFile = new File(localDir, item.getName()); in pullDirInternal() local
2352 protected boolean isNewer(File localFile, IFileEntry entry) { in isNewer()
DTestDevice.java3378 public MicrodroidBuilder addBootFile(File localFile, String remoteFileName) { in addBootFile()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java1251 File localFile = FileUtil.createTempFile("timezonetest", ".txt"); in testIsNewer() local
1282 File localFile = FileUtil.createTempFile("timezonetest", ".txt"); in testIsNewer_timeOffset() local
1314 File localFile = FileUtil.createTempFile("timezonetest", ".txt"); in testIsNewer_fails() local
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DModulePusher.java533 ITestDevice device, File localFile, String filePathOnDevice, boolean isDir) in pushPackageToDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java707 private boolean pullAndCheckFile(String remoteFilePath, File localFile) in pullAndCheckFile()