/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/ |
D | AnimatorTestRule.java | 77 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/ |
D | TestHandler.java | 27 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/ |
D | TestHandler.java | 48 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/ |
D | HdrClamperTest.java | 39 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()
|
D | BrightnessWearBedtimeModeClamperTest.java | 36 import com.android.server.testutils.TestHandler; 55 private final TestHandler mTestHandler = new TestHandler(null);
|
D | BrightnessPowerClamperTest.java | 37 import com.android.server.testutils.TestHandler; 60 private final TestHandler mTestHandler = new TestHandler(null);
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsUtTest.java | 55 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/ |
D | TestHandler.java | 27 public class TestHandler extends Handler { class 33 public TestHandler(Looper looper) { in TestHandler() method in TestHandler
|
D | TimeZoneDetectorInternalImplTest.java | 68 private TestHandler mTestHandler; 81 mTestHandler = new TestHandler(mHandlerThread.getLooper()); in setUp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | PendingRemoteAnimationRegistryTest.java | 32 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/ |
D | VirtualDisplayAdapterTest.java | 34 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/ |
D | DreamManagerServiceMockingTest.java | 42 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/ |
D | PackageManagerSettingsDeviceTests.java | 40 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/ |
D | TimeDetectorInternalImplTest.java | 37 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/ |
D | FlagDependenciesTest.kt | 42 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/ |
D | RequestThrottleTest.kt | 20 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/ |
D | PowerStatsStoreTest.java | 63 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/ |
D | PersistentServiceConnectionTest.java | 40 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/ |
D | MmTelFeatureTests.java | 95 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/ |
D | AppRequestObserverTest.kt | 27 import com.android.server.testutils.TestHandler 45 private val testHandler = TestHandler(null)
|
D | BrightnessObserverTest.kt | 30 import com.android.server.testutils.TestHandler 63 private val testHandler = TestHandler(null)
|
D | SkinThermalStatusObserverTest.java | 37 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/ |
D | TouchExplorerTest.java | 104 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/ |
D | PackageHelperTestBase.kt | 23 import com.android.server.testutils.TestHandler 57 lateinit var testHandler: TestHandler
|
/frameworks/base/tests/utils/testutils/tests/src/android/os/test/ |
D | TestLooperTest.java | 316 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()
|