Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java91 StorageObject getRemoteFileMetaData(String bucketName, String remoteFilename) in getRemoteFileMetaData() argument
94 return getStorage().objects().get(bucketName, remoteFilename).execute(); in getRemoteFileMetaData()
147 String remoteFilename = pathParts[1]; in isFresh() local
149 StorageObject remoteFileMeta = getRemoteFileMetaData(bucketName, remoteFilename); in isFresh()
151 if (!isRemoteFolder(bucketName, remoteFilename) && remoteFileMeta == null) { in isFresh()
160 remoteFilename = sanitizeDirectoryName(remoteFilename); in isFresh()
161 return recursiveCheckFolderFreshness(bucketName, remoteFilename, localFile); in isFresh()
273 void downloadFile(String bucketName, String remoteFilename, File localFile) in downloadFile() argument
276 if (!isRemoteFolder(bucketName, remoteFilename)) { in downloadFile()
277 fetchRemoteFile(bucketName, remoteFilename, localFile); in downloadFile()
[all …]
/tools/tradefederation/contrib/src/com/android/framework/tests/
DBandwidthMicroBenchMarkTest.java177 String remoteFilename, String spongeName, ITestInvocationListener listener) in saveFile() argument
179 File f = mTestDevice.pullFile(remoteFilename); in saveFile()
181 CLog.w("Failed to pull %s", remoteFilename); in saveFile()