Home
last modified time | relevance | path

Searched refs:IMMEDIATE (Results 1 – 25 of 30) 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.kt81 mainDispatcher = IMMEDIATE, in setUp()
82 backgroundDispatcher = IMMEDIATE, in setUp()
90 mainDispatcher = IMMEDIATE, in setUp()
107 runBlocking(IMMEDIATE) { in onDeviceBootCompleted_allowedToAdd_createGuest()
118 runBlocking(IMMEDIATE) { in onDeviceBootCompleted_awaitProvisioning_andCreateGuest()
134 runBlocking(IMMEDIATE) { in createAndSwitchTo()
149 runBlocking(IMMEDIATE) { in createAndSwitchTo_failsToCreate_doesNotSwitchTo()
166 runBlocking(IMMEDIATE) { in exit_returnsToTargetUser()
186 runBlocking(IMMEDIATE) { in exit_returnsToLastNonGuest()
208 runBlocking(IMMEDIATE) { in exit_lastNonGuestWasRemoved_returnsToMainUser()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt153 runBlocking(IMMEDIATE) { in setUp()
174 fun themeChanged_verifyClockPaletteUpdated() = runBlocking(IMMEDIATE) { in <lambda>()
186 fun fontChanged_verifyFontSizeUpdated() = runBlocking(IMMEDIATE) { in <lambda>()
196 fun batteryCallback_keyguardShowingCharging_verifyChargeAnimation() = runBlocking(IMMEDIATE) { in <lambda>()
209 runBlocking(IMMEDIATE) { in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
222 fun batteryCallback_keyguardHiddenCharging_verifyChargeAnimation() = runBlocking(IMMEDIATE) { in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation()
235 runBlocking(IMMEDIATE) { in batteryCallback_keyguardShowingNotCharging_verifyChargeAnimation()
247 fun localeCallback_verifyClockNotified() = runBlocking(IMMEDIATE) { in <lambda>()
258 fun keyguardCallback_visibilityChanged_clockDozeCalled() = runBlocking(IMMEDIATE) { in <lambda>()
270 fun keyguardCallback_timeFormat_clockNotified() = runBlocking(IMMEDIATE) { in <lambda>()
[all …]
DLockIconViewControllerWithCoroutinesTest.kt46 runBlocking(IMMEDIATE) { in testLockIcon_clearsIconOnAod_whenUdfpsNotEnrolled()
68 runBlocking(IMMEDIATE) { in testLockIcon_updateToAodLock_whenUdfpsEnrolled()
90 runBlocking(IMMEDIATE) { in testBurnInOffsetsUpdated_onDozeAmountChanged()
124 runBlocking(IMMEDIATE) { in testHideLockIconView_onLockscreenHostedDreamStateChanged()
150 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/statusbar/pipeline/mobile/data/repository/
DUserSetupRepositoryTest.kt43 private val scope = CoroutineScope(IMMEDIATE)
51 IMMEDIATE, in setUp()
63 runBlocking(IMMEDIATE) { in testUserSetup_defaultFalse()
75 runBlocking(IMMEDIATE) { in testUserSetup_updatesOnChange()
96 private val IMMEDIATE = Dispatchers.Main.immediate constant
DMobileRepositorySwitcherTest.kt98 private val scope = CoroutineScope(IMMEDIATE)
133 IMMEDIATE, in setUp()
165 runBlocking(IMMEDIATE) { in activeRepoMatchesDemoModeSetting()
186 runBlocking(IMMEDIATE) { in subscriptionListUpdatesWhenDemoModeChanges()
243 private val IMMEDIATE = Dispatchers.Main.immediate constant
/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()
212 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/
DAirplaneModeViewModelImplTest.kt57 scope = CoroutineScope(IMMEDIATE) in setUp()
69 runBlocking(IMMEDIATE) { in isAirplaneModeIconVisible_notAirplaneMode_outputsFalse()
83 runBlocking(IMMEDIATE) { in isAirplaneModeIconVisible_forceHidden_outputsFalse()
97 runBlocking(IMMEDIATE) { in isAirplaneModeIconVisible_isAirplaneModeAndNotForceHidden_outputsTrue()
110 private val IMMEDIATE = Dispatchers.Main.immediate constant
/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/statusbar/pipeline/airplane/domain/interactor/
DAirplaneModeInteractorTest.kt53 runBlocking(IMMEDIATE) { in isAirplaneMode_matchesRepo()
74 runBlocking(IMMEDIATE) { in isForceHidden_repoHasWifiHidden_outputsTrue()
87 runBlocking(IMMEDIATE) { in isForceHidden_repoDoesNotHaveWifiHidden_outputsFalse()
99 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldAodAnimationControllerTest.kt115 runBlocking(IMMEDIATE) { in setup()
137 runBlocking(IMMEDIATE) { in onFolded_aodDisabled_doesNotLogLatency()
154 runBlocking(IMMEDIATE) { in onFolded_aodEnabled_logsLatency()
172 runBlocking(IMMEDIATE) { in onFolded_onScreenTurningOnInvokedTwice_doesNotLogLatency()
194 runBlocking(IMMEDIATE) { in onFolded_onScreenTurningOnWithoutDozingThenWithDozing_doesNotLogLatency()
219 runBlocking(IMMEDIATE) { in onFolded_animationCancelled_doesNotLogLatency()
255 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepositoryImplTest.kt57 scope = CoroutineScope(IMMEDIATE) in setUp()
77 runBlocking(IMMEDIATE) { in isAirplaneMode_initiallyGetsSettingsValue()
97 runBlocking(IMMEDIATE) { in isAirplaneMode_settingUpdated_valueUpdated()
116 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()
272 if (mHysteresisState == HysteresisState.IMMEDIATE) { in updateSmoothedLux()
362 mHysteresisState = HysteresisState.IMMEDIATE;
/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/
DKeyguardIndicationControllerWithCoroutinesTest.kt37 runBlocking(IMMEDIATE) { in testIndicationAreaVisibility_onLockscreenHostedDreamStateChanged()
66 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/libs/input/tests/
DPointerController_test.cpp215 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
231 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
246 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
261 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
285 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
286 mPointerController->fade(PointerController::Transition::IMMEDIATE); in TEST_F()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/telephony/data/repository/
DTelephonyRepositoryImplTest.kt58 runBlocking(IMMEDIATE) { in callState()
80 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
DPowerInteractorTest.kt76 runBlocking(IMMEDIATE) { in isInteractive_screenTurnsOff()
89 runBlocking(IMMEDIATE) { in isInteractive_becomesInteractive()
212 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorParameterizedTest.kt216 private val IMMEDIATE = Dispatchers.Main.immediate in data() constant
257 val scope = CoroutineScope(IMMEDIATE) in data()
292 backgroundDispatcher = IMMEDIATE, in data()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt363 mainDispatcher = IMMEDIATE, in <lambda>()
364 backgroundDispatcher = IMMEDIATE, in <lambda>()
372 @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/native/services/inputflinger/include/
DPointerControllerInterface.h70 IMMEDIATE, enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelIconParameterizedTest.kt86 scope = CoroutineScope(IMMEDIATE) in <lambda>()
106 runBlocking(IMMEDIATE) { in <lambda>()
406 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp78 mPointerController->fade(PointerControllerInterface::Transition::IMMEDIATE); in ~CursorInputMapper()
292 mPointerController->unfade(PointerControllerInterface::Transition::IMMEDIATE); in sync()
470 mPointerController->fade(PointerControllerInterface::Transition::IMMEDIATE); in configureOnPointerCapture()

12