Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPendingRemoteAnimationRegistryTest.java31 import com.android.server.testutils.TestHandler;
50 private TestHandler mHandler;
56 mHandler = new TestHandler(null, mClock); in setUp()
DRemoteAnimationControllerTest.java53 import com.android.server.testutils.TestHandler;
82 private TestHandler mHandler;
91 runWithScissors(mWm.mH, () -> 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/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/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/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/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java232 TestHandler testHandler = new TestHandler(mTestableLooper.getLooper()); in testActiveOpNotRemovedAfterNoted()
324 private class TestHandler extends AppOpsControllerImpl.H { class in AppOpsControllerTest
325 TestHandler(Looper looper) { in TestHandler() method in AppOpsControllerTest.TestHandler
/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.java626 public final TestHandler mHandler;
631 private final TestHandler mUiHandler;
644 mHandler = new TestHandler(mHandlerThread.getLooper()); in TestInjector()
645 mUiHandler = new TestHandler(mHandlerThread.getLooper()); in TestInjector()
724 private static class TestHandler extends Handler { class in UserControllerTest
727 TestHandler(Looper looper) { in TestHandler() method in UserControllerTest.TestHandler
DActivityManagerServiceTest.java145 private TestHandler mHandler;
153 mHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
926 private static class TestHandler extends Handler { class in ActivityManagerServiceTest
932 TestHandler(Looper looper) { in TestHandler() method in ActivityManagerServiceTest.TestHandler
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt37 import com.android.server.testutils.TestHandler in <lambda>()
166 private lateinit var testHandler: TestHandler in <lambda>()
179 testHandler = TestHandler(null) in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreManagerServiceTest.java99 mHandler = new TestHandler(Looper.getMainLooper()); in setUp()
391 private class TestHandler extends Handler { class in BlobStoreManagerServiceTest
392 TestHandler(Looper looper) { in TestHandler() method in BlobStoreManagerServiceTest.TestHandler
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DFullScreenMagnificationGestureHandlerTest.java54 import com.android.server.testutils.TestHandler;
124 private TestHandler mHandler;
169 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
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java67 import com.android.server.testutils.TestHandler;
97 private TestHandler mTestHandler;
126 mTestHandler = new TestHandler(null, mTestClock); in setup()