Home
last modified time | relevance | path

Searched refs:backgroundScope (Results 1 – 25 of 246) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DCommunalAppWidgetHost.kt37 private val backgroundScope: CoroutineScope, in <lambda>() constant
77 backgroundScope.launch { in <lambda>()
85 backgroundScope.launch { in <lambda>()
95 backgroundScope.launch { in <lambda>()
104 backgroundScope.launch { in <lambda>()
113 backgroundScope.launch { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepositoryImplTest.kt74 scope.backgroundScope.coroutineContext, in setUp()
77 scope.backgroundScope, in setUp()
90 scope.backgroundScope.coroutineContext, in isAirplaneMode_initiallyGetsSettingsValue()
93 scope.backgroundScope, in isAirplaneMode_initiallyGetsSettingsValue()
96 underTest.isAirplaneMode.launchIn(backgroundScope) in isAirplaneMode_initiallyGetsSettingsValue()
104 underTest.isAirplaneMode.launchIn(backgroundScope) in isAirplaneMode_settingUpdated_valueUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DDisplayStateRepository.kt67 @Background backgroundScope: CoroutineScope,
79 backgroundScope,
94 backgroundScope,
111 backgroundScope,
120 backgroundScope,
141 backgroundScope,
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModelTest.kt104 underTest.state.launchIn(backgroundScope) in doesntListenDataIfStateIsntListened()
115 underTest.isAvailable.launchIn(backgroundScope) in doesntListenAvailabilityIfAvailabilityIsntListened()
124 underTest.state.launchIn(backgroundScope) in doesntListedDataAfterDestroy()
125 underTest.isAvailable.launchIn(backgroundScope) in doesntListedDataAfterDestroy()
138 underTest.state.launchIn(backgroundScope) in forceUpdateTriggersData()
152 underTest.state.launchIn(backgroundScope) in userChangeUpdatesData()
165 underTest.isAvailable.launchIn(backgroundScope) in userChangeUpdatesAvailability()
199 scope.backgroundScope,
DQSTileViewModelUserInputTest.kt92 underTest.state.launchIn(backgroundScope) in userInputTriggersData()
120 underTest.state.launchIn(backgroundScope) in disabledByPolicyUserInputIsSkipped()
149 underTest.state.launchIn(backgroundScope) in disabledByPolicySecondRestriction_userInputIsSkipped()
184 underTest.state.launchIn(backgroundScope) in disabledByPolicySecondRestriction_onlyFirstIsTriggered()
211 underTest.state.launchIn(backgroundScope) in falsedUserInputIsSkipped()
230 underTest.state.launchIn(backgroundScope) in userInputIsThrottled()
259 scope.backgroundScope,
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/test/
DRunMonotonicClockTest.kt32 backgroundScope = backgroundScope, in <lambda>()
50 val backgroundScope: CoroutineScope, constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/
DCustomTilePackageUpdatesRepositoryTest.kt75 testScope.backgroundScope, in setup()
127 underTest.getPackageChangesForUser(USER_1).launchIn(backgroundScope) in cachesCallsPerUser()
128 underTest.getPackageChangesForUser(USER_1).launchIn(backgroundScope) in cachesCallsPerUser()
129 underTest.getPackageChangesForUser(USER_2).launchIn(backgroundScope) in cachesCallsPerUser()
130 underTest.getPackageChangesForUser(USER_2).launchIn(backgroundScope) in cachesCallsPerUser()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DAudioRepositoryTest.kt111 testScope.backgroundScope, in setup()
119 underTest.mode.onEach { modes.add(it) }.launchIn(backgroundScope) in audioModeChanges_repositoryEmits()
133 underTest.ringerMode.onEach { modes.add(it) }.launchIn(backgroundScope) in ringerModeChanges_repositoryEmits()
152 underTest.communicationDevice.onEach { device = it }.launchIn(backgroundScope) in communicationDeviceChanges_repositoryEmits()
170 .launchIn(backgroundScope) in adjustingVolume_changesTheStream()
199 .launchIn(backgroundScope) in muteStream_mutesTheStream()
229 .launchIn(backgroundScope) in unmuteStream_unmutesTheStream()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/shared/
DAudioManagerEventsReceiverTest.kt63 underTest = AudioManagerEventsReceiverImpl(context, testScope.backgroundScope) in setup()
70 underTest.events.onEach { events.add(it) }.launchIn(backgroundScope) in validIntent_translatedToEvent()
108 underTest.events.onEach { events.add(it) }.launchIn(backgroundScope) in streamAudioManagerEvent_withoutAudioStream_areSkipped()
123 underTest.events.onEach { events.add(it) }.launchIn(backgroundScope) in invalidIntents_areSkipped()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/
DGeneralKosmos.kt11 var Kosmos.applicationCoroutineScope by Fixture { testScope.backgroundScope } in <lambda>()
14 testScope.backgroundScope.coroutineContext in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/data/
DNotificationSettingsRepositoryModule.kt34 @Background backgroundScope: CoroutineScope,
39 backgroundScope,
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/view/accessibility/data/repository/
DCaptioningRepositoryTest.kt62 testScope.backgroundScope in setup()
73 .launchIn(backgroundScope) in isSystemAudioCaptioningEnabled_change_repositoryEmits()
92 .launchIn(backgroundScope) in isSystemAudioCaptioningUiEnabled_change_repositoryEmits()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/log/
DCommunalLoggerStartable.kt42 @Background private val backgroundScope: CoroutineScope, in <lambda>() constant in com.android.systemui.communal.log.CommunalLoggerStartable
61 .launchIn(backgroundScope) in <lambda>()
85 .launchIn(backgroundScope) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DWalletContextualSuggestionsControllerTest.kt98 val controller = createWalletContextualSuggestionsController(backgroundScope) in <lambda>()
120 val controller = createWalletContextualSuggestionsController(backgroundScope) in <lambda>()
137 val controller = createWalletContextualSuggestionsController(backgroundScope) in <lambda>()
156 val controller = createWalletContextualSuggestionsController(backgroundScope) in <lambda>()
174 val controller = createWalletContextualSuggestionsController(backgroundScope) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/domain/interactor/
DShortcutHelperInteractor.kt36 @Background private val backgroundScope: CoroutineScope, constant in com.android.systemui.keyboard.shortcut.domain.interactor.ShortcutHelperInteractor
53 backgroundScope.launch { in setSysUiStateFlagEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DSwipeToDismissInteractor.kt39 @Background backgroundScope: CoroutineScope, in <lambda>()
65 .stateIn(backgroundScope, SharingStarted.Eagerly, null) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/domain/interactor/
DAirplaneModeInteractorTest.kt58 underTest.isAirplaneMode.onEach { latest = it }.launchIn(backgroundScope) in <lambda>()
78 underTest.isForceHidden.onEach { latest = it }.launchIn(backgroundScope) in <lambda>()
89 underTest.isForceHidden.onEach { latest = it }.launchIn(backgroundScope) in <lambda>()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/statusbar/notification/data/repository/
DNotificationsSoundPolicyRepositoryTest.kt66 testScope.backgroundScope, in setup()
76 underTest.notificationPolicy.onEach { values.add(it) }.launchIn(backgroundScope) in policyChanges_repositoryEmits()
94 underTest.zenMode.onEach { values.add(it) }.launchIn(backgroundScope) in zenModeChanges_repositoryEmits()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/
DDeviceBasedSatelliteRepositorySwitcherTest.kt62 testScope.backgroundScope,
80 DemoDeviceBasedSatelliteRepository(demoDataSource, testScope.backgroundScope)
87 testScope.backgroundScope,
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DCoroutineTestScopeModule.kt49 val appScope: CoroutineScope = scope.backgroundScope
52 val bgScope: CoroutineScope = scope.backgroundScope
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioModeInteractorTest.kt50 underTest.isOngoingCall.onEach { isOngoingCall = it }.launchIn(backgroundScope) in ongoingCallModes_isOnGoingCall()
64 underTest.isOngoingCall.onEach { isOngoingCall = it }.launchIn(backgroundScope) in notOngoingCallModes_isNotOnGoingCall()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DObservableTransitionStateTest.kt49 backgroundScope.launch { in <lambda>()
60 backgroundScope.launch { progress.collect { lastProgress = it } } in <lambda>()
128 backgroundScope.launch { observableCurrentScene.collect { _value = it } } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepositoryTest.kt88 testScope.backgroundScope,
378 testScope.backgroundScope, in factory_reusesLogBuffersForSameConnection()
383 scope = testScope.backgroundScope, in factory_reusesLogBuffersForSameConnection()
422 testScope.backgroundScope, in factory_reusesLogBuffersForSameSubIDevenIfCarrierMerged()
427 scope = testScope.backgroundScope, in factory_reusesLogBuffersForSameSubIDevenIfCarrierMerged()
677 testScope.backgroundScope, in initializeRepo()
703 testScope.backgroundScope, in createRealMobileRepo()
730 testScope.backgroundScope.coroutineContext, in createRealCarrierMergedRepo()
731 testScope.backgroundScope, in createRealCarrierMergedRepo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeLockscreenInteractorImpl.kt37 @Background private val backgroundScope: CoroutineScope, constant in com.android.systemui.shade.domain.interactor.ShadeLockscreenInteractorImpl
76 backgroundScope.launch { in transitionToExpandedShade()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DDeviceEntrySideFpsOverlayInteractorTest.kt101 testScope.backgroundScope, in setup()
119 testScope.backgroundScope, in setup()
124 testScope.backgroundScope, in setup()
172 testScope.backgroundScope, in updatesShowIndicatorForDeviceEntry_onBouncerSceneActive()
199 testScope.backgroundScope, in updatesShowIndicatorForDeviceEntry_onBouncerSceneInactive()

12345678910