Home
last modified time | relevance | path

Searched refs:getExitCode (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDeviceActionTargetPreparerTest.java90 when(mCommandResult.getExitCode()).thenReturn(0); in setUp()
201 when(mCommandResult.getExitCode()).thenReturn(1); in setUp_executeFailureThrowExecutionException()
226 when(mCommandResult.getExitCode()).thenReturn(1); in setUp_saveLogErrorAndExectionFailureThrowExecutionException()
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DTestUtils.java31 return result.getExitCode() == 0; in isGameCoreCertified()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DKernelTargetTest.java161 if (result.getExitCode().equals(mExitCodeSkip)) { in checkCommandResult()
184 if (result.getExitCode().equals(mExitCodeSkip)) { in checkCommandResult()
DKUnitModuleTest.java141 result.getExitCode(), result.getStderr(), result.getStdout()); in runBinary()
204 result.getExitCode(), result.getStderr(), result.getStdout()); in runBinary()
DExecutableHostTest.java161 if (res.getExitCode() != null) { in runBinary()
162 errorMessage += String.format("\nExit Code: %s", res.getExitCode()); in runBinary()
DExecutableTargetTest.java101 result.getExitCode(), result.getStderr(), result.getStdout()); in checkCommandResult()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DCommandResult.java98 public Integer getExitCode() { in getExitCode() method in CommandResult
DFileUtil.java272 if (result.getExitCode() != null in chmodExists()
273 && result.getExitCode() != 127 in chmodExists()
274 && result.getExitCode() != 88) { in chmodExists()
DRunUtil.java287 result.getExitCode(), stdoutBuffer, stderrBuffer)); in runTimedCmdWithOutputMonitor()
425 if (result.getExitCode() == 88) { in runTimedCmdWithInput()
821 if (result.getExitCode() == null) { in backFillException()
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/
DTestDiscoveryInvoker.java199 if (res.getExitCode() != 0 || !res.getStatus().equals(CommandStatus.SUCCESS)) { in discoverTestDependencies()
201 if (res.getExitCode() != null) { in discoverTestDependencies()
203 if (code.exitCode() == res.getExitCode()) { in discoverTestDependencies()
354 if (res.getExitCode() != 0 || !res.getStatus().equals(CommandStatus.SUCCESS)) { in discoverTestMappingDependencies()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DCommandSuccessModuleController.java58 result.getExitCode(), in shouldRun()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFastbootCommandPreparer.java76 if (result.getExitCode() != 0) { in setUp()
DDeviceActionTargetPreparer.java131 if (result.getExitCode() != 0) { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessExceptionParser.java66 Integer exitCode = result.getExitCode(); in handleStderrException()
DNativeCodeCoverageFlusher.java127 if (!result.getStatus().equals(CommandStatus.SUCCESS) || (result.getExitCode() != 0)) { in findSignalHandlingPids()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java519 if (result.getExitCode() != 0) { in setProperty()
532 if (result.getExitCode() != 0) { in getProperty()
731 command, result.getStatus(), result.getExitCode())); in androidLog()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java262 Integer exitCode = testResult.getExitCode(); in runArtTest()
586 result.getExitCode(), in runChecker()
785 if (result.getStatus() != CommandStatus.SUCCESS || result.getExitCode() != 0) { in executeAndCheckShellCommand()
DHostGTest.java290 final Integer exitCode = testResult.getExitCode(); in runTest()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java278 if (result.getExitCode() != null) { in run()
281 InvocationMetricKey.SANDBOX_EXIT_CODE, result.getExitCode()); in run()
291 result.getStatus(), result.getExitCode()); in run()
/tools/platform-compat/java/android/compat/testing/
DClasspaths.java74 assertThat(shellResult.getExitCode()).isEqualTo(0); in getJarsOnClasspath()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DBluetoothHciSnoopLogCollector.java214 if (result.getExitCode() != 0) { in executeShellCommand()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteFileUtil.java220 return resSsh != null && resSsh.getExitCode() == 0; in doesRemoteFileExist()
DCommonLogRemoteFileUtil.java311 commandResult.getExitCode(), commandResult.getStatus())); in logRemoteCommandOutput()
/tools/tradefederation/core/common_util/com/android/tradefed/cache/remote/
DRemoteCacheClient.java171 return ExecutableActionResult.create(actionResult.getExitCode(), stdout, stderr); in lookupCache()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java249 result.getExitCode(), result.getStdout(), result.getStderr()); in runTest()

12