Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java73 public InputStream downloadFile(String bucketName, String filename) throws IOException { in downloadFile() argument
78 getStorage().objects().get(bucketName, filename).executeMediaAsInputStream(); in downloadFile()
94 StorageObject getRemoteFileMetaData(String bucketName, String remoteFilename) in getRemoteFileMetaData() argument
97 return getStorage().objects().get(bucketName, remoteFilename).execute(); in getRemoteFileMetaData()
149 String bucketName = pathParts[0]; in isFresh() local
152 StorageObject remoteFileMeta = getRemoteFileMetaData(bucketName, remoteFilename); in isFresh()
154 if (!isRemoteFolder(bucketName, remoteFilename) && remoteFileMeta == null) { in isFresh()
164 return recursiveCheckFolderFreshness(bucketName, remoteFilename, localFile); in isFresh()
181 String bucketName, String remoteFolderName, File localFolder) throws IOException { in recursiveCheckFolderFreshness() argument
185 listRemoteFilesUnderFolder(bucketName, remoteFolderName, subRemoteFiles, subRemoteFolders); in recursiveCheckFolderFreshness()
[all …]
DGCSFileUploader.java52 String bucketName, in uploadFile() argument
64 .list(bucketName) in uploadFile()
74 getWritableStorage().objects().insert(bucketName, object, inputStreamData).execute(); in uploadFile()
DGCSBucketUtil.java124 public GCSBucketUtil(String bucketName) { in GCSBucketUtil() argument
125 setBucketName(bucketName); in GCSBucketUtil()
675 public void setBucketName(String bucketName) { in setBucketName() argument
676 mBucketName = bucketName; in setBucketName()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderTest.java42 void downloadFile(String bucketName, String filename, File localFile) in setUp()
45 FileUtil.writeToFile(bucketName + "\n" + filename, localFile); in setUp()
DGCSFileDownloaderFuncTest.java63 Storage storage, String content, String bucketName, String... pathSegs) in createFile() argument
70 bucketName, in createFile()