/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 92 public void testRunFailed(String errorMessage) { in testRunFailed() argument 93 testRunFailed(FailureDescription.create(errorMessage, FailureStatus.TEST_FAILURE)); in testRunFailed() 101 String errorMessage = error.getErrorMessage(); in testRunFailed() local 103 errorMessage = addJavaCrashToString(mLogcatItem, errorMessage); in testRunFailed() 106 errorMessage = extractCrashAndAddToMessage(errorMessage, mLastStartTime); in testRunFailed() 108 error.setErrorMessage(errorMessage); in testRunFailed() 109 if (isCrash(errorMessage)) { in testRunFailed() 122 private String extractCrashAndAddToMessage(String errorMessage, Long startTime) { in extractCrashAndAddToMessage() argument 123 if (isCrash(errorMessage) && startTime != null) { in extractCrashAndAddToMessage() 125 errorMessage = addJavaCrashToString(mLogcatItem, errorMessage); in extractCrashAndAddToMessage() [all …]
|
D | CollectingTestListener.java | 220 String errorMessage = in testRunStarted() local 225 result.testRunFailed(errorMessage); in testRunStarted() 249 public void testRunFailed(String errorMessage) { in testRunFailed() argument 251 mCurrentTestRunResult.testRunFailed(errorMessage); in testRunFailed()
|
D | BugreportCollector.java | 473 public void testRunFailed(String errorMessage) { in testRunFailed() argument 474 mListener.testRunFailed(errorMessage); in testRunFailed() 475 mCollector.testRunFailed(errorMessage); in testRunFailed()
|
D | NameMangleListener.java | 104 public void testRunFailed(String errorMessage) { in testRunFailed() argument 105 mListener.testRunFailed(errorMessage); in testRunFailed()
|
D | InvocationToJUnitResultForwarder.java | 86 public void testRunFailed(String errorMessage) { in testRunFailed() argument 88 Log.e(LOG_TAG, String.format("Run failed: %s", errorMessage)); in testRunFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 97 String errorMessage = null; in TestMapping() local 149 errorMessage = String.format("TEST_MAPPING file does not exist: %s.", path.toString()); in TestMapping() 150 CLog.e(errorMessage); in TestMapping() 152 errorMessage = in TestMapping() 157 if (errorMessage != null) { in TestMapping() 158 CLog.e(errorMessage); in TestMapping() 159 throw new RuntimeException(errorMessage); in TestMapping()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | FailureDescription.java | 134 public void setErrorMessage(String errorMessage) { in setErrorMessage() argument 135 mErrorMessage = errorMessage; in setErrorMessage() 155 public static FailureDescription create(String errorMessage) { in create() argument 156 return create(errorMessage, null); in create() 167 String errorMessage, @Nullable TestRecordProto.FailureStatus status) { in create() argument 169 info.mErrorMessage = errorMessage; in create()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 252 public void testRunFailed(String errorMessage) { in testRun_deviceReboot() argument 253 error[0] = errorMessage; in testRun_deviceReboot() 281 public void testRunFailed(String errorMessage) { in testRun_maxTimeout() argument 282 called[0] = errorMessage; in testRun_maxTimeout() 335 public void testRunFailed(String errorMessage) { in testRun_deviceRuntimeReset() argument 336 error[0] = errorMessage; in testRun_deviceRuntimeReset()
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/ |
D | AtestUtils.java | 84 StringBuilder errorMessage = new StringBuilder("Please check:\n"); in checkError() local 86 errorMessage.append("- Atest target" + EMPTY_STRING_ERROR); in checkError() 89 errorMessage.append("- lunch target" + EMPTY_STRING_ERROR); in checkError() 92 errorMessage.append( in checkError() 96 return errorMessage.toString(); in checkError()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestListener.java | 61 StringBuilder errorMessage = new StringBuilder(); in testRunEnded() local 62 errorMessage.append( in testRunEnded() 65 errorMessage.append(String.format(" Partial list: %s", mDuplicateTests)); in testRunEnded() 67 errorMessage.append(String.format(" Full list: %s", mDuplicateTests)); in testRunEnded() 69 FailureDescription error = FailureDescription.create(errorMessage.toString()); in testRunEnded()
|
D | GTestXmlResultParser.java | 101 String errorMessage = String.format("Failed to get an xml output from tests," in parseResult() 104 errorMessage += "\nlogs:\n" + output.getOutput(); in parseResult() 105 CLog.e(errorMessage); in parseResult() 107 listener.testRunFailed(errorMessage); in parseResult()
|
D | GoogleBenchmarkResultParser.java | 100 String errorMessage = testResults.get("error_message"); in parse() local 101 if (Strings.isNullOrEmpty(errorMessage)) { in parse() 107 String.format("Benchmark reported an error: %s", errorMessage)); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxConfigUtil.java | 99 String errorMessage = "Error when dumping the config."; in dumpConfigForVersion() local 101 errorMessage += in dumpConfigForVersion() 104 errorMessage += String.format(" stderr: %s", result.getStderr()); in dumpConfigForVersion() 105 throw new SandboxConfigurationException(errorMessage); in dumpConfigForVersion()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTest.java | 139 String errorMessage = FileUtil.readStringFromFile(stdout); in runBinary() local 141 errorMessage += "\nTimeout."; in runBinary() 145 errorMessage += String.format("\nExit Code: %s", res.getExitCode()); in runBinary() 149 FailureDescription.create(errorMessage).setFailureStatus(status)); in runBinary()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | DeviceStorageStatusChecker.java | 63 String errorMessage = in preExecutionCheck() local 67 CLog.e(errorMessage); in preExecutionCheck() 68 result.setErrorMessage(errorMessage); in preExecutionCheck()
|
D | DeviceSettingChecker.java | 90 String errorMessage = in preExecutionCheck() local 94 CLog.w(errorMessage); in preExecutionCheck() 95 result.setErrorMessage(errorMessage); in preExecutionCheck()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 86 public void testRunFailed(String errorMessage) { in testRunFailed() argument 87 CLog.d("ModuleListener.testRunFailed(%s)", errorMessage); in testRunFailed() 88 super.testRunFailed(errorMessage); in testRunFailed()
|
D | ITestSuite.java | 832 String errorMessage = in runPreModuleCheck() local 834 failures.put(checker.getClass().getCanonicalName(), errorMessage); in runPreModuleCheck() local 880 String errorMessage = in runPostModuleCheck() local 882 failures.put(checker.getClass().getCanonicalName(), errorMessage); in runPostModuleCheck() local
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraStartupTest.java | 112 private void exitTestRunsOnError(ITestInvocationListener listener, String errorMessage) { in exitTestRunsOnError() argument 114 + " Test results will not be posted. errorMsg: %s", errorMessage); in exitTestRunsOnError() 115 listener.testRunFailed(errorMessage); in exitTestRunsOnError()
|
D | CameraTestBase.java | 317 public void testRunFailed(String errorMessage) { in testRunFailed() argument 318 super.testRunFailed(errorMessage); in testRunFailed() 319 mFatalErrors.put(getRuKey(), errorMessage); in testRunFailed() local
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | NoisyDryRunTest.java | 172 String errorMessage = String.format("Failed to parse command line: %s.", cmdLine); in testCommandLines() 173 CLog.e(errorMessage); in testCommandLines() 177 String.format("%s\n%s", errorMessage, StreamUtil.getStackTrace(e))); in testCommandLines()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestRunResult.java | 334 public void testRunFailed(String errorMessage) { in testRunFailed() argument 335 if (errorMessage == null) { in testRunFailed() 338 testRunFailed(FailureDescription.create(errorMessage)); in testRunFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecution.java | 722 private FailureDescription createInvocationFailure(String errorMessage, FailureStatus status) { in createInvocationFailure() argument 723 FailureDescription failure = FailureDescription.create(errorMessage); in createInvocationFailure() 725 failure.setCause(new RuntimeException(errorMessage)); in createInvocationFailure()
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/ |
D | AtestToolWindow.java | 160 String errorMessage = in setRunButton() 162 MessageDialog.showMessageDialog(errorMessage); in setRunButton()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/ |
D | CurrentInvocation.java | 169 String errorMessage, ErrorIdentifier errorIdentifier) { in createFailure() argument 170 FailureDescription failure = FailureDescription.create(errorMessage); in createFailure()
|