/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceCollector.java | 192 private void postProcess(File trace) { in postProcess() argument 203 commandLine.add(entry.replaceAll(mLogProcessingTraceInput, trace.getAbsolutePath())); in postProcess() 257 File trace = device.pullFile(fullLogPath()); in onTestEnd() local 258 if (trace != null) { in onTestEnd() 259 CLog.i("Log size: %s bytes", String.valueOf(trace.length())); in onTestEnd() 261 try (FileInputStreamSource streamSource = new FileInputStreamSource(trace)) { in onTestEnd() 268 postProcess(trace); in onTestEnd() 269 trace.delete(); in onTestEnd()
|
/tools/trebuchet/ |
D | README.md | 3 Trebuchet is a Kotlin library for parsing and analyzing Android trace files generated by the `atrac… 11 Trebuchet comes bundled with several programs for analyzing one or more trace files. 15 The Startup Analyzer program takes a trace file, detects any startup events that occurred during th… 19 The Startup Summarizer program takes a set of trace files, detects startup events in each file, and… 23 …-startup.sh`, which will start a trace, launch an activity given a package name and an activity na…
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestFailureListenerTest.java | 59 final String trace = "oups it failed"; in testTestFailed() local 69 mFailureListener.testFailed(testId, trace); in testTestFailed() 81 final String trace = "oups it failed"; in testTestFailed_userBuild() local 86 mFailureListener.testFailed(testId, trace); in testTestFailed_userBuild() 101 final String trace = "oups it failed"; in testFailed_multiDevice() local 111 mFailureListener.testFailed(testId, trace); in testFailed_multiDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 165 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 166 super.testAssumptionFailure(test, trace); in testAssumptionFailure() 168 mTrace = trace; in testAssumptionFailure() 180 public void testFailed(TestDescription test, String trace) { in testFailed() argument 185 mTrace = trace; in testFailed() 186 super.testFailed(test, trace); in testFailed()
|
/tools/trebuchet/trebuchet/startup-analyzer/ |
D | README.md | 6 :trebuchet:startup-analyzer:run --args="<absolute path to trace file>"`. 8 If you do not already have a trace file to analyze you can capture 10 seconds 13 trace from HTML files generated by `systrace.py`. 18 Opening `/usr/local/google/home/chriswailes/projects/trebuchet/trace-facebook.html` 21 Parsing trace-facebook.html took 435ms 105 Obfuscated trace point
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
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 | InvocationToJUnitResultForwarder.java | 58 public void testFailed(TestDescription testId, String trace) { in testFailed() argument 61 mJUnitListener.addFailure(test, new AssertionFailedError(trace)); in testFailed() 64 String.format("\nTest %s failed with stack:\n %s", testId.toString(), trace)); in testFailed() 68 public void testAssumptionFailure(TestDescription testId, String trace) { in testAssumptionFailure() argument 70 AssumptionViolatedException throwable = new AssumptionViolatedException(trace); in testAssumptionFailure()
|
D | LogcatCrashResultForwarder.java | 68 public void testFailed(TestDescription test, String trace) { in testFailed() argument 69 testFailed(test, FailureDescription.create(trace)); in testFailed() 75 String trace = extractCrashAndAddToMessage(failure.getErrorMessage(), mStartTime); in testFailed() local 76 if (trace.compareTo(failure.getErrorMessage()) != 0) { in testFailed() 80 failure.setErrorMessage(trace); in testFailed()
|
D | TextResultReporter.java | 46 public void testFailed(TestDescription testId, String trace) { in testFailed() argument 47 super.testFailed(testId, trace); in testFailed() 51 public void testAssumptionFailure(TestDescription testId, String trace) { in testAssumptionFailure() argument 52 super.testAssumptionFailure(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 | TestResultListener.java | 57 public final void testFailed(TestDescription test, String trace) { in testFailed() argument 59 mCurrentResult.setStackTrace(trace); in testFailed() 63 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 65 mCurrentResult.setStackTrace(trace); in testAssumptionFailure()
|
D | ResultForwarder.java | 286 public void testFailed(TestDescription test, String trace) { in testFailed() argument 289 listener.testFailed(test, trace); in testFailed() 330 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 333 listener.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
D | CollectingTestListener.java | 296 public void testFailed(TestDescription test, String trace) { in testFailed() argument 298 mCurrentTestRunResult.testFailed(test, trace); in testFailed() 308 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 310 mCurrentTestRunResult.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 254 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 255 super.testAssumptionFailure(test, trace); in testAssumptionFailure() 256 mDetailedForwarder.testAssumptionFailure(test, trace); in testAssumptionFailure() 260 public void testFailed(TestDescription test, String trace) { in testFailed() argument 261 super.testFailed(test, trace); in testFailed() 262 mDetailedForwarder.testFailed(test, trace); in testFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporter.java | 414 public final void testFailed(TestDescription test, String trace) { in testFailed() argument 420 debugBuilder.setErrorMessage(trace); in testFailed() 421 debugBuilder.setTrace(trace); in testFailed() 456 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 462 debugBuilder.setErrorMessage(trace); in testAssumptionFailure() 463 debugBuilder.setTrace(trace); in testAssumptionFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 86 public void testAssumptionFailure(TestIdentifier testId, String trace) { in testAssumptionFailure() argument 93 TestDescription.createFromTestIdentifier(testId), trace); in testAssumptionFailure() local 104 public void testFailed(TestIdentifier testId, String trace) { in testFailed() argument 106 mNullStack = trace; in testFailed() 111 listener.testFailed(TestDescription.createFromTestIdentifier(testId), trace); in testFailed() local
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestBase.java | 305 public void testFailed(TestDescription test, String trace) { in testFailed() argument 306 super.testFailed(test, trace); in testFailed() 309 if (trace.startsWith(INCOMPLETE_TEST_ERR_MSG_PREFIX)) { in testFailed() 310 mFatalErrors.put(test.getTestName(), trace); in testFailed() local 311 CLog.d("Test (%s) failed due to fatal error : %s", test.getTestName(), trace); in testFailed() 313 mListener.testFailed(test, trace); in testFailed()
|
/tools/tradefederation/core/atest/test_runners/ |
D | event_handler.py | 166 trace = self.state['last_failed']['trace'] 172 trace = None 176 trace = None 179 trace = None 192 details=trace,
|
/tools/asuite/atest/test_runners/ |
D | event_handler.py | 168 trace = self.state['last_failed']['trace'] 174 trace = None 178 trace = None 181 trace = None 194 details=trace,
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestXmlResultParser.java | 186 String trace = ((Element)testcase.getElementsByTagName("failure").item(0)) in processTestResult() local 188 if (!trace.contains("Failed")) { in processTestResult() 191 trace += "\nFailed"; in processTestResult() 194 listener.testFailed(testId, trace); in processTestResult()
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 209 public final void testFailed(TestDescription test, String trace) { in testFailed() argument 210 mForwarder.testFailed(test, trace); in testFailed() 275 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 276 mForwarder.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 133 public void testFailed(TestDescription test, String trace) { in testRun_testFailed() argument 134 error[0] = trace; in testRun_testFailed() 199 public void testFailed(TestDescription test, String trace) { in testRun_testTimeout() argument 200 error[0] = trace; in testRun_testTimeout()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 306 public final void testFailed(TestDescription test, String trace) { in testFailed() argument 315 mForwarder.testFailed(test, trace); in testFailed() 358 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 367 mForwarder.testAssumptionFailure(test, trace); in testAssumptionFailure()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestRunResult.java | 298 public void testFailed(TestDescription test, String trace) { in testFailed() argument 299 updateTestResult(test, TestStatus.FAILURE, FailureDescription.create(trace)); in testFailed() 306 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 307 updateTestResult(test, TestStatus.ASSUMPTION_FAILURE, FailureDescription.create(trace)); in testAssumptionFailure()
|
/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()
|