Home
last modified time | relevance | path

Searched refs:OffsettableClock (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DHighBrightnessModeControllerTest.java61 import com.android.server.testutils.OffsettableClock;
89 private OffsettableClock mClock;
111 mClock = new OffsettableClock.Stopped(); in setUp()
314 final HighBrightnessModeController hbmc = createDefaultHbm(new OffsettableClock()); in testHbmIsNotTurnedOffInHighThermalState()
346 final HighBrightnessModeController hbmc = createDefaultHbm(new OffsettableClock()); in testHdrRequires50PercentOfScreen()
368 .setClock(new OffsettableClock()) in testHdrRespectsMaxDesiredHdrSdrRatio()
399 .setClock(new OffsettableClock()) in testHdrRespectsChangingDesiredHdrSdrRatio()
427 final HighBrightnessModeController hbmc = createDefaultHbm(new OffsettableClock()); in testHdrTrumpsSunlight()
446 final HighBrightnessModeController hbmc = createDefaultHbm(new OffsettableClock()); in testHdrBrightnessLimitSameAsNormalLimit()
465 final HighBrightnessModeController hbmc = createDefaultHbm(new OffsettableClock()); in testHdrBrightnessScaledNormalBrightness()
[all …]
DScreenOffBrightnessSensorControllerTest.java36 import com.android.server.testutils.OffsettableClock;
54 private OffsettableClock mClock;
65 mClock = new OffsettableClock.Stopped(); in setUp()
DBrightnessSynchronizerTest.java49 import com.android.server.testutils.OffsettableClock;
72 private OffsettableClock mClock;
103 mClock = new OffsettableClock.Stopped(); in setUp()
DDisplayPowerProximityStateControllerTest.java41 import com.android.server.testutils.OffsettableClock;
67 private OffsettableClock mClock;
75 mClock = new OffsettableClock.Stopped(); in before()
DAutomaticBrightnessControllerTest.java57 import com.android.server.testutils.OffsettableClock;
87 private OffsettableClock mClock = new OffsettableClock();
131 mClock = new OffsettableClock.Stopped(); in setupController()
DDisplayPowerControllerTest.java93 import com.android.server.testutils.OffsettableClock;
134 private OffsettableClock mClock;
181 mClock = new OffsettableClock.Stopped(); in setUp()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DOffsettableClock.java34 public class OffsettableClock implements LongSupplier { class
73 public static class Stopped extends OffsettableClock {
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DPersistentServiceConnectionTest.java39 import com.android.server.testutils.OffsettableClock;
84 private OffsettableClock mClock;
90 mClock = new OffsettableClock.Stopped(); in setup()
194 private final OffsettableClock mClock;
196 TestInjector(OffsettableClock clock) { in TestInjector()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPendingRemoteAnimationRegistryTest.java31 import com.android.server.testutils.OffsettableClock;
51 private final OffsettableClock mClock = new OffsettableClock.Stopped();
DRemoteAnimationControllerTest.java68 import com.android.server.testutils.OffsettableClock;
103 private final OffsettableClock mClock = new OffsettableClock.Stopped();
DDisplayRotationTests.java85 import com.android.server.testutils.OffsettableClock;
116 private static final OffsettableClock sClock = new OffsettableClock.Stopped();
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DHdrClamperTest.java38 import com.android.server.testutils.OffsettableClock;
84 OffsettableClock mClock = new OffsettableClock.Stopped();
DBrightnessClamperControllerTest.java51 import com.android.server.testutils.OffsettableClock;
67 private final OffsettableClock mClock = new OffsettableClock();
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DWakefulnessSessionObserverTest.java54 import com.android.server.testutils.OffsettableClock;
70 private OffsettableClock mTestClock;
89 mTestClock = new OffsettableClock.Stopped(); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java60 import com.android.server.testutils.OffsettableClock;
744 private final OffsettableClock mClock;
747 this(null, new OffsettableClock.Stopped()); in TestHandler()
750 TestHandler(Callback callback, OffsettableClock clock) { in TestHandler()
/frameworks/base/services/tests/servicestests/src/com/android/server/logcat/
DLogcatManagerServiceTest.java40 import com.android.server.testutils.OffsettableClock;
80 private OffsettableClock mClock;
90 mClock = new OffsettableClock.Stopped(); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionManagerServiceTest.java79 import com.android.server.testutils.OffsettableClock;
150 private OffsettableClock mClock;
181 mClock = new OffsettableClock.Stopped(); in setup()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DTestPhoneWindowManager.java106 import com.android.server.testutils.OffsettableClock;
181 private OffsettableClock mClock = new OffsettableClock();
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java83 import com.android.server.testutils.OffsettableClock;
124 private OffsettableClock mClock;
195 mClock = new OffsettableClock.Stopped(); in setUp()
DPowerManagerServiceTest.java118 import com.android.server.testutils.OffsettableClock;
195 private OffsettableClock mClock;
269 mClock = new OffsettableClock.Stopped(); in setUp()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java77 import com.android.server.testutils.OffsettableClock;
118 private OffsettableClock mTestClock;
134 mTestClock = new OffsettableClock(); in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java86 import com.android.server.testutils.OffsettableClock;
206 private OffsettableClock mClock;
263 mClock = new OffsettableClock.Stopped(); in setUp()