Home
last modified time | relevance | path

Searched refs:Digest (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/cache/
DDigestCalculator.java19 import build.bazel.remote.execution.v2.Digest;
44 public static Digest compute(File file) throws IOException { in compute()
66 public static Digest compute(Message message) { in compute()
76 public static Digest compute(byte[] blob) { in compute()
80 private static Digest buildDigest(byte[] hash, long size) { in buildDigest()
81 return Digest.newBuilder() in buildDigest()
DMerkleTree.java19 import build.bazel.remote.execution.v2.Digest;
71 public abstract Digest rootDigest(); in rootDigest()
DExecutableAction.java22 import build.bazel.remote.execution.v2.Digest;
80 public abstract Digest actionDigest(); in actionDigest()
/tools/tradefederation/core/javatests/com/android/tradefed/cache/remote/
DRemoteCacheClientTest.java25 import build.bazel.remote.execution.v2.Digest;
71 private final Map<Digest, String> mData;
73 public FakeByteStreamDownloader(Map<Digest, String> data) { in FakeByteStreamDownloader() argument
79 public ListenableFuture<Void> downloadBlob(Digest digest, OutputStream out) { in downloadBlob()
125 public Digest actionDigest = null; in uploadCache_works()
170 Digest stdOutDigest = DigestCalculator.compute(stdout.getBytes()); in lookupCache_works()
DByteStreamDownloaderTest.java23 import build.bazel.remote.execution.v2.Digest;
76 Digest digest = DigestCalculator.compute(blob.getBytes(UTF_8)); in downloadBlob_works()
/tools/tradefederation/core/common_util/com/android/tradefed/cache/remote/
DByteStreamDownloader.java21 import build.bazel.remote.execution.v2.Digest;
69 public ListenableFuture<Void> downloadBlob(Digest digest, OutputStream out) { in downloadBlob()
96 private ListenableFuture<Long> read(Digest digest, CountingOutputStream out) {
150 private String getResourceName(Digest digest) {
DRemoteCacheClient.java22 import build.bazel.remote.execution.v2.Digest;
141 Digest stdoutDigest = actionResult.getStdoutDigest(); in lookupCache()
142 if (!stdoutDigest.equals(Digest.getDefaultInstance())) { in lookupCache()
151 Digest stderrDigest = actionResult.getStderrDigest(); in lookupCache()
152 if (!actionResult.getStderrDigest().equals(Digest.getDefaultInstance())) { in lookupCache()
/tools/tradefederation/core/javatests/com/android/tradefed/cache/
DMerkleTreeTest.java22 import build.bazel.remote.execution.v2.Digest;
103 private static FileNode newFileNode(String name, Digest digest, boolean isExecutable) { in newFileNode()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DRunUtilTest.java31 import build.bazel.remote.execution.v2.Digest;
124 private final Map<Digest, ExecutableActionResult> mCache = new HashMap<>();
151 Digest digest = DigestCalculator.compute(action.action()); in lookupCache()
/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dbuild_event_stream.proto485 // Digest of the file, using the build tool's configured digest algorithm,