Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionMonitorTest.java55 private static class TestHandler extends Handler { class in SubscriptionMonitorTest
62 public TestHandler(Looper looper) { in TestHandler() method in SubscriptionMonitorTest.TestHandler
84 public static TestHandler makeHandler() { in makeHandler()
87 final TestHandler result = new TestHandler(handlerThread.getLooper()); in makeHandler()
183 TestHandler testHandler = TestHandler.makeHandler(); in testRegister()
202 TestHandler.SUBSCRIPTION_CHANGED, subChangedObject); in testRegister()
213 TestHandler.DEFAULT_SUBSCRIPTION_CHANGED, defaultSubChangedObject); in testRegister()
295 TestHandler testHandler = TestHandler.makeHandler(); in testBadRegister()
304 TestHandler.SUBSCRIPTION_CHANGED, subChangedObject); in testBadRegister()
309 TestHandler.DEFAULT_SUBSCRIPTION_CHANGED, defaultSubChangedObject); in testBadRegister()
[all …]
/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/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/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/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.java500 public final TestHandler mHandler;
505 private final TestHandler mUiHandler;
518 mHandler = new TestHandler(mHandlerThread.getLooper()); in TestInjector()
519 mUiHandler = new TestHandler(mHandlerThread.getLooper()); in TestInjector()
598 private static class TestHandler extends Handler { class in UserControllerTest
601 TestHandler(Looper looper) { in TestHandler() method in UserControllerTest.TestHandler
DActivityManagerServiceTest.java124 private TestHandler mHandler;
132 mHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
887 private static class TestHandler extends Handler { class in ActivityManagerServiceTest
893 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