Home
last modified time | relevance | path

Searched refs:SUCCESS (Results 1 – 25 of 80) sorted by relevance

1234

/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()
73 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid()
74 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid()
88 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testPid_null()
DKeyguardStatusCheckerTest.java56 assertEquals(CheckStatus.SUCCESS, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck()
82 assertEquals(CheckStatus.SUCCESS, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck_notSupported()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DSystemServerFileDescriptorChecker.java40 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck()
49 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
54 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
60 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
70 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
DISystemStatusChecker.java50 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck()
64 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
DSystemServerStatusChecker.java37 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck()
61 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
68 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
DStatusCheckerResult.java23 SUCCESS, enumConstant
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java59 CommandStatus.SUCCESS, in setUpBeforeClass()
73 CommandStatus.SUCCESS, in setUpBeforeClass()
85 CommandStatus.SUCCESS, in tearDownAfterClass()
90 CommandStatus.SUCCESS, in tearDownAfterClass()
DRunUtilFuncTest.java104 CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_repeatedOutput()
117 assertTrue(CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_noTimeout()
147 CommandStatus.SUCCESS, in testRunTimedCmd_largeOutput()
170 CommandStatus.SUCCESS, in testUnsetEnvVariable()
DRunUtilTest.java104 assertEquals(CommandStatus.SUCCESS, in testRunTimed()
218 return runnable.run() ? CommandStatus.SUCCESS : CommandStatus.FAILED; in testRunEscalatingTimedRetry_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/tests/src/com/android/tradefed/device/
DAndroidDebugBridgeWrapperTest.java53 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing()
69 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_altFormat()
104 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_partial()
120 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_parseFail()
DRemoteAndroidDeviceTest.java77 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect()
80 adbResultConfirmation.setStatus(CommandStatus.SUCCESS); in testAdbConnect()
97 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails()
115 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails_confirmation()
131 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbDisconnect()
DWaitDeviceRecoveryTest.java135 result.setStatus(CommandStatus.SUCCESS); in testRecoverDevice_fastboot()
161 andReturn(new CommandResult(CommandStatus.SUCCESS)); in testRecoverDeviceBootloader_fastboot()
169 andReturn(new CommandResult(CommandStatus.SUCCESS)); in testRecoverDeviceBootloader_fastboot()
187 andReturn(new CommandResult(CommandStatus.SUCCESS)); in testRecoverDeviceBootloader_unavailable()
195 andReturn(new CommandResult(CommandStatus.SUCCESS)); in testRecoverDeviceBootloader_unavailable()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java131 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetImageVersion()
148 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetCurrentSlot_fastboot()
191 fastbootInValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand()
198 fastbootValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand()
289 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists()
301 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists()
336 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists()
360 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists_error()
379 result.setStatus(CommandStatus.SUCCESS); in doTestFlashWithWipe()
515 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashBootloader()
[all …]
DPythonVirtualenvPreparerTest.java55 .andReturn(new CommandResult(CommandStatus.SUCCESS)); in testInstallDeps_reqFile_success()
66 new CommandResult(CommandStatus.SUCCESS)); in testInstallDeps_depModule_success()
/tools/tradefederation/core/src/com/android/tradefed/device/
DRemoteAndroidDevice.java126 if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect()
136 } else if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect()
152 if (CommandStatus.SUCCESS.equals(resultConfirmation.getStatus()) && 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()
124 if (fastbootResult.getStatus() != CommandStatus.SUCCESS) { in executeCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DFailureEmailResultReporterTest.java56 FakeEmailResultReporter r = new FakeEmailResultReporter(false, InvocationStatus.SUCCESS); in testShouldSendMessage()
68 r = new FakeEmailResultReporter(true, InvocationStatus.SUCCESS); in testShouldSendMessage()
DInvocationFailureEmailResultReporterTest.java46 FakeEmailResultReporter r = new FakeEmailResultReporter(InvocationStatus.SUCCESS); in testShouldSendMessage()
/tools/tradefederation/core/src/com/android/tradefed/util/
DCommandStatus.java23 SUCCESS, enumConstant
/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()
DPythonVirtualenvPreparer.java76 if (c.getStatus() != CommandStatus.SUCCESS) { in installDeps()
89 if (c.getStatus() != CommandStatus.SUCCESS) { in installDeps()
/tools/acloud/public/
Dreport.py68 SUCCESS = "SUCCESS" variable in Status
73 SEVERITY_ORDER = {UNKNOWN: 0, SUCCESS: 1, FAIL: 2, BOOT_FAIL: 3}
/tools/tradefederation/core/src/com/android/tradefed/result/
DInvocationStatus.java22 SUCCESS, FAILED, BUILD_ERROR; enumConstant
DFailureEmailResultReporter.java55 return !getInvocationStatus().equals(InvocationStatus.SUCCESS) || hasFailedTests(); in shouldSendMessage()
DInvocationFailureEmailResultReporter.java61 return !getInvocationStatus().equals(InvocationStatus.SUCCESS); in shouldSendMessage()

1234