/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | SystemServerStatusCheckerTest.java | 49 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()
|
D | KeyguardStatusCheckerTest.java | 56 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()
|
D | TimeStatusCheckerTest.java | 51 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckTimeDiff_small() 64 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckTimeDiff_large()
|
D | ActivityStatusCheckerTest.java | 58 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/ |
D | RunUtilFuncTest.java | 104 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()
|
D | GCSFileDownloaderFuncTest.java | 60 cr.getStatus()); in setUpBeforeClass() 74 cr.getStatus()); in setUpBeforeClass() 86 cr.getStatus()); in tearDownAfterClass() 91 cr.getStatus()); in tearDownAfterClass()
|
D | RunUtilTest.java | 139 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/ |
D | RemoteAndroidDevice.java | 126 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()
|
D | FastbootHelper.java | 63 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/ |
D | DeviceWiper.java | 56 if (r.getStatus() != CommandStatus.SUCCESS) { in doFormat() 71 if (r.getStatus() != CommandStatus.SUCCESS) { in performFastbootOp()
|
D | SdkAvdPreparer.java | 309 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()
|
D | KernelFlashPreparer.java | 116 if (result.getStatus() != CommandStatus.SUCCESS) { in createBootImage() 117 CLog.e("mkbootimg failed. Command status was %s", result.getStatus()); in createBootImage()
|
D | PythonVirtualenvPreparer.java | 76 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/ |
D | GranularRetriableTestWrapperTest.java | 209 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/ |
D | StatusCheckerResult.java | 44 public CheckStatus getStatus() { in getStatus() method in StatusCheckerResult
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | CommandResult.java | 48 public CommandStatus getStatus() { in getStatus() method in CommandResult
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestResult.java | 46 public TestStatus getStatus() { in getStatus() method in TestResult 161 newResult.setStatus(result.getStatus()); in clone()
|
D | TestRunResult.java | 113 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()
|
D | ConsoleResultReporter.java | 112 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/ |
D | SdkBuildInfo.java | 159 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/ |
D | CommandResult.java | 52 Status getStatus() { in getStatus() method in CommandResult
|
D | RemoteClient.java | 225 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/ |
D | CollectingTestListenerTest.java | 66 runResult.getTestResults().get(test).getStatus()); in testSingleRun() 116 runResult1.getTestResults().get(test1).getStatus()); in testTwoRuns() 118 runResult2.getTestResults().get(test2).getStatus()); in testTwoRuns()
|
D | TestRunResultTest.java | 243 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/ |
D | PythonUnitTestRunnerTest.java | 104 private CommandStatus getStatus() { in getStatus() method in PythonUnitTestRunnerTest.UnitTestResult 122 cr.setStatus(this.getStatus()); in getCommandResult()
|