Home
last modified time | relevance | path

Searched refs:actionResult (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/cache/remote/
DRemoteCacheClient.java72 public void uploadCache(ExecutableAction action, ExecutableActionResult actionResult) in uploadCache() argument
75 ActionResult.newBuilder().setExitCode(actionResult.exitCode()); in uploadCache()
77 if (actionResult.stdOut() != null) { in uploadCache()
78 actionResultBuilder.setStdoutDigest(DigestCalculator.compute(actionResult.stdOut())); in uploadCache()
81 if (actionResult.stdErr() != null) { in uploadCache()
82 actionResultBuilder.setStderrDigest(DigestCalculator.compute(actionResult.stdErr())); in uploadCache()
104 ActionResult actionResult = null; in lookupCache() local
106 actionResult = in lookupCache()
131 if (actionResult == null) { in lookupCache()
141 Digest stdoutDigest = actionResult.getStdoutDigest(); in lookupCache()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/cache/remote/
DRemoteCacheClientTest.java124 public ActionResult actionResult = null; in uploadCache_works() field in RemoteCacheClientTest.SpyActionCacheImpl
131 actionResult = request.getActionResult(); in uploadCache_works()
133 responseObserver.onNext(actionResult); in uploadCache_works()
156 assertEquals(actionCache.actionResult, expectedResult); in uploadCache_works()
/tools/tradefederation/core/common_util/com/android/tradefed/cache/
DICacheClient.java33 public void uploadCache(ExecutableAction action, ExecutableActionResult actionResult) in uploadCache() argument
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DRunUtilTest.java129 public void uploadCache(ExecutableAction action, ExecutableActionResult actionResult) { in uploadCache() argument
132 System.out.println(FileUtil.readStringFromFile(actionResult.stdOut())); in uploadCache()
134 FileUtil.copyFile(actionResult.stdOut(), stdout); in uploadCache()
136 if (actionResult.stdErr() != null) { in uploadCache()
138 FileUtil.copyFile(actionResult.stdErr(), stderr); in uploadCache()
142 ExecutableActionResult.create(actionResult.exitCode(), stdout, stderr)); in uploadCache()