Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/
DAnimatorTestRule.java77 private final Singleton<TestHandler> mTestHandler = new Singleton<>() {
79 protected TestHandler create() {
80 return new TestHandler();
116 final TestHandler testHandler = mTestHandler.get(); in apply()
226 final TestHandler testHandler = mTestHandler.get();
260 final TestHandler testHandler = mTestHandler.get();
300 private class TestHandler extends AnimationHandler {
304 TestHandler() {
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestHandler.java27 public class TestHandler extends Handler { class
28 public TestHandler(Looper looper) { in TestHandler() method in TestHandler
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DTestHandler.java48 public class TestHandler extends Handler { class
60 public TestHandler(Callback callback) { in TestHandler() method in TestHandler
64 public TestHandler(Callback callback, LongSupplier clock) { in TestHandler() method in TestHandler
68 public TestHandler(Looper looper, Callback callback, LongSupplier clock) { in TestHandler() method in TestHandler
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DHdrClamperTest.java39 import com.android.server.testutils.TestHandler;
86 private final TestHandler mTestHandler = new TestHandler(null, mClock);
158 TestHandler.MsgInfo msgInfo = mTestHandler.getPendingMessages().peek(); in testClamper_AmbientLuxChangesBelowLimit_MaxDecrease()
188 TestHandler.MsgInfo msgInfo = mTestHandler.getPendingMessages().peek(); in testClamper_AmbientLuxChangesBelowLimit_ThenSlowlyAboveLimit()
214 TestHandler.MsgInfo msgInfo = mTestHandler.getPendingMessages().peek(); in testClamper_HdrOff_ThenAmbientLuxChangesBelowLimit_ThenHdrOn()
DBrightnessWearBedtimeModeClamperTest.java36 import com.android.server.testutils.TestHandler;
55 private final TestHandler mTestHandler = new TestHandler(null);
DBrightnessPowerClamperTest.java37 import com.android.server.testutils.TestHandler;
60 private final TestHandler mTestHandler = new TestHandler(null);
/frameworks/opt/net/ims/tests/src/com/android/ims/
DImsUtTest.java55 private static class TestHandler extends Handler { class in ImsUtTest
57 TestHandler(Looper looper) { in TestHandler() method in ImsUtTest.TestHandler
81 private TestHandler mHandler;
86 mHandler = new TestHandler(Looper.getMainLooper()); in setUp()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTestHandler.java27 public class TestHandler extends Handler { class
33 public TestHandler(Looper looper) { in TestHandler() method in TestHandler
DTimeZoneDetectorInternalImplTest.java68 private TestHandler mTestHandler;
81 mTestHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPendingRemoteAnimationRegistryTest.java32 import com.android.server.testutils.TestHandler;
52 private TestHandler mHandler;
58 mHandler = new TestHandler(null, mClock); in setUp()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DVirtualDisplayAdapterTest.java34 import com.android.server.testutils.TestHandler;
61 private TestHandler mHandler;
72 mHandler = new TestHandler(null); in setUp()
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamManagerServiceMockingTest.java42 import com.android.server.testutils.TestHandler;
72 private TestHandler mTestHandler;
77 mTestHandler = new TestHandler(/* callback= */ null); in setUp()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsDeviceTests.java40 import com.android.server.testutils.TestHandler;
67 final TestHandler mHandler = new TestHandler((@NonNull Message msg) -> {
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DTimeDetectorInternalImplTest.java37 import com.android.server.timezonedetector.TestHandler;
57 private TestHandler mTestHandler;
71 mTestHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFlagDependenciesTest.kt42 FlagDependencies(TestFeatureFlags(teamfood = teamfood), TestHandler()) in testFlagDependencies()
44 private class TestHandler : FlagDependenciesBase.Handler { in testFlagDependencies() class in com.android.systemui.flags.FlagDependenciesTest
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/install/
DRequestThrottleTest.kt20 import com.android.server.testutils.TestHandler
37 private val handler = TestHandler(null)
134 val handler = TestHandler(null) { time.get() } in backoffRetry()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsStoreTest.java63 new TestHandler(), in setup()
172 private static class TestHandler extends Handler { class in PowerStatsStoreTest
173 TestHandler() { in TestHandler() method in PowerStatsStoreTest.TestHandler
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DPersistentServiceConnectionTest.java40 import com.android.server.testutils.TestHandler;
82 private TestHandler mHandler;
91 mHandler = spy(new TestHandler(null, mClock)); in setup()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DMmTelFeatureTests.java95 private class TestHandler extends Handler { class in MmTelFeatureTests
97 TestHandler(Looper looper) { in TestHandler() method in MmTelFeatureTests.TestHandler
113 private final Handler mHandler = new TestHandler(Looper.getMainLooper());
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DAppRequestObserverTest.kt27 import com.android.server.testutils.TestHandler
45 private val testHandler = TestHandler(null)
DBrightnessObserverTest.kt30 import com.android.server.testutils.TestHandler
63 private val testHandler = TestHandler(null)
DSkinThermalStatusObserverTest.java37 import com.android.server.testutils.TestHandler;
60 private final TestHandler mHandler = new TestHandler(null);
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java104 private TestHandler mHandler;
154 mHandler = new TestHandler(); in setUp()
743 private class TestHandler extends com.android.server.testutils.TestHandler { class in TouchExplorerTest
746 TestHandler() { in TestHandler() method in TouchExplorerTest.TestHandler
750 TestHandler(Callback callback, OffsettableClock clock) { in TestHandler() method in TouchExplorerTest.TestHandler
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageHelperTestBase.kt23 import com.android.server.testutils.TestHandler
57 lateinit var testHandler: TestHandler
/frameworks/base/tests/utils/testutils/tests/src/android/os/test/
DTestLooperTest.java316 class TestHandler extends Handler { in testAutoDispatchWithSingleMessage() class
318 TestHandler(Looper looper) { in testAutoDispatchWithSingleMessage() method in TestLooperTest.TestHandler
330 TestHandler testHandler = new TestHandler(mockLooper.getLooper()); in testAutoDispatchWithSingleMessage()

12