/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 | 771 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 | 682 public void run(ITestInvocationListener listener) in run() argument 684 mOutputUtil = new OutputUtil(listener); in run() 726 doRunTest(listener); in run() 1298 private void doRunTest(ITestInvocationListener listener) in doRunTest() argument 1306 new VtsMultiDeviceTestResultParser(listener, deriveRunName()); in doRunTest() 1389 listener.testLog(stdOutFile.getName(), LogDataType.TEXT, in doRunTest() 1391 listener.testLog(stdErrFile.getName(), LogDataType.TEXT, in doRunTest() 1425 listener.testRunFailed(String.join(".\n", errorMsgs)); in doRunTest() 1426 listener.testRunEnded(System.currentTimeMillis() - methodStartTime, in doRunTest()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | JarHostTest.java | 37 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() argument 49 listener.testRunStarted(getClass().getName(), numTests); in run() 50 HostTestListener hostListener = new HostTestListener(listener); in run() 59 listener.testRunEnded(System.currentTimeMillis() - startTime, metrics); in run() 73 public HostTestListener(ITestInvocationListener listener) { in HostTestListener() argument 74 super(listener); in HostTestListener()
|
D | ModuleDef.java | 252 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 259 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 | 360 public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { in run() argument 385 listener = new FailureListener(listener, getDevice(), mBugReportOnFailure, in run() 474 runPreModuleCheck(module.getName(), checkers, mDevice, listener); in run() local 495 listener.testModuleStarted(moduleContext); in run() 496 module.run(listener); in run() 512 listener.testModuleEnded(); in run() 526 runPostModuleCheck(module.getName(), checkers, mDevice, listener); in run() local
|
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/testtype/binary/ |
D | KernelTargetTest.java | 53 CommandResult result, ITestInvocationListener listener, TestDescription description) { in checkCommandResult() argument 56 listener.testIgnored(description); in checkCommandResult() 58 super.checkCommandResult(result, listener, description); in checkCommandResult()
|
/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 | 125 CollectingTestListener listener = new CollectingTestListener(); in instrument() local 135 instrTest.run(testInfo, listener); in instrument() 136 TestRunResult result = listener.getCurrentRunResults(); in instrument()
|
D | MediaPreparer.java | 426 ITestInvocationListener listener = new MediaPreparerListener(); in setMaxRes() local 455 instrTest.run(testInfo, 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 | 1145 for (ITestInvocationListener listener : listeners) { in logReportFiles() 1146 if (listener.equals(this)) { in logReportFiles() 1150 listener.testLog(dataName, type, source); in logReportFiles()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationSuiteResultReporter.java | 656 for (ITestInvocationListener listener : listeners) { in logReportFiles() 657 if (listener.equals(this)) { in logReportFiles() 661 listener.testLog(dataName, type, source); in logReportFiles() 663 if (listener instanceof ILogSaverListener) { in logReportFiles() 664 ((ILogSaverListener) listener).logAssociation(dataName, loggedFile); 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 | 214 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() argument 218 test.run(testInfo, listener); in run()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/ |
D | PreviousResultLoaderTest.java | 159 CollectingTestListener listener = mLoader.loadPreviousResults(); in testReloadTests_withMultiProto() local 160 assertNotNull(listener); in testReloadTests_withMultiProto()
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/ |
D | VtsFuzzTestTest.java | 53 String runName, ITestLifeCycleReceiver listener) { in setUp()
|