Home
last modified time | relevance | path

Searched refs:CoroutineScope (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/frameworks/libs/systemui/tracinglib/core/common/src/coroutines/
DCoroutineTracing.kt28 import kotlinx.coroutines.CoroutineScope
45 inline fun CoroutineScope.launch( in launch()
49 crossinline block: suspend CoroutineScope.() -> Unit in launch()
57 inline fun CoroutineScope.launch( in launch()
61 crossinline block: suspend CoroutineScope.() -> Unit in launch()
69 inline fun <T> CoroutineScope.async( in async()
73 crossinline block: suspend CoroutineScope.() -> T in async()
81 inline fun <T> CoroutineScope.async( in async()
85 crossinline block: suspend CoroutineScope.() -> T in async()
107 crossinline block: suspend CoroutineScope.() -> T in runBlocking()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/
DSliderStateTrackerTest.kt23 import kotlinx.coroutines.CoroutineScope
55 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler))) in initializeSliderTracker_startsTracking()
65 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler))) in <lambda>()
83 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler))) in <lambda>()
92 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler))) in <lambda>()
110 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler)), config) in <lambda>()
130 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler)), config) in <lambda>()
155 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler)), config) in <lambda>()
179 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler)), config) in <lambda>()
201 initTracker(CoroutineScope(UnconfinedTestDispatcher(testScheduler)), config) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/test/
DRunMonotonicClockTest.kt5 import kotlinx.coroutines.CoroutineScope
26 val testScopeWithMonotonicFrameClock: CoroutineScope = this in <lambda>()
48 testScope: CoroutineScope,
50 val backgroundScope: CoroutineScope,
51 ) : CoroutineScope by testScope
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileCoroutineScopeFactory.kt21 import kotlinx.coroutines.CoroutineScope
27 constructor(@Application private val applicationScope: CoroutineScope) {
29 fun create(): CoroutineScope =
30 CoroutineScope(applicationScope.coroutineContext + SupervisorJob())
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/condition/
DFakeCondition.java19 import kotlinx.coroutines.CoroutineScope;
26 FakeCondition(CoroutineScope scope) { in FakeCondition()
30 FakeCondition(CoroutineScope scope, Boolean initialValue, boolean overriding) { in FakeCondition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconsViewModel.kt31 import kotlinx.coroutines.CoroutineScope in <lambda>()
60 @Application private val scope: CoroutineScope, in <lambda>()
63 val reuseCache = mutableMapOf<Int, Pair<MobileIconViewModel, CoroutineScope>>() in <lambda>()
115 private fun createViewModel(subId: Int): Pair<MobileIconViewModel, CoroutineScope> { in <lambda>()
131 private fun CoroutineScope.createChildScope() = in <lambda>() method
132 CoroutineScope(coroutineContext + Job(coroutineContext[Job])) in <lambda>()
DLocationBasedMobileViewModel.kt23 import kotlinx.coroutines.CoroutineScope in <lambda>()
51 scope: CoroutineScope, in <lambda>()
96 scope: CoroutineScope,
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/data/repository/
DLocalMediaRepositoryFactory.kt24 import kotlinx.coroutines.CoroutineScope
28 fun create(packageName: String?, coroutineScope: CoroutineScope): LocalMediaRepository in create()
41 coroutineScope: CoroutineScope in create()
/frameworks/libs/systemui/weathereffects/src/com/google/android/wallpaper/weathereffects/dagger/
DDependencyProvider.kt24 import kotlinx.coroutines.CoroutineScope
39 fun mainScope(@Main mainDispatcher: MainCoroutineDispatcher) = CoroutineScope(mainDispatcher) in context()
44 CoroutineScope(backgroundDispatcher) in context()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DGlobalCoroutinesModule.kt28 import kotlinx.coroutines.CoroutineScope
40 ): CoroutineScope = CoroutineScope(dispatcherContext) in applicationScope()
DSysUICoroutinesModule.kt27 import kotlinx.coroutines.CoroutineScope
42 @Application applicationScope: CoroutineScope, in bgApplicationScope()
44 ): CoroutineScope = applicationScope.plus(coroutineContext) in bgApplicationScope()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/
DShortcutHelperActivityStarter.kt27 import kotlinx.coroutines.CoroutineScope in <lambda>()
33 @Application private val applicationScope: CoroutineScope, in <lambda>()
41 @Application applicationScope: CoroutineScope, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DCoroutineTestScopeModule.kt27 import kotlinx.coroutines.CoroutineScope
49 val appScope: CoroutineScope = scope.backgroundScope
52 val bgScope: CoroutineScope = scope.backgroundScope
/frameworks/base/libs/dream/lowlight/src/com/android/dream/lowlight/dagger/
DLowLightDreamModule.kt27 import kotlinx.coroutines.CoroutineScope
76 fun providesApplicationScope(@Main dispatcher: CoroutineDispatcher): CoroutineScope { in providesApplicationScope()
77 return CoroutineScope(dispatcher) in providesApplicationScope()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/
DKeyboardBacklightDialogCoordinator.kt27 import kotlinx.coroutines.CoroutineScope in <lambda>()
43 @Application private val applicationScope: CoroutineScope,
50 @Application applicationScope: CoroutineScope,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogManager.kt28 import kotlinx.coroutines.CoroutineScope
43 private lateinit var coroutineScope: CoroutineScope
65 coroutineScope = CoroutineScope(bgDispatcher) in create()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/dagger/factory/
DKosmosVolumePanelComponentFactory.kt31 import kotlinx.coroutines.CoroutineScope
37 scope: CoroutineScope in create()
41 override fun coroutineScope(): CoroutineScope = kosmos.testScope.backgroundScope in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/dagger/factory/
DVolumePanelComponentFactory.kt22 import kotlinx.coroutines.CoroutineScope
32 @BindsInstance scope: CoroutineScope,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DCarrierConfigCoreStartable.kt22 import kotlinx.coroutines.CoroutineScope
33 @Application private val scope: CoroutineScope,
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/mediaoutput/data/repository/
DFakeLocalMediaRepositoryFactory.kt20 import kotlinx.coroutines.CoroutineScope
33 coroutineScope: CoroutineScope
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewControllerLegacy.kt58 import kotlinx.coroutines.CoroutineScope in <lambda>()
217 suspend fun listenForPrimaryBouncerToAodTransitions(scope: CoroutineScope): Job { in <lambda>()
235 suspend fun listenForDreamingToAodTransitions(scope: CoroutineScope): Job { in <lambda>()
248 suspend fun listenForAlternateBouncerToAodTransitions(scope: CoroutineScope): Job { in <lambda>()
262 suspend fun listenForAodToOccludedTransitions(scope: CoroutineScope): Job { in <lambda>()
275 suspend fun listenForOccludedToAodTransition(scope: CoroutineScope): Job { in <lambda>()
288 suspend fun listenForGoneToAodTransition(scope: CoroutineScope): Job { in <lambda>()
306 suspend fun listenForLockscreenAodTransitions(scope: CoroutineScope): Job { in <lambda>()
319 suspend fun listenForBouncerExpansion(scope: CoroutineScope): Job { in <lambda>()
337 suspend fun listenForAlternateBouncerVisibility(scope: CoroutineScope): Job { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSurfaceBehindViewBinder.kt22 import kotlinx.coroutines.CoroutineScope
33 scope: CoroutineScope in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/interactor/
DLocationTileUserActionInteractor.kt33 import kotlinx.coroutines.CoroutineScope
42 @Application private val applicationScope: CoroutineScope,
55 CoroutineScope(applicationScope.coroutineContext).launch { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DCommunalWidgetModule.kt36 import kotlinx.coroutines.CoroutineScope
54 @Background backgroundScope: CoroutineScope, in provideCommunalAppWidgetHost()
72 @Application applicationScope: CoroutineScope, in provideCommunalWidgetHost()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/di/
DQSTileComponent.kt22 import kotlinx.coroutines.CoroutineScope
43 @QSTileScope fun coroutineScope(): CoroutineScope

12345678910>>...18