/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | TestStub.java | 61 private void testAttempt(ITestInvocationListener listener) { in testAttempt() argument 63 listener.testRunStarted("module-run", 3); in testAttempt() 65 listener.testStarted(tid); in testAttempt() 66 listener.testEnded(tid, new HashMap<String, Metric>()); in testAttempt() 71 listener.testStarted(tid2); in testAttempt() 72 listener.testEnded(tid2, new HashMap<String, Metric>()); in testAttempt() 76 listener.testStarted(tid3); in testAttempt() 78 listener.testFailed(tid3, "ouch this is bad."); in testAttempt() 80 listener.testEnded(tid3, new HashMap<String, Metric>()); in testAttempt() 82 listener.testRunEnded(0, new HashMap<String, Metric>()); in testAttempt() [all …]
|
D | SimpleTestStub.java | 53 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 55 listener.testRunStarted("module-run", 1); in run() 57 listener.testStarted(tid); in run() 58 listener.testEnded(tid, new HashMap<String, Metric>()); in run() 59 listener.testRunEnded(0, new HashMap<String, Metric>()); in run()
|
D | ShardableTestStub.java | 61 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument
|
D | ModuleDefTest.java | 122 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument
|
D | ModuleRepoTest.java | 768 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsFuzzTestResultParser.java | 93 public VtsFuzzTestResultParser(String testRunName, ITestLifeCycleReceiver listener) { in VtsFuzzTestResultParser() argument 96 mTestListeners.add(listener); in VtsFuzzTestResultParser() 109 for (ITestLifeCycleReceiver listener : mTestListeners) { in processNewLines() 110 listener.testRunStarted(mTestRunName, mNumTestsExpected); in processNewLines() 136 for (ITestLifeCycleReceiver listener : mTestListeners) { in doTestEnded() 137 listener.testFailed(mTestId, mStackTrace.toString()); in doTestEnded() 143 for (ITestLifeCycleReceiver listener : mTestListeners) { in doTestEnded() 145 listener.testEnded(mTestId, emptyMap); in doTestEnded() 163 for (ITestLifeCycleReceiver listener : mTestListeners) { in handleTestRunFailed() 164 listener.testFailed(mTestId, mStackTrace.toString()); in handleTestRunFailed() [all …]
|
D | VtsMultiDeviceTestResultParser.java | 110 public VtsMultiDeviceTestResultParser(ITestLifeCycleReceiver listener, String runName) { in VtsMultiDeviceTestResultParser() argument 112 mListeners.add(listener); in VtsMultiDeviceTestResultParser() 175 for (ITestLifeCycleReceiver listener : mListeners) { in handleTestRunFailed() 176 listener.testFailed(mCurrentTestId, FAIL); in handleTestRunFailed() 177 listener.testEnded(mCurrentTestId, emptyMap); in handleTestRunFailed() 181 for (ITestLifeCycleReceiver listener : mListeners) { in handleTestRunFailed() 182 listener.testRunFailed(errorMsg); in handleTestRunFailed() 314 for (ITestLifeCycleReceiver listener : mListeners) { in completeTestRun() 316 listener.testRunStarted(mCurrentTestName, mTotalTestCount); in completeTestRun() 320 listener.testStarted(test.getKey()); in completeTestRun() [all …]
|
D | VtsFuzzTest.java | 320 IShellOutputReceiver createResultParser(String runName, ITestLifeCycleReceiver listener) { in createResultParser() argument 321 VtsFuzzTestResultParser resultParser = new VtsFuzzTestResultParser(runName, listener); in createResultParser() 329 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 340 IShellOutputReceiver resultParser = createResultParser(mTargetComponentPath, listener); in run()
|
D | VtsMultiDeviceTest.java | 684 public void run(ITestInvocationListener listener) in run() argument 686 mOutputUtil = new OutputUtil(listener); in run() 728 doRunTest(listener); in run() 1300 private void doRunTest(ITestLifeCycleReceiver listener) in doRunTest() argument 1308 new VtsMultiDeviceTestResultParser(listener, deriveRunName()); in doRunTest() 1398 listener.testRunFailed(String.join(".\n", errorMsgs)); in doRunTest() 1399 listener.testRunEnded(System.currentTimeMillis() - methodStartTime, in doRunTest()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | JarHostTest.java | 38 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 47 listener.testRunStarted(getClass().getName(), numTests); in run() 48 HostTestListener hostListener = new HostTestListener(listener); in run() 57 listener.testRunEnded(System.currentTimeMillis() - startTime, metrics); in run() 71 public HostTestListener(ITestInvocationListener listener) { in HostTestListener() argument 72 super(listener); in HostTestListener()
|
D | ModuleDef.java | 253 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 260 IModuleListener moduleListener = new ModuleListener(this, listener); in run() 393 public ModuleFinisher(ITestInvocationListener listener) { in ModuleFinisher() argument 394 super(listener); in ModuleFinisher() 395 mListener = listener; in ModuleFinisher()
|
D | FailureListener.java | 41 public FailureListener(ITestInvocationListener listener, ITestDevice device, in FailureListener() argument 44 super(listener); in FailureListener()
|
D | CompatibilityTest.java | 358 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 383 listener = new FailureListener(listener, getDevice(), mBugReportOnFailure, in run() 472 runPreModuleCheck(module.getName(), checkers, mDevice, listener); in run() local 493 listener.testModuleStarted(moduleContext); in run() 494 module.run(listener); in run() 510 listener.testModuleEnded(); in run() 524 runPostModuleCheck(module.getName(), checkers, mDevice, listener); in run() local
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | MonitoringUtils.java | 54 public static void checkDeviceConnectivity(ITestDevice device, ITestInvocationListener listener, in checkDeviceConnectivity() argument 58 device.logBugreport(String.format("bugreport-connectivity-%s", tag), listener); in checkDeviceConnectivity()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | ApkInstrumentationPreparer.java | 119 CollectingTestListener listener = new CollectingTestListener(); in instrument() local 128 instrTest.run(listener); in instrument() 129 TestRunResult result = listener.getCurrentRunResults(); in instrument()
|
D | MediaPreparer.java | 420 ITestInvocationListener listener = new MediaPreparerListener(); in setMaxRes() local 444 instrTest.run(listener); in setMaxRes()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | OutputUtil.java | 37 public OutputUtil(ITestLogger listener) { in OutputUtil() argument 38 mListener = listener; in OutputUtil()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ModuleListener.java | 46 public ModuleListener(IModuleDef module, ITestInvocationListener listener) { in ModuleListener() argument 48 mListener = listener; in ModuleListener()
|
D | ResultReporter.java | 1096 for (ITestInvocationListener listener : listeners) { in logReportFiles() 1097 if (listener.equals(this)) { in logReportFiles() 1101 listener.testLog(dataName, type, source); in logReportFiles()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | IntegrationTest.java | 531 ITestInvocationListener listener = getShardListener(mMasterReporter); in run() local 535 listener.invocationStarted(mShardContext); in run() 537 mShardTest.run(listener); in run() 541 listener.invocationEnded(500); in run()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/retry/ |
D | RetryFactoryTest.java | 208 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 211 test.run(listener); in run()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationSuiteResultReporter.java | 564 for (ITestInvocationListener listener : listeners) { in logReportFiles() 565 if (listener.equals(this)) { in logReportFiles() 569 listener.testLog(dataName, type, source); in logReportFiles()
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/ |
D | VtsFuzzTestTest.java | 53 String runName, ITestLifeCycleReceiver listener) { in setUp()
|
/test/framework/harnesses/cts-tradefed/ |
D | tradefed-cts-prebuilt.jar | META-INF/
META-INF/MANIFEST.MF
com/android/compatibility/common/ ... |
/test/suite_harness/common/host-side/tradefed/tests/res/testtype/ |
D | testJar1.jar | ... testRunner
android.ui.cts.TaskSwitchingTest$LocalListener listener
com.android.ddmlib.testrunner.TestRunResult result ... |