Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt53 private val scope = CoroutineScope(IMMEDIATE)
75 runBlocking(IMMEDIATE) { in gsm_level_default_unknown()
88 runBlocking(IMMEDIATE) { in gsm_usesGsmLevel()
103 runBlocking(IMMEDIATE) { in gsm_alwaysShowCdmaTrue_stillUsesGsmLevel()
119 runBlocking(IMMEDIATE) { in notGsm_level_default_unknown()
131 runBlocking(IMMEDIATE) { in notGsm_alwaysShowCdmaTrue_usesCdmaLevel()
147 runBlocking(IMMEDIATE) { in notGsm_alwaysShowCdmaFalse_usesPrimaryLevel()
163 runBlocking(IMMEDIATE) { in numberOfLevels_comesFromRepo()
178 runBlocking(IMMEDIATE) { in iconGroup_three_g()
192 runBlocking(IMMEDIATE) { in iconGroup_updates_on_change()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DRefreshUsersSchedulerTest.kt49 runBlocking(IMMEDIATE) { in pause - prevents the next refresh from happening()
53 mainDispatcher = IMMEDIATE, in pause - prevents the next refresh from happening()
64 runBlocking(IMMEDIATE) { in unpauseAndRefresh - forces the refresh even when paused()
68 mainDispatcher = IMMEDIATE, in unpauseAndRefresh - forces the refresh even when paused()
80 runBlocking(IMMEDIATE) { in refreshIfNotPaused - refreshes when not paused()
84 mainDispatcher = IMMEDIATE, in refreshIfNotPaused - refreshes when not paused()
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 - allowed to add - create guest()
118 runBlocking(IMMEDIATE) { in onDeviceBootCompleted - await provisioning - and create guest()
134 runBlocking(IMMEDIATE) { in createAndSwitchTo()
149 runBlocking(IMMEDIATE) { in createAndSwitchTo - fails to create - does not switch to()
166 runBlocking(IMMEDIATE) { in exit - returns to target user()
186 runBlocking(IMMEDIATE) { in exit - returns to last non-guest()
208 runBlocking(IMMEDIATE) { in exit - last non-guest was removed - returns to system()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractorImplTest.kt56 runBlocking(IMMEDIATE) { in ssid_unavailableNetwork_outputsNull()
69 runBlocking(IMMEDIATE) { in ssid_inactiveNetwork_outputsNull()
82 runBlocking(IMMEDIATE) { in ssid_carrierMergedNetwork_outputsNull()
97 runBlocking(IMMEDIATE) { in ssid_isPasspointAccessPoint_outputsPasspointName()
117 runBlocking(IMMEDIATE) { in ssid_isOnlineSignUpForPasspoint_outputsPasspointName()
137 runBlocking(IMMEDIATE) { in ssid_unknownSsid_outputsNull()
156 runBlocking(IMMEDIATE) { in ssid_validSsid_outputsSsid()
175 runBlocking(IMMEDIATE) { in isEnabled_matchesRepoIsEnabled()
196 runBlocking(IMMEDIATE) { in isDefault_matchesRepoIsDefault()
217 runBlocking(IMMEDIATE) { in wifiNetwork_matchesRepoWifiNetwork()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt95 private val scope = CoroutineScope(IMMEDIATE) in <lambda>()
140 bgDispatcher = IMMEDIATE, in <lambda>()
170 IMMEDIATE, in <lambda>()
184 runBlocking(IMMEDIATE) { in <lambda>()
190 runBlocking(IMMEDIATE) { in <lambda>()
206 runBlocking(IMMEDIATE) { in <lambda>()
229 runBlocking(IMMEDIATE) { in <lambda>()
246 runBlocking(IMMEDIATE) { in <lambda>()
263 runBlocking(IMMEDIATE) { in <lambda>()
269 runBlocking(IMMEDIATE) { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt95 scope = CoroutineScope(IMMEDIATE) in setUp()
106 runBlocking(IMMEDIATE) { in isWifiEnabled_initiallyGetsWifiManagerValue()
116 runBlocking(IMMEDIATE) { in isWifiEnabled_networkCapabilitiesChanged_valueUpdated()
139 runBlocking(IMMEDIATE) { in isWifiEnabled_networkLost_valueUpdated()
160 runBlocking(IMMEDIATE) { in isWifiEnabled_intentsReceived_valueUpdated()
190 runBlocking(IMMEDIATE) { in isWifiEnabled_bothIntentAndNetworkUpdates_valueAlwaysUpdated()
229 runBlocking(IMMEDIATE) { in isWifiDefault_initiallyGetsDefault()
239 runBlocking(IMMEDIATE) { in isWifiDefault_wifiNetwork_isTrue()
255 runBlocking(IMMEDIATE) { in isWifiDefault_transportInfoIsNotWifi_andNoWifiTransport_false()
281 runBlocking(IMMEDIATE) { in isWifiDefault_transportInfoIsNotWifi_butHasWifiTransport_true()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt132 runBlocking(IMMEDIATE) { in setUp()
153 fun themeChanged_verifyClockPaletteUpdated() = runBlocking(IMMEDIATE) { in <lambda>()
166 fun fontChanged_verifyFontSizeUpdated() = runBlocking(IMMEDIATE) { in <lambda>()
176 fun batteryCallback_keyguardShowingCharging_verifyChargeAnimation() = runBlocking(IMMEDIATE) { in <lambda>()
189 runBlocking(IMMEDIATE) { in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
202 fun batteryCallback_keyguardHiddenCharging_verifyChargeAnimation() = runBlocking(IMMEDIATE) { in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation()
215 runBlocking(IMMEDIATE) { in batteryCallback_keyguardShowingNotCharging_verifyChargeAnimation()
227 fun localeCallback_verifyClockNotified() = runBlocking(IMMEDIATE) { in <lambda>()
238 fun keyguardCallback_visibilityChanged_clockDozeCalled() = runBlocking(IMMEDIATE) { in <lambda>()
250 fun keyguardCallback_timeFormat_clockNotified() = runBlocking(IMMEDIATE) { in <lambda>()
[all …]
DLockIconViewControllerWithCoroutinesTest.kt44 runBlocking(IMMEDIATE) { in testLockIcon_clearsIconOnAod_whenUdfpsNotEnrolled()
66 runBlocking(IMMEDIATE) { in testLockIcon_updateToAodLock_whenUdfpsEnrolled()
88 runBlocking(IMMEDIATE) { in testBurnInOffsetsUpdated_onDozeAmountChanged()
121 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelTest.kt79 scope = CoroutineScope(IMMEDIATE) in setUp()
107 runBlocking(IMMEDIATE) { in wifiIcon_allLocationViewModelsReceiveSameData()
134 runBlocking(IMMEDIATE) { in activity_showActivityConfigFalse_outputsFalse()
165 runBlocking(IMMEDIATE) { in activity_showActivityConfigFalse_noUpdatesReceived()
201 runBlocking(IMMEDIATE) { in activity_nullSsid_outputsFalse()
240 runBlocking(IMMEDIATE) { in activity_allLocationViewModelsReceiveSameData()
273 runBlocking(IMMEDIATE) { in activityIn_hasActivityInTrue_outputsTrue()
292 runBlocking(IMMEDIATE) { in activityIn_hasActivityInFalse_outputsFalse()
311 runBlocking(IMMEDIATE) { in activityOut_hasActivityOutTrue_outputsTrue()
330 runBlocking(IMMEDIATE) { in activityOut_hasActivityOutFalse_outputsFalse()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
DPowerRepositoryImplTest.kt70 runBlocking(IMMEDIATE) { in isInteractive - registers for broadcasts()
82 runBlocking(IMMEDIATE) { in isInteractive - unregisters from broadcasts()
93 runBlocking(IMMEDIATE) { in isInteractive - emits initial true value if screen was on()
106 runBlocking(IMMEDIATE) { in isInteractive - emits initial false value if screen was off()
119 runBlocking(IMMEDIATE) { in isInteractive - emits true when the screen turns on()
133 runBlocking(IMMEDIATE) { in isInteractive - emits false when the screen turns off()
147 runBlocking(IMMEDIATE) { in isInteractive - emits correctly over time()
179 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepositoryImplTest.kt62 scope = CoroutineScope(IMMEDIATE) in setUp()
82 runBlocking(IMMEDIATE) { in forceHiddenSlots_initiallyGetsDefault()
109 runBlocking(IMMEDIATE) { in forceHiddenSlots_slotNamesAdded_flowHasSlots()
124 runBlocking(IMMEDIATE) { in forceHiddenSlots_wrongKey_doesNotUpdate()
144 runBlocking(IMMEDIATE) { in forceHiddenSlots_slotNamesAddedThenNull_flowHasDefault()
180 runBlocking(IMMEDIATE) { in forceHiddenSlots_someInvalidSlotNames_flowHasValidSlotsOnly()
196 runBlocking(IMMEDIATE) { in forceHiddenSlots_someEmptySlotNames_flowHasValidSlotsOnly()
213 runBlocking(IMMEDIATE) { in forceHiddenSlots_allInvalidOrEmptySlotNames_flowHasEmpty()
234 runBlocking(IMMEDIATE) { in forceHiddenSlots_newSubscriberGetsCurrentValue()
272 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.kt92 private val scope = CoroutineScope(IMMEDIATE)
123 IMMEDIATE, in setUp()
154 runBlocking(IMMEDIATE) { in active repo matches demo mode setting()
175 runBlocking(IMMEDIATE) { in subscription list updates when demo mode changes()
232 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/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/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
DPowerInteractorTest.kt51 runBlocking(IMMEDIATE) { in isInteractive - screen turns off()
64 runBlocking(IMMEDIATE) { in isInteractive - becomes interactive()
76 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldAodAnimationControllerTest.kt123 runBlocking(IMMEDIATE) { in setup()
145 runBlocking(IMMEDIATE) { in onFolded_aodDisabled_doesNotLogLatency()
162 runBlocking(IMMEDIATE) { in onFolded_aodEnabled_logsLatency()
180 runBlocking(IMMEDIATE) { in onFolded_onScreenTurningOnInvokedTwice_doesNotLogLatency()
202 runBlocking(IMMEDIATE) { in onFolded_animationCancelled_doesNotLogLatency()
238 private val IMMEDIATE = Dispatchers.Main.immediate constant
/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/libs/input/tests/
DPointerController_test.cpp203 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
219 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
235 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
260 mPointerController->unfade(PointerController::Transition::IMMEDIATE); in TEST_F()
261 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/biometrics/
DUdfpsKeyguardViewControllerWithCoroutinesTest.kt114 runBlocking(IMMEDIATE) { in shadeLocked_showAlternateBouncer_unpauseAuth()
135 runBlocking(IMMEDIATE) { in shouldPauseAuthBouncerShowing()
154 private val IMMEDIATE = Dispatchers.Main.immediate constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorParameterizedTest.kt217 private val IMMEDIATE = Dispatchers.Main.immediate in data() constant
254 val scope = CoroutineScope(IMMEDIATE) in data()
289 backgroundDispatcher = IMMEDIATE, in data()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt321 mainDispatcher = IMMEDIATE, in <lambda>()
322 backgroundDispatcher = IMMEDIATE, in <lambda>()
330 @JvmStatic private val IMMEDIATE = Dispatchers.Main.immediate in <lambda>() constant

12