Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java94 StorageObject getRemoteFileMetaData(String bucketName, String remoteFilename) in getRemoteFileMetaData() argument
97 return getStorage().objects().get(bucketName, remoteFilename).execute(); in getRemoteFileMetaData()
150 String remoteFilename = pathParts[1]; in isFresh() local
152 StorageObject remoteFileMeta = getRemoteFileMetaData(bucketName, remoteFilename); in isFresh()
154 if (!isRemoteFolder(bucketName, remoteFilename) && remoteFileMeta == null) { in isFresh()
163 remoteFilename = sanitizeDirectoryName(remoteFilename); in isFresh()
164 return recursiveCheckFolderFreshness(bucketName, remoteFilename, localFile); in isFresh()
282 void downloadFile(String bucketName, String remoteFilename, File localFile) in downloadFile() argument
289 if (!isRemoteFolder(bucketName, remoteFilename)) { in downloadFile()
290 fetchRemoteFile(bucketName, remoteFilename, localFile); in downloadFile()
[all …]