/tools/tradefederation/core/global_configuration/com/android/tradefed/host/ |
D | LocalHostResourceManager.java | 48 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/ |
D | AndroidTestUtils.kt | 44 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/ |
D | GCSFileDownloaderFuncTest.java | 236 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
|
D | GCSFileDownloaderTest.java | 60 File localFile = null; in testDownloadFile() local
|
D | GCSBucketUtilFuncTest.java | 208 File localFile = FileUtil.createTempFile(FILE_NAME, "", mLocalRoot); in testmd5Hash() local
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | RemoteFileUtil.java | 53 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()
|
D | GceRemoteCmdFormatter.java | 92 String localFile, in getScpCommand()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/ |
D | RemoteFileUtilTest.java | 163 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/ |
D | LocalFileResolver.java | 35 File localFile = new File(pathWithoutProtocol); in resolveRemoteFile() local
|
/tools/tradefederation/core/src/com/android/tradefed/host/gcs/ |
D | GCSHostResourceManager.java | 62 protected void clearHostResource(String name, File localFile) { in clearHostResource()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSFileDownloader.java | 178 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()
|
D | GCSBucketUtil.java | 451 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/ |
D | LocalHostResourceManagerTest.java | 52 File localFile = FileUtil.createTempFile("filename", "apk", mLocalRoot); in testSetupHostResource() local
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | FileDownloadCacheWrapper.java | 54 public boolean isFresh(File localFile, String remoteFilePath) throws BuildRetrievalError { in isFresh()
|
D | IFileDownloader.java | 76 public default boolean isFresh(File localFile, String remoteFilePath) in isFresh()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | TestFilePushSetup.java | 134 File localFile = getLocalPathForFilename(buildInfo, fileName, device); in setUp() local
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil2.java | 47 private static boolean applyUnixModeIfNecessary(ZipArchiveEntry entry, File localFile) in applyUnixModeIfNecessary()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandler.java | 225 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/ |
D | INativeDevice.java | 671 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/ |
D | NativeDevice.java | 1409 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()
|
D | TestDevice.java | 3378 public MicrodroidBuilder addBootFile(File localFile, String remoteFileName) { in addBootFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 1251 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/ |
D | ModulePusher.java | 533 ITestDevice device, File localFile, String filePathOnDevice, boolean isDir) in pushPackageToDevice()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | ArtRunTest.java | 707 private boolean pullAndCheckFile(String remoteFilePath, File localFile) in pullAndCheckFile()
|