Home
last modified time | relevance | path

Searched refs:mainDispatcher (Results 1 – 17 of 17) sorted by relevance

/packages/modules/IntentResolver/java/src/com/android/intentresolver/inject/
DConcurrencyModule.kt41 @Provides @Main fun mainDispatcher(): CoroutineDispatcher = Dispatchers.Main.immediate in mainDispatcher() method
47 fun mainCoroutineScope(@Main mainDispatcher: CoroutineDispatcher) = in mainDispatcher()
48 CoroutineScope(SupervisorJob() + mainDispatcher) in mainDispatcher()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DCoroutineTestRule.kt29 private val mainDispatcher = StandardTestDispatcher(scheduler) constant in com.android.healthconnect.controller.tests.utils.CoroutineTestRule
33 Dispatchers.setMain(mainDispatcher) in starting()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/searchapps/
DSearchHealthPermissionApps.kt29 constructor(@MainDispatcher private val mainDispatcher: CoroutineDispatcher) { in <lambda>() constant in com.android.healthconnect.controller.permissions.connectedapps.searchapps.SearchHealthPermissionApps
36 withContext(mainDispatcher) { in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/
DClockPickerRepositoryImpl.kt49 mainDispatcher: CoroutineDispatcher, in <lambda>()
75 .flowOn(mainDispatcher) in <lambda>()
118 .flowOn(mainDispatcher) in <lambda>()
DClockRegistryProvider.kt44 private val mainDispatcher: CoroutineDispatcher, constant in com.android.customization.picker.clock.data.repository.ClockRegistryProvider
52 mainDispatcher, in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/module/
DThemePickerInjector.kt94 @MainDispatcher private val mainDispatcher: CoroutineDispatcher, in <lambda>() constant in com.android.customization.module.ThemePickerInjector
336 mainDispatcher = mainDispatcher, in <lambda>()
354 mainDispatcher = mainDispatcher, in <lambda>()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewMediator.java134 @Main CoroutineDispatcher mainDispatcher, in CarKeyguardViewMediator()
159 mainDispatcher, in CarKeyguardViewMediator()
DCarKeyguardModule.java150 @Main CoroutineDispatcher mainDispatcher, in newKeyguardViewMediator()
198 mainDispatcher, in newKeyguardViewMediator()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/snackbar/
DSnackbarFeatureTest.kt100 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.snackbar.SnackbarFeatureTest
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/navigationbar/
DNavigationBarFeatureTest.kt104 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.navigationbar.NavigationBarFeatureTest
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/cloudmedia/
DCloudMediaFeatureTest.kt97 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.cloudmedia.CloudMediaFeatureTest
DMediaPreloaderTest.kt124 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.cloudmedia.MediaPreloaderTest
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/overflowmenu/
DOverflowMenuFeatureTest.kt101 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.overflowmenu.OverflowMenuFeatureTest
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/
DProfileSelectorFeatureTest.kt103 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.profileselector.ProfileSelectorFeatureTest
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/
DPhotoGridFeatureTest.kt113 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.photogrid.PhotoGridFeatureTest
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/selectionbar/
DSelectionBarFeatureTest.kt113 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.selectionbar.SelectionBarFeatureTest
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewFeatureTest.kt143 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher constant in com.android.photopicker.features.preview.PreviewFeatureTest