Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
H A DCollections.kt21 import kotlinx.coroutines.coroutineScope
28 coroutineScope {
40 coroutineScope {
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
H A DRetryRequestWorker.kt26 import kotlinx.coroutines.coroutineScope
41 override suspend fun doWork() = coroutineScope {
43 return@coroutineScope Result.success()
H A DSingleV2RequestWorker.kt25 import kotlinx.coroutines.coroutineScope
53 override suspend fun doWork() = coroutineScope {
55 return@coroutineScope Result.success()
H A DSingleV1RequestWorker.kt26 import kotlinx.coroutines.coroutineScope
55 override suspend fun doWork() = coroutineScope {
57 return@coroutineScope Result.success()
H A DCollectV1Worker.kt26 import kotlinx.coroutines.coroutineScope
51 override suspend fun doWork() = coroutineScope {
65 return@coroutineScope Result.success()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
H A DMuteQuickAffordanceCoreStartable.kt47 @Application private val coroutineScope: CoroutineScope,
70 .launchIn(coroutineScope)
74 coroutineScope.launch(backgroundDispatcher) {
H A DMuteQuickAffordanceConfig.kt59 @Application private val coroutineScope: CoroutineScope,
106 coroutineScope.launch(backgroundDispatcher) {
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
H A DAppListRepository.kt29 import kotlinx.coroutines.coroutineScope
76 ): List<ApplicationInfo> = coroutineScope {
107 coroutineScope {
146 override suspend fun loadAndFilterApps(userId: Int, isSystemApp: Boolean) = coroutineScope {
174 return coroutineScope {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
H A DSuspend.kt20 import kotlinx.coroutines.coroutineScope
27 suspend fun <R> race(vararg blocks: suspend () -> R): R = coroutineScope {
H A DFlow.kt25 import kotlinx.coroutines.coroutineScope
153 coroutineScope {
235 coroutineScope {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/binder/
H A DInternetTileBinder.kt20 import androidx.lifecycle.coroutineScope
36 lifecycle.coroutineScope.launch {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
H A DSystemStatusAnimationSchedulerImpl.kt71 @Application private val coroutineScope: CoroutineScope,
108 coroutineScope.launch {
125 coroutineScope.launch {
224 coroutineScope.launch {
255 coroutineScope.launch {
H A DStatusBarEventsModule.kt55 @Application coroutineScope: CoroutineScope,
66 coroutineScope,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
H A DCollapsedStatusBarViewModel.kt58 @Application coroutineScope: CoroutineScope,
66 .stateIn(coroutineScope, SharingStarted.WhileSubscribed(), initialValue = false)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/
H A DTableLogBufferFactory.kt38 @Application private val coroutineScope: CoroutineScope,
62 coroutineScope,
H A DTableLogBuffer.kt86 private val coroutineScope: CoroutineScope,
124 coroutineScope.launch(bgDispatcher) {
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
H A DSettingsPager.kt43 val coroutineScope = rememberCoroutineScope() regex
59 coroutineScope.launch {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DKeyguardCoordinator.kt55 import kotlinx.coroutines.coroutineScope
155 ) = coroutineScope {
180 ) = coroutineScope {
208 suspend fun trackNewUnseenNotifs(): Nothing = coroutineScope {
233 coroutineScope {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
H A DPromptViewModel.kt38 import kotlinx.coroutines.coroutineScope
279 ) = coroutineScope {
281 return@coroutineScope
289 return@coroutineScope
369 ) = coroutineScope {
371 return@coroutineScope
/aosp14/frameworks/base/libs/dream/lowlight/src/com/android/dream/lowlight/
H A DLowLightDreamManager.kt43 @Application private val coroutineScope: CoroutineScope,
99 mTransitionJob = coroutineScope.launch {
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
H A DPinInputDisplay.kt62 import kotlinx.coroutines.coroutineScope
289 suspend fun playClearAllAnimation() = coroutineScope {
341 suspend fun animateAppearance() = coroutineScope {
351 suspend fun animateRemoval() = coroutineScope {
359 suspend fun animateClearAllCollapse() = coroutineScope {
H A DPatternBouncer.kt53 import kotlinx.coroutines.coroutineScope
324 coroutineScope {
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleDataRepository.kt49 private val coroutineScope = CoroutineScope(Dispatchers.IO + SupervisorJob()) regex
176 job = coroutineScope.launch {
197 ) = coroutineScope.launch {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
H A DAutoAddInteractor.kt34 import kotlinx.coroutines.coroutineScope
69 coroutineScope {
/aosp14/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/
H A DLowLightDreamManagerTest.kt72 coroutineScope = testScope,
121 coroutineScope = testScope,

12