Home
last modified time | relevance | path

Searched refs:TestListener (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/test-junit/src/junit/framework/
DTestResult.java22 protected Vector<TestListener> fListeners;
31 fListeners= new Vector<TestListener>(); in TestResult()
42 for (TestListener each : cloneListeners()) in addError()
51 for (TestListener each : cloneListeners()) in addFailure()
57 public synchronized void addListener(TestListener listener) { in addListener()
63 public synchronized void removeListener(TestListener listener) { in removeListener()
69 private synchronized List<TestListener> cloneListeners() { in cloneListeners()
70 List<TestListener> result= new ArrayList<TestListener>(); in cloneListeners()
78 for (TestListener each : cloneListeners()) in endTest()
159 for (TestListener each : cloneListeners()) in startTest()
DTestListener.java6 public interface TestListener { interface
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/window/
DStatusBarWindowStateControllerTest.kt55 val listener = TestListener() in setWindowState_notSameDisplayId_listenersNotNotified()
65 val listener = TestListener() in setWindowState_notStatusBarWindow_listenersNotNotified()
75 val listener = TestListener() in setWindowState_sameState_listenersNotNotified()
85 val listener = TestListener() in setWindowState_newState_listenersNotified()
94 private class TestListener : StatusBarWindowStateListener { class
/frameworks/base/cmds/incidentd/tests/
DReporter_test.cpp50 class TestListener : public IIncidentReportStatusListener { class
58 TestListener() : startInvoked(0), finishInvoked(0), failedInvoked(0){}; in TestListener() function in TestListener
59 virtual ~TestListener(){}; in ~TestListener()
112 listener = new TestListener(); in SetUp()
137 sp<TestListener> listener;
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java46 import junit.framework.TestListener;
74 private final List<TestListener> mTestListeners = new ArrayList<TestListener>();
153 for (TestListener listener : mTestListeners) { in start()
232 private interface ResultReporter extends TestListener {
411 protected void addTestListener(TestListener listener) { in addTestListener()
417 protected void removeTestListener(TestListener listener) { in removeTestListener()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorInstrumentationTestRunner.java26 import junit.framework.TestListener;
59 testRunner.addTestListener(new TestListener() { in getAndroidTestRunner()
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java25 import junit.framework.TestListener;
49 private List<TestListener> mTestListeners = new ArrayList<>();
83 public void addTestListener(TestListener testListener) { in addTestListener()
187 for (TestListener testListener : mTestListeners) { in runTest()
DTestPrinter.java21 import junit.framework.TestListener;
36 class TestPrinter implements TestListener {
DInstrumentationTestRunner.java39 import junit.framework.TestListener;
414 protected void addTestListener(TestListener listener){ in addTestListener()
677 private class SuiteAssignmentPrinter implements TestListener {
749 private class WatcherResultPrinter implements TestListener {
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DTaskStackTransitionObserverTest.kt96 val listener = TestListener() in taskCreated_freeformWindow_listenerNotified()
119 val listener = TestListener() in taskCreated_fullscreenWindow_listenerNotNotified()
142 val listener = TestListener() in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified()
171 class TestListener : TaskStackTransitionObserver.TaskStackTransitionObserverListener { class
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepositoryTest.kt45 val listener = TestListener() in addActiveTask_listenerNotifiedAndTaskIsActive()
55 val listener = TestListener() in addActiveTask_sameTaskDoesNotNotify()
65 val listener = TestListener() in addActiveTask_multipleTasksAddedNotifiesForEach()
75 val listener = TestListener() in addActiveTask_multipleDisplays_notifiesCorrectListener()
88 val listener = TestListener() in removeActiveTask_listenerNotifiedAndTaskNotActive()
100 val listener = TestListener() in removeActiveTask_removeNotExistingTaskDoesNotNotify()
108 val listener = TestListener() in remoteActiveTask_listenerForOtherDisplayNotNotified()
511 class TestListener : DesktopModeTaskRepository.ActiveTasksListener { class in com.android.wm.shell.desktopmode.DesktopModeTaskRepositoryTest
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DUnitTestSuiteBuilderTest.java25 import junit.framework.TestListener;
67 private class SuiteExecutionRecorder implements TestListener {
DTestSuiteBuilderTest.java32 import junit.framework.TestListener;
189 private class SuiteExecutionRecorder implements TestListener {
/frameworks/base/test-junit/src/junit/textui/
DResultPrinter.java13 import junit.framework.TestListener;
17 public class ResultPrinter implements TestListener {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImplTest.kt327 private fun createAndAddListener(): TestListener { in createAndAddListener()
328 val listener = TestListener() in createAndAddListener()
336 private class TestListener : ConfigurationListener { class
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java26 import junit.framework.TestListener;
257 private static class TestListenerStub implements TestListener {
/frameworks/base/test-junit/src/junit/runner/
DBaseTestRunner.java20 import junit.framework.TestListener;
27 public abstract class BaseTestRunner implements TestListener {
/frameworks/base/test-base/api/
Dcurrent.txt181 public interface TestListener {
192 method public void addListener(junit.framework.TestListener);
198 method public void removeListener(junit.framework.TestListener);
208 field protected java.util.Vector<junit.framework.TestListener> fListeners;
/frameworks/native/services/powermanager/tests/
DIThermalManagerTest.cpp118 TEST_P(IThermalListenerTest, TestListener) { in TEST_P() argument
/frameworks/base/test-runner/api/
Dcurrent.txt41 method @Deprecated public void addTestListener(junit.framework.TestListener);
81 method @Deprecated protected void addTestListener(junit.framework.TestListener);
305 public abstract class BaseTestRunner implements junit.framework.TestListener {
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java131 private TestListener mListener = new TestListener();
1494 private class TestListener implements DisplayAdapter.Listener { class in LocalDisplayAdapterTest
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28902 method public void addTestListener(junit.framework.TestListener);
54101 public abstract interface TestListener {
54112 method public synchronized void addListener(junit.framework.TestListener);
54118 method public synchronized void removeListener(junit.framework.TestListener);
54128 field protected java.util.Vector<junit.framework.TestListener> fListeners;
54158 public abstract class BaseTestRunner implements junit.framework.TestListener {