Home
last modified time | relevance | path

Searched refs:coroutineScope (Results 1 – 25 of 220) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneTransitionLayoutDataSource.kt42 private val coroutineScope: CoroutineScope, constant in com.android.systemui.scene.ui.composable.SceneTransitionLayoutDataSource
49 scope = coroutineScope,
57 scope = coroutineScope,
66 animationScope = coroutineScope, in changeScene()
77 animationScope = coroutineScope, in showOverlay()
85 animationScope = coroutineScope, in hideOverlay()
94 animationScope = coroutineScope, in replaceOverlay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/dagger/
DAudioModule.kt55 @Application coroutineScope: CoroutineScope, in provideAudioManagerIntentsReceiver()
58 AudioManagerEventsReceiverImpl(context, coroutineScope, coroutineContext) in provideAudioManagerIntentsReceiver()
67 @Application coroutineScope: CoroutineScope, in provideAudioManagerIntentsReceiver()
75 coroutineScope, in provideAudioManagerIntentsReceiver()
85 @Application coroutineScope: CoroutineScope, in provideAudioManagerIntentsReceiver()
96 coroutineScope, in provideAudioManagerIntentsReceiver()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/
DPointerInputScopeExt.kt30 import kotlinx.coroutines.coroutineScope
40 ) = coroutineScope { in observeTaps()
41 if (onTap == null) return@coroutineScope in observeTaps()
60 ) = coroutineScope { in detectLongPressGesture()
89 suspend fun PointerInputScope.consumeAllGestures() = coroutineScope { in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/test/
DSetContentAndCreateScope.kt32 lateinit var coroutineScope: CoroutineScope in setContentAndCreateMainScope() variable
34 coroutineScope = rememberCoroutineScope(getContext = { Dispatchers.Main }) in setContentAndCreateMainScope()
37 return coroutineScope in setContentAndCreateMainScope()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/satellite/
DSatelliteDialogUtilsTest.kt58 private val coroutineScope = CoroutineScope(Dispatchers.Main) in <lambda>() constant
78 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
98 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
110 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
123 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
136 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
/frameworks/base/packages/SystemUI/utils/kairos/src/com/android/systemui/kairos/internal/
DBuildScopeImpl.kt57 internal class BuildScopeImpl(val stateScope: StateScopeImpl, val coroutineScope: CoroutineScope) : in <lambda>() constant in com.android.systemui.kairos.internal.BuildScopeImpl
61 get() = coroutineScope.coroutineContext.job in <lambda>()
64 LocalNetwork(network, coroutineScope, endSignal) in <lambda>()
123 val childScope = coroutineScope.childScope() in <lambda>()
190 val childScope = coroutineScope.childScope() in <lambda>()
215 val childScope = coroutineScope.childScope() in <lambda>()
245 val childScope = coroutineScope.childScope() in <lambda>()
286 val newCoroutineScope: CoroutineScope = coroutineScope.childScope() in <lambda>()
289 coroutineScope = newCoroutineScope, in <lambda>()
305 val childScope = coroutineScope.childScope() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSoundController.kt58 @Application private val coroutineScope: CoroutineScope, in playScreenshotSound() constant in com.android.systemui.screenshot.ScreenshotSoundControllerImpl
63 coroutineScope.async("loadScreenshotSound", bgDispatcher) { in playScreenshotSound()
95 coroutineScope.launch { playScreenshotSound() } in playScreenshotSound()
99 coroutineScope.launch { releaseScreenshotSound() } in playScreenshotSound()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DCollections.kt21 import kotlinx.coroutines.coroutineScope in <lambda>()
28 coroutineScope { in <lambda>()
40 coroutineScope { in asyncMap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/data/repository/
DLocalMediaRepositoryFactory.kt28 fun create(packageName: String?, coroutineScope: CoroutineScope): LocalMediaRepository in create()
41 coroutineScope: CoroutineScope in create()
46 coroutineScope, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewbinder/
DFooterViewBinder.kt35 import kotlinx.coroutines.coroutineScope in <lambda>()
68 ) = coroutineScope { in <lambda>()
99 ) = coroutineScope { in <lambda>()
138 ) = coroutineScope { in <lambda>()
160 ) = coroutineScope { in <lambda>()
184 ) = coroutineScope { in <lambda>()
227 coroutineScope { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogManager.kt47 private lateinit var coroutineScope: CoroutineScope variable in com.android.systemui.qs.tiles.dialog.InternetDialogManager
74 coroutineScope = CoroutineScope(bgDispatcher + newTracingContext("InternetDialogScope")) in create()
77 .create(aboveStatusBar, canConfigMobileData, canConfigWifi, coroutineScope) in create()
99 coroutineScope.cancel() in destroyDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/
DShortcutCustomizationDialogStarter.kt46 import kotlinx.coroutines.coroutineScope in <lambda>()
61 coroutineScope { in <lambda>()
92 val coroutineScope = rememberCoroutineScope() in <lambda>() constant
100 onConfirmSetShortcut = { coroutineScope.launch { viewModel.onSetShortcut() } }, in <lambda>()
102 coroutineScope.launch { viewModel.deleteShortcutCurrentlyBeingCustomized() } in <lambda>()
105 coroutineScope.launch { viewModel.resetAllCustomShortcuts() } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DAudioSharingDialogViewModel.kt50 @Assisted private val coroutineScope: CoroutineScope, constant
71 coroutineScope.launch { audioSharingInteractor.switchActive(cachedBluetoothDevice) } in switchActiveClicked()
75 coroutineScope.launch { audioSharingInteractor.startAudioSharing() } in shareAudioClicked()
106 coroutineScope: CoroutineScope
/frameworks/base/packages/SystemUI/src/com/android/systemui/lowlightclock/
DDirectBootCondition.kt38 @Background private val coroutineScope: CoroutineScope, constant
39 ) : Condition(coroutineScope) {
49 job = coroutineScope.launch { directBootFlow.collect { updateCondition(it) } } in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeControllerAdapter.kt36 @Application private val coroutineScope: CoroutineScope, in <lambda>() constant in com.android.systemui.volume.VolumeControllerAdapter
42 coroutineScope.launch { in <lambda>()
63 coroutineScope.launch { audioRepository.notifyVolumeControllerVisible(isVisible) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/emptyshade/ui/viewbinder/
DEmptyShadeViewBinder.kt23 import kotlinx.coroutines.coroutineScope in <lambda>()
31 ) = coroutineScope { in <lambda>()
47 coroutineScope { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIBottomSheetDialog.kt52 private val coroutineScope: CoroutineScope, constant
88 coroutineScope.launch { in onStart()
115 @Application private val coroutineScope: CoroutineScope, constant in Factory
128 coroutineScope = coroutineScope, in create()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/
DPagerDots.kt71 val coroutineScope = rememberCoroutineScope() in <lambda>() constant
102 .pagerDotsSemantics(pagerState, coroutineScope), in <lambda>()
147 coroutineScope: CoroutineScope, in pagerDotsSemantics()
153 coroutineScope.launch { in pagerDotsSemantics()
163 coroutineScope.launch { in pagerDotsSemantics()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioSharingRepository.kt102 private val coroutineScope: CoroutineScope, constant in com.android.settingslib.volume.data.repository.AudioSharingRepositoryImpl
111 .stateIn(coroutineScope, SharingStarted.WhileSubscribed(), false)
125 .stateIn(coroutineScope, SharingStarted.WhileSubscribed(), false)
148 coroutineScope,
156 .stateIn(coroutineScope, SharingStarted.WhileSubscribed(), null)
180 coroutineScope,
191 coroutineScope,
241 .stateIn(coroutineScope, SharingStarted.WhileSubscribed(), emptyMap())
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
DSingleV2RequestWorker.kt26 import kotlinx.coroutines.coroutineScope
54 override suspend fun doWork() = coroutineScope { in <lambda>()
56 return@coroutineScope Result.success() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaOutputInteractor.kt40 import kotlinx.coroutines.coroutineScope in <lambda>()
62 @Application private val coroutineScope: CoroutineScope, in <lambda>() constant in com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaOutputInteractor
79 .stateIn(coroutineScope, SharingStarted.WhileSubscribed(), MediaControllers(null, null)) in <lambda>()
92 coroutineScope, in <lambda>()
110 .stateIn(coroutineScope, SharingStarted.WhileSubscribed(), Result.Loading()) in <lambda>()
118 coroutineScope { emit(localMediaRepositoryFactory.create(it, this)) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DSuspend.kt20 import kotlinx.coroutines.coroutineScope
27 suspend fun <R> race(vararg blocks: suspend () -> R): R = coroutineScope { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/ui/viewmodel/
DVolumePanelViewModel.kt60 coroutineScope: CoroutineScope, in <lambda>()
70 daggerComponentFactory.create(this, coroutineScope) in <lambda>()
73 get() = volumePanelComponent.coroutineScope() in <lambda>()
159 fun create(coroutineScope: CoroutineScope): VolumePanelViewModel { in <lambda>()
162 coroutineScope, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/captioning/ui/viewmodel/
DCaptioningViewModel.kt42 @VolumePanelScope private val coroutineScope: CoroutineScope, in <lambda>() constant in com.android.systemui.volume.panel.component.captioning.ui.viewmodel.CaptioningViewModel
60 .stateIn(coroutineScope, SharingStarted.Eagerly, null) in <lambda>()
70 coroutineScope.launch { captioningInteractor.setIsSystemAudioCaptioningEnabled(enabled) } in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DGridDragDropState.kt71 val coroutineScope = rememberCoroutineScope() in <lambda>() constant
79 coroutineScope = coroutineScope, in <lambda>()
85 LaunchedEffect(state) { state.processScrollRequests(coroutineScope) } in <lambda>()
101 coroutineScope: CoroutineScope,
110 scope = coroutineScope,
118 scope = coroutineScope,
149 suspend fun processScrollRequests(coroutineScope: CoroutineScope) = in onDragStart()
150 dragDropState.processScrollRequests(coroutineScope) in onDragStart()
196 open suspend fun processScrollRequests(coroutineScope: CoroutineScope) = Unit in onDragStart()
216 override suspend fun processScrollRequests(coroutineScope: CoroutineScope) { in processScrollRequests()
[all …]

123456789