Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPendingRemoteAnimationRegistryTest.java31 import com.android.server.testutils.TestHandler;
49 private TestHandler mHandler;
55 mHandler = new TestHandler(null, mClock); in setUp()
DRemoteAnimationControllerTest.java47 import com.android.server.testutils.TestHandler;
74 private TestHandler mHandler;
83 mWm.mH.runWithScissors(() -> mHandler = new TestHandler(null, mClock), 0); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsUtTest.java59 private class TestHandler extends Handler { class in ImsUtTest
61 TestHandler(Looper looper) { in TestHandler() method in ImsUtTest.TestHandler
85 private TestHandler mHandler;
90 mHandler = new TestHandler(Looper.myLooper()); in setUp()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DTestHandler.java48 public class TestHandler extends Handler { class
59 public TestHandler(Callback callback) { in TestHandler() method in TestHandler
63 public TestHandler(Callback callback, LongSupplier clock) { in TestHandler() method in TestHandler
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTestHandler.java27 public class TestHandler extends Handler { class
33 public TestHandler(Looper looper) { in TestHandler() method in TestHandler
DTimeZoneDetectorServiceTest.java54 private TestHandler mTestHandler;
64 mTestHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java69 TestHandler mHandler;
76 mHandler = new TestHandler(mThread.getLooper()); in setUp()
181 public static class TestHandler extends Handler { class in NsdServiceTest
184 TestHandler(Looper looper) { in TestHandler() method in NsdServiceTest.TestHandler
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DMmTelFeatureTests.java90 private class TestHandler extends Handler { class in MmTelFeatureTests
92 TestHandler(Looper looper) { in TestHandler() method in MmTelFeatureTests.TestHandler
108 private final Handler mHandler = new TestHandler(Looper.getMainLooper());
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DTimeDetectorServiceTest.java41 import com.android.server.timezonedetector.TestHandler;
58 private TestHandler mTestHandler;
68 mTestHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java315 class TestHandler extends Handler { in testAutoDispatchWithSingleMessage() class
317 TestHandler(Looper looper) { in testAutoDispatchWithSingleMessage() method in TestLooperTest.TestHandler
329 TestHandler testHandler = new TestHandler(mockLooper.getLooper()); in testAutoDispatchWithSingleMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java538 public final TestHandler mHandler;
543 private final TestHandler mUiHandler;
556 mHandler = new TestHandler(mHandlerThread.getLooper()); in TestInjector()
557 mUiHandler = new TestHandler(mHandlerThread.getLooper()); in TestInjector()
636 private static class TestHandler extends Handler { class in UserControllerTest
639 TestHandler(Looper looper) { in TestHandler() method in UserControllerTest.TestHandler
DActivityManagerServiceTest.java124 private TestHandler mHandler;
132 mHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
898 private static class TestHandler extends Handler { class in ActivityManagerServiceTest
904 TestHandler(Looper looper) { in TestHandler() method in ActivityManagerServiceTest.TestHandler
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java51 import com.android.server.testutils.TestHandler;
117 private TestHandler mHandler;
162 mHandler = new TestHandler(h.mDetectingState, mClock) { in newInstance()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DNetworkWatchlistServiceTests.java62 private static class TestHandler extends Handler { class in NetworkWatchlistServiceTests