Home
last modified time | relevance | path

Searched refs:FakeSystemClock (Results 1 – 25 of 246) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutorTest.java29 import com.android.systemui.util.time.FakeSystemClock;
52 FakeSystemClock clock = new FakeSystemClock(); in testNoDelay()
101 FakeSystemClock clock = new FakeSystemClock(); in testDelayed()
135 FakeSystemClock clock = new FakeSystemClock(); in testAtTime()
169 FakeSystemClock clock = new FakeSystemClock(); in testDelayed_AdvanceAndRun()
215 FakeSystemClock clock = new FakeSystemClock(); in testExecutionOrder()
284 FakeSystemClock clock = new FakeSystemClock(); in testRemoval_single()
323 FakeSystemClock clock = new FakeSystemClock(); in testRemoval_multi()
359 FakeSystemClock clock = new FakeSystemClock(); in testIsExecuting()
DMockExecutorHandlerTest.kt21 import com.android.systemui.util.time.FakeSystemClock
34 val clock = FakeSystemClock() in testNoDelay()
81 val clock = FakeSystemClock() in testDelayed()
114 val clock = FakeSystemClock() in testAtTime()
146 val clock = FakeSystemClock() in testRemoveCallback_postDelayed()
167 val clock = FakeSystemClock() in testRemoveCallback_postAtTime()
189 val clock = FakeSystemClock() in testRemoveCallback_mixed_allRemoved()
208 val clock = FakeSystemClock() in testRemoveCallback_differentRunnables_onlyMatchingRemoved()
232 val clock = FakeSystemClock() in testRemoveMessages_fails()
DRepeatableExecutorTest.java25 import com.android.systemui.util.time.FakeSystemClock;
37 private FakeSystemClock mFakeClock;
44 mFakeClock = new FakeSystemClock(); in setUp()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/condition/
DSelfExecutingMonitor.java23 import com.android.systemui.util.time.FakeSystemClock;
58 final FakeSystemClock mFakeSystemClock = new FakeSystemClock(); in createInstance()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/time/
DFakeSystemClockModule.kt25 @Binds fun bindFake(fake: FakeSystemClock): SystemClock in bindFake()
28 @Provides @SysUISingleton fun providesFake() = FakeSystemClock() in bindFake()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DCsdWarningDialogTest.java38 import com.android.systemui.util.time.FakeSystemClock;
63 FakeExecutor executor = new FakeExecutor(new FakeSystemClock()); in create1XCsdDialogAndWait_sendsNotification()
79 FakeExecutor executor = new FakeExecutor(new FakeSystemClock()); in create5XCsdDiSalogAndWait_willSendNotification()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DFakeExecutorModule.kt21 import com.android.systemui.util.time.FakeSystemClock
34 @Provides fun provideFake(clock: FakeSystemClock) = FakeExecutor(clock) in bindMainExecutor()
DFakeExecutor.java19 import com.android.systemui.util.time.FakeSystemClock;
27 private final FakeSystemClock mClock;
39 public FakeExecutor(FakeSystemClock clock) { in FakeExecutor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesDialogManagerTest.java35 import com.android.systemui.util.time.FakeSystemClock;
54 private final FakeExecutor mMainExecutor = new FakeExecutor(new FakeSystemClock());
55 private final FakeExecutor mBackgroundExecutor = new FakeExecutor(new FakeSystemClock());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/
DUserCreatorTest.kt12 import com.android.systemui.util.time.FakeSystemClock
43 mainExecutor = FakeExecutor(FakeSystemClock()) in setUp()
44 bgExecutor = FakeExecutor(FakeSystemClock()) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DHistoryTrackerTest.java26 import com.android.systemui.util.time.FakeSystemClock;
39 private FakeSystemClock mSystemClock = new FakeSystemClock();
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/data/repository/
DWindowRootViewVisibilityRepositoryTest.kt25 import com.android.systemui.util.time.FakeSystemClock
36 private val executor = FakeExecutor(FakeSystemClock())
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsFavoritePersistenceWrapperTest.kt25 import com.android.systemui.util.time.FakeSystemClock
40 private val executor = FakeExecutor(FakeSystemClock())
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryStateNotifierTest.kt27 import com.android.systemui.util.time.FakeSystemClock
50 private val clock = FakeSystemClock()
DSensitiveNotificationProtectionControllerFlagDisabledTest.kt32 import com.android.systemui.util.time.FakeSystemClock
66 FakeExecutor(FakeSystemClock()), in setUp()
DFlashlightControllerImplTest.kt32 import com.android.systemui.util.time.FakeSystemClock
65 private lateinit var fakeSystemClock: FakeSystemClock
73 fakeSystemClock = FakeSystemClock() in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
DPersistentConnectionManagerTest.java28 import com.android.systemui.util.time.FakeSystemClock;
46 private FakeSystemClock mFakeClock = new FakeSystemClock();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DServerFlagReaderImplTest.kt25 import com.android.systemui.util.time.FakeSystemClock
45 private val executor = FakeExecutor(FakeSystemClock())
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DActivityStarterImplTest.kt26 import com.android.systemui.util.time.FakeSystemClock
43 private val mainExecutor = FakeExecutor(FakeSystemClock())
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DTableLogBufferFactoryTest.kt23 import com.android.systemui.util.time.FakeSystemClock
34 private val systemClock = FakeSystemClock()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/haptics/
DFakeVibratorHelper.kt25 import com.android.systemui.util.time.FakeSystemClock
29 class FakeVibratorHelper : VibratorHelper(EmptyVibrator(), FakeExecutor(FakeSystemClock())) {
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/scrim/
DBouncerlessScrimControllerTest.java32 import com.android.systemui.util.time.FakeSystemClock;
50 private final FakeExecutor mExecutor = new FakeExecutor(new FakeSystemClock());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DAccessibilityLoggerTest.kt25 import com.android.systemui.util.time.FakeSystemClock
41 private val fakeClock = FakeSystemClock()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DDismissCallbackRegistryTest.java28 import com.android.systemui.util.time.FakeSystemClock;
46 private FakeExecutor mUiBgExecutor = new FakeExecutor(new FakeSystemClock());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/process/condition/
DSystemProcessConditionTest.java32 import com.android.systemui.util.time.FakeSystemClock;
55 private final FakeExecutor mExecutor = new FakeExecutor(new FakeSystemClock());

12345678910