Searched refs:bucketName (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSFileDownloader.java | 73 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 …]
|
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()
|