Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutorTest.java28 import com.android.systemui.util.time.FakeSystemClock;
51 FakeSystemClock clock = new FakeSystemClock(); in testNoDelay()
100 FakeSystemClock clock = new FakeSystemClock(); in testDelayed()
134 FakeSystemClock clock = new FakeSystemClock(); in testDelayed_AdvanceAndRun()
180 FakeSystemClock clock = new FakeSystemClock(); in testExecutionOrder()
249 FakeSystemClock clock = new FakeSystemClock(); in testRemoval_single()
288 FakeSystemClock clock = new FakeSystemClock(); in testRemoval_multi()
DFakeExecutor.java19 import com.android.systemui.util.time.FakeSystemClock;
27 private final FakeSystemClock mClock;
38 public FakeExecutor(FakeSystemClock clock) { in FakeExecutor()
DRepeatableExecutorTest.java26 import com.android.systemui.util.time.FakeSystemClock;
38 private FakeSystemClock mFakeClock;
45 mFakeClock = new FakeSystemClock(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceNotificationListenerTest.java32 import com.android.systemui.util.time.FakeSystemClock;
46 private final FakeSystemClock mClock = new FakeSystemClock();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsFavoritePersistenceWrapperTest.kt25 import com.android.systemui.util.time.FakeSystemClock
39 private val executor = FakeExecutor(FakeSystemClock())
DStatefulControlSubscriberTest.kt27 import com.android.systemui.util.time.FakeSystemClock
54 private val executor = FakeExecutor(FakeSystemClock())
DControlsProviderLifecycleManagerTest.kt30 import com.android.systemui.util.time.FakeSystemClock
79 executor = FakeExecutor(FakeSystemClock()) in capture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingManagerProxyTest.java44 import com.android.systemui.util.time.FakeSystemClock;
66 private FakeExecutor mExecutor = new FakeExecutor(new FakeSystemClock());
67 private FakeExecutor mUiBgExecutor = new FakeExecutor(new 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());
DKeyguardViewMediatorTest.java50 import com.android.systemui.util.time.FakeSystemClock;
75 private FakeExecutor mUiBgExecutor = new FakeExecutor(new FakeSystemClock());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DProximityCheckTest.java31 import com.android.systemui.util.time.FakeSystemClock;
45 private FakeExecutor mFakeExecutor = new FakeExecutor(new FakeSystemClock());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DLogBufferFreezerTest.kt29 import com.android.systemui.util.time.FakeSystemClock
53 val clock = FakeSystemClock()
DLogEulogizerTest.kt25 import com.android.systemui.util.time.FakeSystemClock
57 private val clock = FakeSystemClock()
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md187 DelayableExecutor (which in turn is an Executor). It takes a FakeSystemClock in
262 _If you advance the supplied FakeSystemClock directly, the FakeExecutor will
271 FakeSystemClock clock = new FakeSystemClock();
286 FakeSystemClock clock = new FakeSystemClock();
304 FakeSystemClock clock = new FakeSystemClock();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java32 import com.android.systemui.util.time.FakeSystemClock;
48 private final FakeSystemClock mClock = new FakeSystemClock();
DNotificationEntryTest.java55 import com.android.systemui.util.time.FakeSystemClock;
75 private final FakeSystemClock mClock = new FakeSystemClock();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimatorTest.java40 import com.android.systemui.util.time.FakeSystemClock;
56 private final FakeExecutor mExecutor = new FakeExecutor(new FakeSystemClock());
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/notification/
DNotificationVisibilityLoggerTest.java41 import com.android.systemui.util.time.FakeSystemClock;
82 mUiBgExecutor = new FakeExecutor(new FakeSystemClock()); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DUserBroadcastDispatcherTest.kt30 import com.android.systemui.util.time.FakeSystemClock
81 fakeExecutor = FakeExecutor(FakeSystemClock()) in capture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataManagerTest.kt19 import com.android.systemui.util.time.FakeSystemClock
67 foregroundExecutor = FakeExecutor(FakeSystemClock()) in setup()
68 backgroundExecutor = FakeExecutor(FakeSystemClock()) in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/time/
DFakeSystemClock.java34 public class FakeSystemClock implements SystemClock { class
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DExpansionStateLoggerTest.java35 import com.android.systemui.util.time.FakeSystemClock;
55 private FakeExecutor mUiBgExecutor = new FakeExecutor(new FakeSystemClock());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DAppOpsCoordinatorTest.java49 import com.android.systemui.util.time.FakeSystemClock;
79 private FakeSystemClock mClock = new FakeSystemClock();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java55 import com.android.systemui.util.time.FakeSystemClock;
130 FakeSystemClock clock = new FakeSystemClock(); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java51 import com.android.systemui.util.time.FakeSystemClock;
98 mBgExecutor = new FakeExecutor(new FakeSystemClock()); in setUp()

12