Home
last modified time | relevance | path

Searched refs:getStatus (Results 1 – 25 of 62) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DSystemServerStatusCheckerTest.java49 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testPidRemainUnchanged()
50 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testPidRemainUnchanged()
62 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testPidChanged()
63 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testPidChanged()
73 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid()
74 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid()
87 assertEquals(CheckStatus.FAILED, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testPid_null()
88 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testPid_null()
DKeyguardStatusCheckerTest.java56 assertEquals(CheckStatus.SUCCESS, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck()
70 assertEquals(CheckStatus.FAILED, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck_showingAfter()
82 assertEquals(CheckStatus.SUCCESS, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck_notSupported()
DTimeStatusCheckerTest.java51 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckTimeDiff_small()
64 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckTimeDiff_large()
DActivityStatusCheckerTest.java58 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckerLauncherHomeScreen()
75 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckerOtherActivity()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilFuncTest.java104 CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_repeatedOutput()
117 assertTrue(CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_noTimeout()
146 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_largeOutput()
148 result.getStatus()); in testRunTimedCmd_largeOutput()
169 result.getStatus(), result.getStdout(), result.getStderr()), in testUnsetEnvVariable()
171 result.getStatus()); in testUnsetEnvVariable()
178 assertEquals(CommandStatus.FAILED, result.getStatus()); in testUnsetEnvVariable()
193 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_timeout()
195 result.getStatus()); in testRunTimedCmd_timeout()
DGCSFileDownloaderFuncTest.java60 cr.getStatus()); in setUpBeforeClass()
74 cr.getStatus()); in setUpBeforeClass()
86 cr.getStatus()); in tearDownAfterClass()
91 cr.getStatus()); in tearDownAfterClass()
DRunUtilTest.java139 assertEquals(CommandStatus.EXCEPTION, result.getStatus()); in testRunTimedCmd_failed()
151 assertEquals(CommandStatus.TIMED_OUT, result.getStatus()); in testRunTimedCmd_timeout()
309 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in testRuntimedCmd_withFileOutputStream()
336 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in testRuntimedCmd_regularOutput_fileNull()
364 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in testRuntimedCmd_notWritable()
/tools/tradefederation/core/src/com/android/tradefed/device/
DRemoteAndroidDevice.java126 if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect()
129 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
136 } else if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect()
142 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
152 if (CommandStatus.SUCCESS.equals(resultConfirmation.getStatus()) && in confirmAdbTcpConnect()
159 resultConfirmation.getStatus(), resultConfirmation.getStdout(), in confirmAdbTcpConnect()
177 return CommandStatus.SUCCESS.equals(result.getStatus()); in adbTcpDisconnect()
DFastbootHelper.java63 if (fastbootResult.getStatus() == CommandStatus.SUCCESS) { in isFastbootAvailable()
86 if (fastbootResult.getStatus().equals(CommandStatus.SUCCESS)) { in getDevices()
91 CLog.w("'fastboot devices' failed. Result: %s, stderr: %s", fastbootResult.getStatus(), in getDevices()
124 if (fastbootResult.getStatus() != CommandStatus.SUCCESS) { in executeCommand()
126 fastbootResult.getStatus(), fastbootResult.getStderr()); in executeCommand()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceWiper.java56 if (r.getStatus() != CommandStatus.SUCCESS) { in doFormat()
71 if (r.getStatus() != CommandStatus.SUCCESS) { in performFastbootOp()
DSdkAvdPreparer.java309 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in getSdkTargets()
312 sdkBuild.getAndroidToolPath(), result.getStatus(), result.getStdout(), in getSdkTargets()
407 if (!result.getStatus().equals(CommandStatus.SUCCESS) || result.getStdout() == null || in createAvdForTarget()
412 CLog.d("AVD creation failed. status: '%s' stdout: '%s'", result.getStatus(), in createAvdForTarget()
457 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in addHardwareOptions()
458 CLog.d("Failed to add AVD hardware option '%s' stdout: '%s'", result.getStatus(), in addHardwareOptions()
DKernelFlashPreparer.java116 if (result.getStatus() != CommandStatus.SUCCESS) { in createBootImage()
117 CLog.e("mkbootimg failed. Command status was %s", result.getStatus()); in createBootImage()
DPythonVirtualenvPreparer.java76 if (c.getStatus() != CommandStatus.SUCCESS) { in installDeps()
89 if (c.getStatus() != CommandStatus.SUCCESS) { in installDeps()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java209 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase).getStatus()); in testRun_withMultipleRun()
237 TestStatus.FAILURE, finalResult.getTestResults().get(fakeTestCase1).getStatus()); in testRun_retryOnFailedTestCaseOnly()
239 TestStatus.PASSED, finalResult.getTestResults().get(fakeTestCase2).getStatus()); in testRun_retryOnFailedTestCaseOnly()
275 TestStatus.FAILURE, runResult.getTestResults().get(fakeTestCase1).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
277 TestStatus.PASSED, runResult.getTestResults().get(fakeTestCase2).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DStatusCheckerResult.java44 public CheckStatus getStatus() { in getStatus() method in StatusCheckerResult
/tools/tradefederation/core/src/com/android/tradefed/util/
DCommandResult.java48 public CommandStatus getStatus() { in getStatus() method in CommandResult
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestResult.java46 public TestStatus getStatus() { in getStatus() method in TestResult
161 newResult.setStatus(result.getStatus()); in clone()
DTestRunResult.java113 TestStatus status = testEntry.getValue().getStatus(); in getTestsInState()
144 mStatusCounts[r.getStatus().ordinal()]++; in getNumTestsInState()
240 if (result.getStatus().equals(TestStatus.INCOMPLETE)) { in testEnded()
422 existingResult.setStatus(testResultEntry.getValue().getStatus()); in merge()
DConsoleResultReporter.java112 if (mSuppressPassedTest && TestStatus.PASSED.equals(entry.getValue().getStatus())) { in getTestRunSummary()
134 sb.append(String.format(" %s: %s (%dms)\n", testId.toString(), testResult.getStatus(), in getTestSummary()
/tools/tradefederation/core/src/com/android/tradefed/build/
DSdkBuildInfo.java159 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in getSdkTargets()
162 getAndroidToolPath(), result.getStatus(), result.getStderr())); in getSdkTargets()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DCommandResult.java52 Status getStatus() { in getStatus() method in CommandResult
DRemoteClient.java225 switch (r.getStatus()) { in sendGetLastCommandResult()
243 throw new RemoteException("unrecognized status " + r.getStatus().name()); in sendGetLastCommandResult()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java66 runResult.getTestResults().get(test).getStatus()); in testSingleRun()
116 runResult1.getTestResults().get(test1).getStatus()); in testTwoRuns()
118 runResult2.getTestResults().get(test2).getStatus()); in testTwoRuns()
DTestRunResultTest.java243 assertEquals(TestStatus.PASSED, test1Result.getStatus()); in testMergeRetriedRunResults_fullMergeLogicCheck()
244 assertEquals(TestStatus.PASSED, test2Result.getStatus()); in testMergeRetriedRunResults_fullMergeLogicCheck()
245 assertEquals(TestStatus.FAILURE, test3Result.getStatus()); in testMergeRetriedRunResults_fullMergeLogicCheck()
293 assertEquals(TestStatus.FAILURE, testResult.getStatus()); in testMergeRetriedRunResults_checkMergingStackTraces()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java104 private CommandStatus getStatus() { in getStatus() method in PythonUnitTestRunnerTest.UnitTestResult
122 cr.setStatus(this.getStatus()); in getCommandResult()

123