Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java252 String getUriForGcsPath(Path path) { in getUriForGcsPath() method in GCSBucketUtil
280 command.add(getUriForGcsPath(Paths.get("/"))); in makeBucket()
314 command.add(getUriForGcsPath(bucketPath)); in ls()
358 return files.get(0).equals(getUriForGcsPath(Paths.get(path))); in isFile()
409 command.add(getUriForGcsPath(bucketPath)); in stat()
498 return copy(getUriForGcsPath(bucketPath), "."); in pull()
509 return copy(getUriForGcsPath(bucketPath), localFile.getPath()); in pull()
519 CommandResult res = copy(getUriForGcsPath(bucketPath), FILENAME_STDOUT); in pullContents()
541 return copy(localFile.getAbsolutePath(), getUriForGcsPath(bucketPath)); in push()
556 return copy(localFile.getAbsolutePath(), getUriForGcsPath(bucketPath)); in pushString()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSBucketUtilFuncTest.java199 Assert.assertEquals(mBucket.getUriForGcsPath(path), info.mName); in testStat()