/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | FakeExecutorTest.java | 29 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()
|
D | MockExecutorHandlerTest.kt | 21 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()
|
D | RepeatableExecutorTest.java | 25 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/ |
D | SelfExecutingMonitor.java | 23 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/ |
D | FakeSystemClockModule.kt | 25 @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/ |
D | CsdWarningDialogTest.java | 38 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/ |
D | FakeExecutorModule.kt | 21 import com.android.systemui.util.time.FakeSystemClock 34 @Provides fun provideFake(clock: FakeSystemClock) = FakeExecutor(clock) in bindMainExecutor()
|
D | FakeExecutor.java | 19 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/ |
D | HearingDevicesDialogManagerTest.java | 35 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/ |
D | UserCreatorTest.kt | 12 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/ |
D | HistoryTrackerTest.java | 26 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/ |
D | WindowRootViewVisibilityRepositoryTest.kt | 25 import com.android.systemui.util.time.FakeSystemClock 36 private val executor = FakeExecutor(FakeSystemClock())
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapperTest.kt | 25 import com.android.systemui.util.time.FakeSystemClock 40 private val executor = FakeExecutor(FakeSystemClock())
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BatteryStateNotifierTest.kt | 27 import com.android.systemui.util.time.FakeSystemClock 50 private val clock = FakeSystemClock()
|
D | SensitiveNotificationProtectionControllerFlagDisabledTest.kt | 32 import com.android.systemui.util.time.FakeSystemClock 66 FakeExecutor(FakeSystemClock()), in setUp()
|
D | FlashlightControllerImplTest.kt | 32 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/ |
D | PersistentConnectionManagerTest.java | 28 import com.android.systemui.util.time.FakeSystemClock; 46 private FakeSystemClock mFakeClock = new FakeSystemClock();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | ServerFlagReaderImplTest.kt | 25 import com.android.systemui.util.time.FakeSystemClock 45 private val executor = FakeExecutor(FakeSystemClock())
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | ActivityStarterImplTest.kt | 26 import com.android.systemui.util.time.FakeSystemClock 43 private val mainExecutor = FakeExecutor(FakeSystemClock())
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | TableLogBufferFactoryTest.kt | 23 import com.android.systemui.util.time.FakeSystemClock 34 private val systemClock = FakeSystemClock()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/haptics/ |
D | FakeVibratorHelper.kt | 25 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/ |
D | BouncerlessScrimControllerTest.java | 32 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/ |
D | AccessibilityLoggerTest.kt | 25 import com.android.systemui.util.time.FakeSystemClock 41 private val fakeClock = FakeSystemClock()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | DismissCallbackRegistryTest.java | 28 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/ |
D | SystemProcessConditionTest.java | 32 import com.android.systemui.util.time.FakeSystemClock; 55 private final FakeExecutor mExecutor = new FakeExecutor(new FakeSystemClock());
|