Home
last modified time | relevance | path

Searched refs:IMMEDIATE (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DRefreshUsersSchedulerTest.kt49 runBlocking(IMMEDIATE) { in pause_preventsTheNextRefreshFromHappening()
53 mainDispatcher = IMMEDIATE, in pause_preventsTheNextRefreshFromHappening()
64 runBlocking(IMMEDIATE) { in unpauseAndRefresh_forcesTheRefreshEvenWhenPaused()
68 mainDispatcher = IMMEDIATE, in unpauseAndRefresh_forcesTheRefreshEvenWhenPaused()
80 runBlocking(IMMEDIATE) { in refreshIfNotPaused_refreshesWhenNotPaused()
84 mainDispatcher = IMMEDIATE, in refreshIfNotPaused_refreshesWhenNotPaused()
93 private val IMMEDIATE = Dispatchers.Main.immediate constant
DGuestUserInteractorTest.kt86 mainDispatcher = IMMEDIATE, in initGuestUserInteractor()
87 backgroundDispatcher = IMMEDIATE, in initGuestUserInteractor()
95 mainDispatcher = IMMEDIATE, in initGuestUserInteractor()
121 runBlocking(IMMEDIATE) { in onDeviceBootCompleted_allowedToAdd_createGuest()
132 runBlocking(IMMEDIATE) { in onDeviceBootCompleted_awaitProvisioning_andCreateGuest()
148 runBlocking(IMMEDIATE) { in createAndSwitchTo()
163 runBlocking(IMMEDIATE) { in createAndSwitchTo_failsToCreate_doesNotSwitchTo()
180 runBlocking(IMMEDIATE) { in exit_returnsToTargetUser()
200 runBlocking(IMMEDIATE) { in exit_returnsToLastNonGuest()
222 runBlocking(IMMEDIATE) { in exit_lastNonGuestWasRemoved_returnsToMainUser()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt157 runBlocking(IMMEDIATE) { in setUp()
179 runBlocking(IMMEDIATE) { in themeChanged_verifyClockPaletteUpdated()
192 runBlocking(IMMEDIATE) { in fontChanged_verifyFontSizeUpdated()
203 runBlocking(IMMEDIATE) { in batteryCallback_keyguardShowingCharging_verifyChargeAnimation()
216 runBlocking(IMMEDIATE) { in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
230 runBlocking(IMMEDIATE) { in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation()
243 runBlocking(IMMEDIATE) { in batteryCallback_keyguardShowingNotCharging_verifyChargeAnimation()
256 runBlocking(IMMEDIATE) { in localeCallback_verifyClockNotified()
267 runBlocking(IMMEDIATE) { in keyguardCallback_visibilityChanged_clockDozeCalled()
281 runBlocking(IMMEDIATE) { in keyguardCallback_timeFormat_clockNotified()
[all …]
DLegacyLockIconViewControllerWithCoroutinesTest.kt43 runBlocking(IMMEDIATE) { in testLockIcon_clearsIconWhenUnlocked()
65 runBlocking(IMMEDIATE) { in testLockIcon_updateToAodLock_whenUdfpsEnrolled()
87 runBlocking(IMMEDIATE) { in testBurnInOffsetsUpdated_onDozeAmountChanged()
121 runBlocking(IMMEDIATE) { in testHideLockIconView_onLockscreenHostedDreamStateChanged()
147 private val IMMEDIATE = Dispatchers.Main.immediate constant
DKeyguardClockSwitchControllerWithCoroutinesTest.kt35 runBlocking(IMMEDIATE) { in testStatusAreaVisibility_onLockscreenHostedDreamStateChanged()
60 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardDismissActionInteractorTest.kt89 onDismissAction = { KeyguardDone.IMMEDIATE }, in updateDismissAction_onRepoChange()
104 onDismissAction = { KeyguardDone.IMMEDIATE }, in messageUpdate()
123 onDismissAction = { KeyguardDone.IMMEDIATE }, in runDismissAnimationOnKeyguardUpdates()
133 onDismissAction = { KeyguardDone.IMMEDIATE }, in runDismissAnimationOnKeyguardUpdates()
147 val onDismissAction = { KeyguardDone.IMMEDIATE } in executeDismissAction_dismissKeyguardRequestWithImmediateDismissAction_biometricAuthed()
240 onDismissAction = { KeyguardDone.IMMEDIATE }, in setDismissAction_callsCancelRunnableOnPreviousDismissAction()
249 onDismissAction = { KeyguardDone.IMMEDIATE }, in setDismissAction_callsCancelRunnableOnPreviousDismissAction()
281 underTest.setKeyguardDone(KeyguardDone.IMMEDIATE) in setKeyguardDone()
282 assertThat(keyguardDoneTiming).isEqualTo(KeyguardDone.IMMEDIATE) in setKeyguardDone()
DKeyguardDismissInteractorTest.kt148 underTest.setKeyguardDone(KeyguardDone.IMMEDIATE) in keyguardDone()
149 assertThat(keyguardDone).isEqualTo(KeyguardDone.IMMEDIATE) in keyguardDone()
167 onDismissAction = { KeyguardDone.IMMEDIATE }, in userRequestedBouncerWhenAlreadyAuthenticated_dismissActionRunImmediately()
DKeyguardQuickAffordanceInteractorSceneContainerTest.kt225 private val IMMEDIATE = Dispatchers.Main.immediate in data() constant
268 val scope = CoroutineScope(IMMEDIATE) in data()
304 backgroundDispatcher = IMMEDIATE, in data()
DKeyguardQuickAffordanceInteractorParameterizedTest.kt225 private val IMMEDIATE = Dispatchers.Main.immediate in data() constant
268 val scope = CoroutineScope(IMMEDIATE) in data()
304 backgroundDispatcher = IMMEDIATE, in data()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/os/
DFakeHandler.java34 private Mode mMode = Mode.IMMEDIATE;
44 if (mMode == Mode.IMMEDIATE) { in sendMessageAtTime()
67 IMMEDIATE, enumConstant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
DPowerRepositoryImplTest.kt82 runBlocking(IMMEDIATE) { in isInteractive_registersForBroadcasts()
94 runBlocking(IMMEDIATE) { in isInteractive_unregistersFromBroadcasts()
105 runBlocking(IMMEDIATE) { in isInteractive_emitsInitialTrueValueIfScreenWasOn()
118 runBlocking(IMMEDIATE) { in isInteractive_emitsInitialFalseValueIfScreenWasOff()
131 runBlocking(IMMEDIATE) { in isInteractive_emitsTrueWhenTheScreenTurnsOn()
145 runBlocking(IMMEDIATE) { in isInteractive_emitsFalseWhenTheScreenTurnsOff()
159 runBlocking(IMMEDIATE) { in isInteractive_emitsCorrectlyOverTime()
245 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/
DAirplaneModeViewModelImplTest.kt63 scope = CoroutineScope(IMMEDIATE) in setUp()
75 runBlocking(IMMEDIATE) { in isAirplaneModeIconVisible_notAirplaneMode_outputsFalse()
89 runBlocking(IMMEDIATE) { in isAirplaneModeIconVisible_forceHidden_outputsFalse()
103 runBlocking(IMMEDIATE) { in isAirplaneModeIconVisible_isAirplaneModeAndNotForceHidden_outputsTrue()
116 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldAodAnimationControllerTest.kt117 runBlocking(IMMEDIATE) { in setup()
140 runBlocking(IMMEDIATE) { in onFolded_aodDisabled_doesNotLogLatency()
152 runBlocking(IMMEDIATE) { in onFolded_aodEnabled_logsLatency()
165 runBlocking(IMMEDIATE) { in onFolded_onScreenTurningOnInvokedTwice_doesNotLogLatency()
182 runBlocking(IMMEDIATE) { in onFolded_onScreenTurningOnWithoutDozingThenWithDozing_doesNotLogLatency()
202 runBlocking(IMMEDIATE) { in onFolded_animationCancelled_doesNotLogLatency()
233 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/services/core/java/com/android/server/input/
DAmbientKeyboardBacklightController.java100 IMMEDIATE, enumConstant
167 if (mHysteresisState != HysteresisState.IMMEDIATE in handleAmbientLuxChange()
177 if (mHysteresisState != HysteresisState.IMMEDIATE in handleAmbientLuxChange()
191 if (mHysteresisState != HysteresisState.IMMEDIATE in handleAmbientLuxChange()
206 if (mHysteresisState == HysteresisState.IMMEDIATE) { in handleAmbientLuxChange()
275 if (mHysteresisState == HysteresisState.IMMEDIATE) { in updateSmoothedLux()
365 mHysteresisState = HysteresisState.IMMEDIATE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DDismissAction.kt52 KeyguardDone.IMMEDIATE in <lambda>()
58 override val onDismissAction: () -> KeyguardDone = { KeyguardDone.IMMEDIATE } in <lambda>()
DKeyguardDone.kt25 IMMEDIATE, // keyguard is immediately done, immediately start transitioning away keyguard
/frameworks/base/services/core/java/com/android/server/notification/
DRankingReconsideration.java26 private static final long IMMEDIATE = 0l; field in RankingReconsideration
38 this(key, IMMEDIATE); in RankingReconsideration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileRepositorySwitcherTest.kt99 private val scope = CoroutineScope(IMMEDIATE)
134 /* bgDispatcher = */ IMMEDIATE, in setUp()
136 /* mainDispatcher = */ IMMEDIATE, in setUp()
169 runBlocking(IMMEDIATE) { in activeRepoMatchesDemoModeSetting()
190 runBlocking(IMMEDIATE) { in subscriptionListUpdatesWhenDemoModeChanges()
247 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerWithCoroutinesTest.kt42 runBlocking(IMMEDIATE) { in testIndicationAreaVisibility_onLockscreenHostedDreamStateChanged()
98 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/libs/input/tests/
DPointerController_test.cpp234 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
250 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
276 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
291 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
315 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
316 mPointerController->fade(PointerController::Transition::IMMEDIATE); in TEST_F()
/frameworks/native/services/inputflinger/
DPointerChoreographer.cpp258 pc.unfade(PointerControllerInterface::Transition::IMMEDIATE); in processMouseEventLocked()
275 pc.unfade(PointerControllerInterface::Transition::IMMEDIATE); in processTouchpadEventLocked()
286 pc.unfade(PointerControllerInterface::Transition::IMMEDIATE); in processTouchpadEventLocked()
329 pc.fade(PointerControllerInterface::Transition::IMMEDIATE); in processDrawingTabletEventLocked()
332 pc.unfade(PointerControllerInterface::Transition::IMMEDIATE); in processDrawingTabletEventLocked()
411 pc.fade(PointerControllerInterface::Transition::IMMEDIATE); in processStylusHoverEventLocked()
414 pc.unfade(PointerControllerInterface::Transition::IMMEDIATE); in processStylusHoverEventLocked()
500 mousePointerController->fade(PointerControllerInterface::Transition::IMMEDIATE); in notifyPointerCaptureChanged()
614 mousePointerIt->second->unfade(PointerControllerInterface::Transition::IMMEDIATE); in updatePointerControllersLocked()
829 controller->fade(PointerControllerInterface::Transition::IMMEDIATE); in setPointerIconVisibility()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
DPowerInteractorTest.kt74 runBlocking(IMMEDIATE) { in isInteractive_screenTurnsOff()
87 runBlocking(IMMEDIATE) { in isInteractive_becomesInteractive()
253 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt329 mainDispatcher = IMMEDIATE, in <lambda>()
330 backgroundDispatcher = IMMEDIATE, in <lambda>()
337 @JvmStatic private val IMMEDIATE = Dispatchers.Main.immediate in <lambda>() constant
/frameworks/base/core/java/com/android/internal/os/
DZygoteServer.java134 IMMEDIATE, enumConstant
629 mUsapPoolRefillAction = UsapPoolRefillAction.IMMEDIATE; in runSelectLoop()
645 mUsapPoolRefillAction == UsapPoolRefillAction.IMMEDIATE; in runSelectLoop()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelIconParameterizedTest.kt87 scope = CoroutineScope(IMMEDIATE) in <lambda>()
108 runBlocking(IMMEDIATE) { in <lambda>()
408 private val IMMEDIATE = Dispatchers.Main.immediate constant

12