/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | AtraceCollector.java | 170 private void postProcess(File trace, String id) { in postProcess() argument 181 commandLine.add(entry.replaceAll(mLogProcessingTraceInput, trace.getAbsolutePath())); in postProcess() 205 File trace = device.pullFile(fullLogPath()); in onTestEnd() local 206 if (trace != null) { in onTestEnd() 207 CLog.i("Log size: %s bytes", String.valueOf(trace.length())); in onTestEnd() 208 try (FileInputStreamSource streamSource = new FileInputStreamSource(trace)) { in onTestEnd() 215 postProcess(trace, device.getSerialNumber()); in onTestEnd() 216 trace.delete(); in onTestEnd()
|
D | BaseDeviceMetricCollector.java | 200 public final void testFailed(TestDescription test, String trace) { in testFailed() argument 201 mForwarder.testFailed(test, trace); in testFailed() 227 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 228 mForwarder.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TextResultReporter.java | 46 public void testFailed(TestDescription testId, String trace) { in testFailed() argument 48 printer.getWriter().format("\nTest %s: failed \n stack: %s ", testId, trace); in testFailed() 52 public void testAssumptionFailure(TestDescription testId, String trace) { in testAssumptionFailure() argument 54 printer.getWriter().format("\nTest %s: assumption failed \n stack: %s ", testId, trace); in testAssumptionFailure()
|
D | NameMangleListener.java | 75 public void testFailed(TestDescription test, String trace) { in testFailed() argument 77 mListener.testFailed(mangledTestId, trace); in testFailed() 82 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 84 mListener.testAssumptionFailure(mangledTestId, trace); in testAssumptionFailure()
|
D | InvocationToJUnitResultForwarder.java | 57 public void testFailed(TestDescription testId, String trace) { in testFailed() argument 60 mJUnitListener.addFailure(test, new AssertionFailedError(trace)); in testFailed() 64 public void testAssumptionFailure(TestDescription testId, String trace) { in testAssumptionFailure() argument 66 AssumptionViolatedException throwable = new AssumptionViolatedException(trace); in testAssumptionFailure()
|
D | LogcatCrashResultForwarder.java | 57 public void testFailed(TestDescription test, String trace) { in testFailed() argument 59 trace = extractCrashAndAddToMessage(trace, mStartTime); in testFailed() 60 super.testFailed(test, trace); in testFailed()
|
D | StubTestRunListener.java | 40 public void testFailed(TestIdentifier test, String trace) { in testFailed() argument 48 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() argument
|
D | ITestLifeCycleReceiver.java | 115 public default void testFailed(TestDescription test, String trace) {} in testFailed() argument 123 public default void testAssumptionFailure(TestDescription test, String trace) {} in testAssumptionFailure() argument
|
D | ResultForwarder.java | 232 public void testFailed(TestDescription test, String trace) { in testFailed() argument 235 listener.testFailed(test, trace); in testFailed() 263 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 266 listener.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
D | CollectingTestListener.java | 183 public void testFailed(TestDescription test, String trace) { in testFailed() argument 185 mCurrentResults.testFailed(test, trace); in testFailed() 189 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 191 mCurrentResults.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
D | TestRunResult.java | 208 private void updateTestResult(TestDescription test, TestStatus status, String trace) { in updateTestResult() argument 215 r.setStackTrace(trace); in updateTestResult() 219 public void testFailed(TestDescription test, String trace) { in testFailed() argument 220 updateTestResult(test, TestStatus.FAILURE, trace); in testFailed() 223 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 224 updateTestResult(test, TestStatus.ASSUMPTION_FAILURE, trace); in testAssumptionFailure()
|
D | BugreportCollector.java | 445 public void testFailed(TestDescription test, String trace) { in testFailed() argument 446 mListener.testFailed(test, trace); in testFailed() 447 mCollector.testFailed(test, trace); in testFailed() 454 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 455 mListener.testAssumptionFailure(test, trace); in testAssumptionFailure() 456 mCollector.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
D | LegacySubprocessResultsReporter.java | 39 public void testAssumptionFailure(TestIdentifier testId, String trace) { in testAssumptionFailure() argument 41 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), trace); in testAssumptionFailure()
|
D | XmlResultReporter.java | 88 public void testFailed(TestDescription test, String trace) { in testFailed() argument 89 super.testFailed(test, trace); in testFailed() 90 CLog.d("%s : %s", test, trace); in testFailed()
|
D | TestResult.java | 119 public void setStackTrace(String trace) { in setStackTrace() argument 120 mStackTrace = trace; in setStackTrace()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestFailureListenerTest.java | 64 final String trace = "oups it failed"; in testTestFailed() local 90 mFailureListener.testFailed(testId, trace); in testTestFailed() 111 final String trace = "oups it failed"; in testTestFailed_notAvailable() local 131 mFailureListener.testFailed(testId, trace); in testTestFailed_notAvailable() 143 final String trace = "oups it failed"; in testTestFailed_userBuild() local 148 mFailureListener.testFailed(testId, trace); in testTestFailed_userBuild() 163 final String trace = "oups it failed"; in testFailed_multiDevice() local 173 mFailureListener.testFailed(testId, trace); in testFailed_multiDevice()
|
/tools/tradefederation/core/prod-tests/tests/src/com/android/continuous/ |
D | SmokeTestFailureReporterTest.java | 61 final String trace = "this is a trace"; in testSingleFail() local 78 mReporter.testFailed(testId, trace); in testSingleFail() 105 final String trace = "this is a trace"; in testTwoPassOneFail() local 128 mReporter.testFailed(testFail, trace); in testTwoPassOneFail()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 76 public void testAssumptionFailure(TestIdentifier testId, String trace) { in testAssumptionFailure() argument 80 TestDescription.createFromTestIdentifier(testId), trace); in testAssumptionFailure() local 91 public void testFailed(TestIdentifier testId, String trace) { in testFailed() argument 94 listener.testFailed(TestDescription.createFromTestIdentifier(testId), trace); in testFailed() local
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTestXmlResultParser.java | 175 String trace = ((Element)testcase.getElementsByTagName("failure").item(0)) in processTestResult() local 177 if (!trace.contains("Failed")) { in processTestResult() 180 trace += "\nFailed"; in processTestResult() 183 listener.testFailed(testId, trace); in processTestResult()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 119 public void testFailed(TestDescription test, String trace) { in testFailed() argument 129 trace); in testFailed() 131 super.testFailed(test, trace); in testFailed()
|
/tools/tradefederation/core/tests/res/testdata/ |
D | subprocess1.txt | 5 …roid.gesture.cts.GestureLibraryTest","testName":"testGetGestureEntries", "trace":"Failed deal with… 11 …me":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize", "trace":"assume I fail...…
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | XmlResultReporterTest.java | 143 final String trace = "this is a trace"; in testSingleFail() local 150 mResultReporter.testFailed(testId, trace); in testSingleFail() 160 final String failureTag = String.format("<failure>%s</failure>", trace); in testSingleFail()
|
D | MetricsXMLResultReporterTest.java | 128 final String trace = "sample trace"; in testTestFailMetrics() local 135 mResultReporter.testFailed(testId, trace); in testTestFailMetrics() 146 final String failureTag = String.format("<FAILURE>%s</FAILURE>", trace); in testTestFailMetrics()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 120 public void testFailed(TestDescription test, String trace) { in testRun_testFailed() 121 error[0] = trace; in testRun_testFailed() 185 public void testFailed(TestDescription test, String trace) { in testRun_testTimeout() 186 error[0] = trace; in testRun_testTimeout()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestBase.java | 301 public void testFailed(TestDescription test, String trace) { in testFailed() argument 302 super.testFailed(test, trace); in testFailed() 305 if (trace.startsWith(INCOMPLETE_TEST_ERR_MSG_PREFIX)) { in testFailed() 306 mFatalErrors.put(test.getTestName(), trace); in testFailed() local 307 CLog.d("Test (%s) failed due to fatal error : %s", test.getTestName(), trace); in testFailed() 309 mListener.testFailed(test, trace); in testFailed()
|