Searched refs:bucketName (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSFileDownloader.java | 70 public InputStream downloadFile(String bucketName, String filename) throws IOException { in downloadFile() argument 75 getStorage().objects().get(bucketName, filename).executeMediaAsInputStream(); in downloadFile() 91 StorageObject getRemoteFileMetaData(String bucketName, String remoteFilename) in getRemoteFileMetaData() argument 94 return getStorage().objects().get(bucketName, remoteFilename).execute(); in getRemoteFileMetaData() 146 String bucketName = pathParts[0]; in isFresh() local 149 StorageObject remoteFileMeta = getRemoteFileMetaData(bucketName, remoteFilename); in isFresh() 151 if (!isRemoteFolder(bucketName, remoteFilename) && remoteFileMeta == null) { in isFresh() 161 return recursiveCheckFolderFreshness(bucketName, remoteFilename, localFile); in isFresh() 178 String bucketName, String remoteFolderName, File localFolder) throws IOException { in recursiveCheckFolderFreshness() argument 182 listRemoteFilesUnderFolder(bucketName, remoteFolderName, subRemoteFiles, subRemoteFolders); in recursiveCheckFolderFreshness() [all …]
|
D | GCSFileUploader.java | 52 String bucketName, in uploadFile() argument 64 .list(bucketName) in uploadFile() 74 getWritableStorage().objects().insert(bucketName, object, inputStreamData).execute(); in uploadFile()
|
D | GCSBucketUtil.java | 124 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/ |
D | GCSFileDownloaderTest.java | 42 void downloadFile(String bucketName, String filename, File localFile) in setUp() 45 FileUtil.writeToFile(bucketName + "\n" + filename, localFile); in setUp()
|
D | GCSFileDownloaderFuncTest.java | 63 Storage storage, String content, String bucketName, String... pathSegs) in createFile() argument 70 bucketName, in createFile()
|