/frameworks/libs/systemui/tracinglib/core/common/src/coroutines/ |
D | CoroutineTracing.kt | 28 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/ |
D | SliderStateTrackerTest.kt | 23 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/ |
D | RunMonotonicClockTest.kt | 5 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/ |
D | QSTileCoroutineScopeFactory.kt | 21 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/ |
D | FakeCondition.java | 19 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/ |
D | MobileIconsViewModel.kt | 31 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>()
|
D | LocationBasedMobileViewModel.kt | 23 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/ |
D | LocalMediaRepositoryFactory.kt | 24 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/ |
D | DependencyProvider.kt | 24 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/ |
D | GlobalCoroutinesModule.kt | 28 import kotlinx.coroutines.CoroutineScope 40 ): CoroutineScope = CoroutineScope(dispatcherContext) in applicationScope()
|
D | SysUICoroutinesModule.kt | 27 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/ |
D | ShortcutHelperActivityStarter.kt | 27 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/ |
D | CoroutineTestScopeModule.kt | 27 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/ |
D | LowLightDreamModule.kt | 27 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/ |
D | KeyboardBacklightDialogCoordinator.kt | 27 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/ |
D | InternetDialogManager.kt | 28 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/ |
D | KosmosVolumePanelComponentFactory.kt | 31 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/ |
D | VolumePanelComponentFactory.kt | 22 import kotlinx.coroutines.CoroutineScope 32 @BindsInstance scope: CoroutineScope,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | CarrierConfigCoreStartable.kt | 22 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/ |
D | FakeLocalMediaRepositoryFactory.kt | 20 import kotlinx.coroutines.CoroutineScope 33 coroutineScope: CoroutineScope
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsKeyguardViewControllerLegacy.kt | 58 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/ |
D | KeyguardSurfaceBehindViewBinder.kt | 22 import kotlinx.coroutines.CoroutineScope 33 scope: CoroutineScope in bind()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/interactor/ |
D | LocationTileUserActionInteractor.kt | 33 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/ |
D | CommunalWidgetModule.kt | 36 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/ |
D | QSTileComponent.kt | 22 import kotlinx.coroutines.CoroutineScope 43 @QSTileScope fun coroutineScope(): CoroutineScope
|