Home
last modified time | relevance | path

Searched refs:TestHandler (Results 1 – 13 of 13) 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 …]
DPhoneSwitcherTest.java57 private static class TestHandler extends Handler { class in PhoneSwitcherTest
63 public TestHandler(Looper looper) { in TestHandler() method in PhoneSwitcherTest.TestHandler
85 public static TestHandler makeHandler() { in makeHandler()
88 final TestHandler result = new TestHandler(handlerThread.getLooper()); in makeHandler()
226 TestHandler testHandler = TestHandler.makeHandler(); in testRegister()
240 TestHandler.ACTIVE_PHONE_SWITCH, activePhoneSwitchObject); in testRegister()
247 TestHandler.ACTIVE_PHONE_SWITCH, in testRegister()
448 TestHandler testHandler = TestHandler.makeHandler(); in testPrioritization()
457 phoneSwitcher.registerForActivePhoneSwitch(0, testHandler, TestHandler.ACTIVE_PHONE_SWITCH, in testPrioritization()
521 TestHandler testHandler = TestHandler.makeHandler(); in testHigherPriorityDefault()
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
DGestureRouterTest.java42 private TestHandler mHandler;
43 private TestHandler mAlt;
44 private GestureRouter<TestHandler> mRouter;
48 mAlt = new TestHandler(); in setUp()
49 mHandler = new TestHandler(); in setUp()
162 private static final class TestHandler implements OnGestureListener, OnDoubleTapListener { class in GestureRouterTest
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DPendingRemoteAnimationRegistryTest.java34 import com.android.server.testutils.TestHandler;
54 private TestHandler mHandler;
63 mHandler = new TestHandler(null, mClock); in setUp()
DUserControllerTest.java324 TestHandler handler;
325 TestHandler uiHandler;
338 handler = new TestHandler(handlerThread.getLooper()); in TestInjector()
339 uiHandler = new TestHandler(handlerThread.getLooper()); in TestInjector()
405 private static class TestHandler extends Handler { class in UserControllerTest
408 TestHandler(Looper looper) { in TestHandler() method in UserControllerTest.TestHandler
DActivityManagerServiceTest.java129 private TestHandler mHandler;
137 mHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
776 private class TestHandler extends Handler { class in ActivityManagerServiceTest
782 TestHandler(Looper looper) { in TestHandler() method in ActivityManagerServiceTest.TestHandler
/frameworks/base/services/tests/servicestests/src/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.java67 TestHandler mHandler;
74 mHandler = new TestHandler(mThread.getLooper()); in setUp()
179 public static class TestHandler extends Handler { class in NsdServiceTest
182 TestHandler(Looper looper) { in TestHandler() method in NsdServiceTest.TestHandler
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DMmTelFeatureTests.java69 private class TestHandler extends Handler { class in MmTelFeatureTests
71 TestHandler(Looper looper) { in TestHandler() method in MmTelFeatureTests.TestHandler
87 private final Handler mHandler = new TestHandler(Looper.getMainLooper());
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DRemoteAnimationControllerTest.java45 import com.android.server.testutils.TestHandler;
70 private TestHandler mHandler;
80 mHandler = new TestHandler(null, mClock); 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/accessibility/
DMagnificationGestureHandlerTest.java45 import com.android.server.testutils.TestHandler;
108 private TestHandler mHandler;
140 mHandler = new TestHandler(h.mDetectingState, mClock) { in newInstance()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DNetworkWatchlistServiceTests.java60 private static class TestHandler extends Handler { class in NetworkWatchlistServiceTests