/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/ |
D | CommunalAppWidgetHost.kt | 37 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/ |
D | AirplaneModeRepositoryImplTest.kt | 74 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/ |
D | DisplayStateRepository.kt | 67 @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/ |
D | QSTileViewModelTest.kt | 104 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,
|
D | QSTileViewModelUserInputTest.kt | 92 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/ |
D | RunMonotonicClockTest.kt | 32 backgroundScope = backgroundScope, in <lambda>() 50 val backgroundScope: CoroutineScope, constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/ |
D | CustomTilePackageUpdatesRepositoryTest.kt | 75 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/ |
D | AudioRepositoryTest.kt | 111 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/ |
D | AudioManagerEventsReceiverTest.kt | 63 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/ |
D | GeneralKosmos.kt | 11 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/ |
D | NotificationSettingsRepositoryModule.kt | 34 @Background backgroundScope: CoroutineScope, 39 backgroundScope,
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/view/accessibility/data/repository/ |
D | CaptioningRepositoryTest.kt | 62 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/ |
D | CommunalLoggerStartable.kt | 42 @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/ |
D | WalletContextualSuggestionsControllerTest.kt | 98 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/ |
D | ShortcutHelperInteractor.kt | 36 @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/ |
D | SwipeToDismissInteractor.kt | 39 @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/ |
D | AirplaneModeInteractorTest.kt | 58 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/ |
D | NotificationsSoundPolicyRepositoryTest.kt | 66 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/ |
D | DeviceBasedSatelliteRepositorySwitcherTest.kt | 62 testScope.backgroundScope, 80 DemoDeviceBasedSatelliteRepository(demoDataSource, testScope.backgroundScope) 87 testScope.backgroundScope,
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | CoroutineTestScopeModule.kt | 49 val appScope: CoroutineScope = scope.backgroundScope 52 val bgScope: CoroutineScope = scope.backgroundScope
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/ |
D | AudioModeInteractorTest.kt | 50 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/ |
D | ObservableTransitionStateTest.kt | 49 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/ |
D | FullMobileConnectionRepositoryTest.kt | 88 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/ |
D | ShadeLockscreenInteractorImpl.kt | 37 @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/ |
D | DeviceEntrySideFpsOverlayInteractorTest.kt | 101 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()
|