Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardListenerTest.java65 TestDescription tid = new TestDescription("class1", "name1"); in testBufferAndReplay() local
66 mMockListener.testStarted(tid, 0l); in testBufferAndReplay()
67 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay()
74 mShardListener.testStarted(tid, 0l); in testBufferAndReplay()
75 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay()
104 TestDescription tid = new TestDescription("class1", "name1"); in testBufferAndReplay_withModule() local
105 mMockListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
106 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
109 mMockListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
110 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleListenerTest.java55 TestDescription tid = new TestDescription("class", "test" + i); in testRegularExecution() local
56 mListener.testStarted(tid); in testRegularExecution()
57 mListener.testEnded(tid, new HashMap<String, Metric>()); in testRegularExecution()
69 TestDescription tid = new TestDescription("class", "test" + numTests); in testRun_missingTests() local
71 mListener.testStarted(tid); in testRun_missingTests()
72 mListener.testEnded(tid, new HashMap<String, Metric>()); in testRun_missingTests()
89 TestDescription tid = new TestDescription("class", "test" + numTests); in testInternalRerun() local
91 mListener.testStarted(tid); in testInternalRerun()
92 mListener.testEnded(tid, new HashMap<String, Metric>()); in testInternalRerun()
116 TestDescription tid = new TestDescription("class", "test" + i); in testMultiTestRun() local
[all …]
DTestSuiteStub.java92 TestDescription tid = new TestDescription("TestStub", "test1"); in testAttempt() local
93 listener.testStarted(tid); in testAttempt()
96 tid.toString() + "-file", in testAttempt()
100 listener.testEnded(tid, new HashMap<String, Metric>()); in testAttempt()
163 for (TestDescription tid : mShardedTestToRun) { in run()
164 listener.testStarted(tid); in run()
165 listener.testEnded(tid, new HashMap<String, Metric>()); in run()
168 TestDescription tid = mShardedTestToRun.get(0); in run() local
169 listener.testStarted(tid); in run()
170 listener.testEnded(tid, new HashMap<String, Metric>()); in run()
[all …]
DMultiDeviceStubTest.java68 TestDescription tid = new TestDescription(getClass().getSimpleName(), "test" + i); in run() local
69 listener.testStarted(tid, 0); in run()
70 listener.testEnded(tid, 5, new HashMap<String, Metric>()); in run()
DModuleDefinitionTest.java996 TestDescription tid = new TestDescription("class", "method"); in testModuleController_skipTestCases()
998 listener.testStarted(tid); in testModuleController_skipTestCases()
999 listener.testFailed(tid, "I failed"); in testModuleController_skipTestCases()
1000 listener.testEnded(tid, new HashMap<String, Metric>()); in testModuleController_skipTestCases()
/tools/loganalysis/src/com/android/loganalysis/parser/
DLogcatParser.java108 public LogcatData(Integer pid, Integer tid, Date time, String level, String tag, in LogcatData() argument
111 mTid = tid; in LogcatData()
224 Integer tid = null; in parseLine() local
235 tid = Integer.parseInt(m.group(3)); in parseLine()
279 String key = encodeLine(pid, tid, level, tag); in parseLine()
282 data = new LogcatData(pid, tid, time, level, tag, mPreambleUtil.getLastTail(), in parseLine()
296 String key = encodeLine(pid, tid, level, tag); in parseLine()
299 data = new LogcatData(pid, tid, time, level, tag, mPreambleUtil.getLastTail(), in parseLine()
311 String key = encodeLine(pid, tid, level, tag); in parseLine()
314 data = new LogcatData(pid, tid, time, level, tag, mPreambleUtil.getLastTail(), in parseLine()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java317 TestDescription tid = new TestDescription("elapsed-time", "run-elapsed-time"); in reportMetrics() local
318 listener.testStarted(tid); in reportMetrics()
322 listener.testEnded(tid, runMetrics); in reportMetrics()
336 TestDescription tid = new TestDescription("temporary-files", "testIfClean"); in testTmpDirClean() local
337 listener.testStarted(tid); in testTmpDirClean()
361 listener.testFailed(tid, trace); in testTmpDirClean()
363 listener.testEnded(tid, new HashMap<String, Metric>()); in testTmpDirClean()
403 TestDescription tid = new TestDescription("hprof", "allocationSites"); in logHprofResults() local
404 listener.testStarted(tid); in logHprofResults()
405 listener.testEnded(tid, TfMetricProtoUtil.upgradeConvert(results)); in logHprofResults()
DSubprocessTfLauncher.java363 TestDescription tid = new TestDescription("stderr-test", "checkIsEmpty"); in testCleanStdErr() local
364 listener.testStarted(tid); in testCleanStdErr()
370 listener.testFailed(tid, trace); in testCleanStdErr()
372 listener.testEnded(tid, new HashMap<String, Metric>()); in testCleanStdErr()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestTest.java828 TestDescription tid = new TestDescription("fakeclass", "fakemethod" + i); in testCollectWorks_RunCrash()
829 listener.testStarted(tid, 5); in testCollectWorks_RunCrash()
830 listener.testEnded(tid, 15, EMPTY_STRING_MAP); in testCollectWorks_RunCrash()
873 TestDescription tid = new TestDescription("fakeclass", "fakemethod" + i); in testRun_noMoreTests()
874 listener.testStarted(tid, 5); in testRun_noMoreTests()
875 listener.testEnded(tid, 15, EMPTY_STRING_MAP); in testRun_noMoreTests()
885 TestDescription tid = new TestDescription("fakeclass", "fakemethod0"); in testRun_noMoreTests()
886 listener.testStarted(tid, 0L); in testRun_noMoreTests()
888 tid, "Instrumentation run failed due to 'Process crashed.'"); in testRun_noMoreTests()
889 listener.testEnded(tid, 15L, EMPTY_STRING_MAP); in testRun_noMoreTests()
[all …]
DJarHostTestTest.java292 TestDescription tid = new TestDescription(Junit4TestClass2.class.getName(), "testPass2"); in testJarHostMetrics() local
293 mListener.testStarted(EasyMock.eq(tid)); in testJarHostMetrics()
297 EasyMock.eq(tid), EasyMock.eq(TfMetricProtoUtil.upgradeConvert(metrics))); in testJarHostMetrics()
DHostTestTest.java1995 for (TestDescription tid : expectedTids) {
1996 mListener.testRunStarted(tid.getClassName(), 1);
1997 mListener.testStarted(tid);
1998 mListener.testEnded(tid, new HashMap<String, Metric>());
2075 TestDescription tid = new TestDescription(JUnit4FailedBefore.class.getName(), "test1");
2076 mListener.testStarted(EasyMock.eq(tid));
2077 mListener.testFailed(EasyMock.eq(tid), EasyMock.anyObject());
2078 mListener.testEnded(EasyMock.eq(tid), (HashMap<String, Metric>) EasyMock.anyObject());
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java77 TestDescription tid = new TestDescription("class", "test1"); in createListener() local
78 listener.testStarted(tid); in createListener()
79 listener.testEnded(tid, new HashMap<String, Metric>()); in createListener()
152 TestDescription tid = new TestDescription(CLASSNAME, "testPass"); in testSimpleRun() local
153 mMockListener.testStarted(tid); in testSimpleRun()
154 mMockListener.testEnded(tid, new HashMap<String, Metric>()); in testSimpleRun()
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java252 for (TestDescription tid : res.getTestResults().keySet()) { in generateEmailBody()
253 TestResult tr = res.getTestResults().get(tid); in generateEmailBody()
255 bodyBuilder.append(String.format("Test Identifier: %s\nStack: %s", tid, in generateEmailBody()
/tools/loganalysis/src/com/android/loganalysis/item/
DMiscLogcatItem.java103 public void setTid(Integer tid) { in setTid() argument
104 setAttribute(TID, tid); in setTid()