Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
H A DRefreshUsersScheduler.kt37 @Main private val mainDispatcher: CoroutineDispatcher,
44 applicationScope.launch(mainDispatcher) {
56 applicationScope.launch(mainDispatcher) {
63 applicationScope.launch(mainDispatcher) {
H A DGuestUserInteractor.kt55 @Main private val mainDispatcher: CoroutineDispatcher,
272 return withContext(mainDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
H A DRefreshUsersSchedulerTest.kt53 mainDispatcher = IMMEDIATE,
68 mainDispatcher = IMMEDIATE,
84 mainDispatcher = IMMEDIATE,
H A DGuestUserInteractorTest.kt81 mainDispatcher = IMMEDIATE,
90 mainDispatcher = IMMEDIATE,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
H A DKeyguardRemotePreviewManager.kt44 @Main private val mainDispatcher: CoroutineDispatcher,
65 mainDispatcher,
105 private val mainDispatcher: CoroutineDispatcher,
145 scope.launch(mainDispatcher) { renderer.destroy() }
H A DKeyguardPreviewRenderer.kt81 @Main private val mainDispatcher: CoroutineDispatcher,
149 runBlocking(mainDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
H A DSystemUIKeyguardFaceAuthInteractor.kt65 @Main private val mainDispatcher: CoroutineDispatcher,
222 withContext(mainDispatcher) {
241 .flowOn(mainDispatcher)
247 .flowOn(mainDispatcher)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/
H A DClockRegistryModule.java52 @Main CoroutineDispatcher mainDispatcher, in getClockRegistry() argument
62 mainDispatcher, in getClockRegistry()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/
H A DTaskSwitcherNotificationCoordinator.kt46 @Main private val mainDispatcher: CoroutineDispatcher,
51 viewModel.uiState.flowOn(mainDispatcher).collect { uiState ->
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DCustomizationProvider.kt48 @Inject @Main lateinit var mainDispatcher: CoroutineDispatcher
135 return runBlocking(mainDispatcher) { insertSelection(values) }
145 return runBlocking(mainDispatcher) {
175 return runBlocking(mainDispatcher) { deleteSelection(uri, selectionArgs) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DActionIntentExecutor.kt50 @Main private val mainDispatcher: CoroutineDispatcher,
78 withContext(mainDispatcher) { context.startActivity(intent, options) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
H A DUserRepository.kt124 @Main private val mainDispatcher: CoroutineDispatcher,
211 tracker.addCallback(callback, mainDispatcher.asExecutor())
274 tracker.addCallback(callback, mainDispatcher.asExecutor())
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
H A DMuteQuickAffordanceConfig.kt60 @Main private val mainDispatcher: CoroutineDispatcher,
157 .flowOn(mainDispatcher)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
H A DCoroutinesModule.kt26 fun mainDispatcher(): CoroutineDispatcher = Dispatchers.Main.immediate regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
H A DNotificationMemoryLogger.kt44 @Main private val mainDispatcher: CoroutineDispatcher,
144 runBlocking(mainDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/dagger/
H A DKeyguardModule.java145 @Main CoroutineDispatcher mainDispatcher, in newKeyguardViewMediator()
188 mainDispatcher, in newKeyguardViewMediator()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
H A DStatusBarUserChipViewModelTest.kt113 mainDispatcher = testDispatcher,
120 mainDispatcher = testDispatcher,
H A DUserSwitcherViewModelTest.kt129 mainDispatcher = testDispatcher,
136 mainDispatcher = testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
H A DClockRegistry.kt111 val mainDispatcher: CoroutineDispatcher,
401 scope.launch(mainDispatcher) {
415 scope.launch(mainDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
H A DDeviceEntryFaceAuthRepository.kt147 @Main private val mainDispatcher: CoroutineDispatcher,
530 withContext(mainDispatcher) {
575 withContext(mainDispatcher) {
H A DKeyguardRepository.kt260 @Main private val mainDispatcher: CoroutineDispatcher,
467 .flowOn(mainDispatcher)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
H A DCurrentTilesInteractor.kt136 @Main private val mainDispatcher: CoroutineDispatcher,
331 val tile = withContext(mainDispatcher) { tileFactory.createTile(spec.spec) }
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DKeyguardRepositoryImplTest.kt87 private val mainDispatcher = StandardTestDispatcher() regex
111 mainDispatcher,
475 TestScope(mainDispatcher).runTest {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DCustomizationProviderTest.kt211 mainDispatcher = testDispatcher,
214 underTest.mainDispatcher = UnconfinedTestDispatcher()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
H A DUserRepositoryImplTest.kt363 mainDispatcher = IMMEDIATE,

12