Home
last modified time | relevance | path

Searched refs:bgDispatcher (Results 1 – 25 of 27) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/footer/
H A DFooterActionsTestUtils.kt110 bgDispatcher: CoroutineDispatcher = StandardTestDispatcher(scheduler),
124 bgDispatcher,
131 bgDispatcher: CoroutineDispatcher = StandardTestDispatcher(scheduler),
135 bgDispatcher,
150 bgDispatcher: CoroutineDispatcher = StandardTestDispatcher(scheduler),
160 bgDispatcher,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
H A DAutoAddRepository.kt60 @Background private val bgDispatcher: CoroutineDispatcher,
81 .flowOn(bgDispatcher)
109 withContext(bgDispatcher) {
122 return withContext(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/data/repository/
H A DUserSwitcherRepository.kt59 @Background private val bgDispatcher: CoroutineDispatcher,
137 return withContext(bgDispatcher) {
143 return withContext(bgDispatcher) { userSwitcherController.currentUserName }
147 return withContext(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
H A DNoteTaskBubblesController.kt51 @Background private val bgDispatcher: CoroutineDispatcher
65 withContext(bgDispatcher) {
84 withContext(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/repository/
H A DSecurityRepository.kt41 @Background private val bgDispatcher: CoroutineDispatcher,
45 trySendWithFailureLogging(SecurityModel.create(securityController, bgDispatcher), TAG)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DResourceTrimmer.kt58 @Background private val bgDispatcher: CoroutineDispatcher,
65 applicationScope.launch(bgDispatcher) {
83 applicationScope.launch(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
H A DClockRegistry.kt112 val bgDispatcher: CoroutineDispatcher,
142 scope.launch(bgDispatcher) { querySettings() }
311 scope.launch(bgDispatcher) { querySettings() }
423 withContext(bgDispatcher) { applySettings(mutator(settings ?: ClockSettings())) }
429 scope.launch(bgDispatcher) { mutateSetting { it.copy(clockId = value) } }
435 scope.launch(bgDispatcher) { mutateSetting { it.copy(seedColor = value) } }
477 scope.launch(bgDispatcher) { querySettings() }
524 scope.launch(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A DClipboardImageLoader.kt39 @Background private val bgDispatcher: CoroutineDispatcher,
46 withContext(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/
H A DTableLogBufferFactory.kt37 @Background private val bgDispatcher: CoroutineDispatcher,
61 bgDispatcher,
H A DTableLogBuffer.kt85 @Background private val bgDispatcher: CoroutineDispatcher,
124 coroutineScope.launch(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
H A DWifiRepositoryImpl.kt88 @Background private val bgDispatcher: CoroutineDispatcher,
135 withContext(bgDispatcher) { wifiManager.isWifiEnabled }
239 bgDispatcher,
308 @Background private val bgDispatcher: CoroutineDispatcher,
319 bgDispatcher,
H A DWifiRepositoryViaTrackerLib.kt79 @Background private val bgDispatcher: CoroutineDispatcher,
311 bgDispatcher,
363 @Background private val bgDispatcher: CoroutineDispatcher,
373 bgDispatcher,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/model/
H A DSecurityModel.kt48 @Background bgDispatcher: CoroutineDispatcher,
50 return withContext(bgDispatcher) { create(securityController) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
H A DUserSetupRepository.kt52 @Background private val bgDispatcher: CoroutineDispatcher,
74 withContext(bgDispatcher) { deviceProvisionedController.isCurrentUserSetup }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/bluetooth/
H A DBluetoothRepository.kt55 @Background private val bgDispatcher: CoroutineDispatcher,
71 return withContext(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotPolicyImpl.kt54 @Background val bgDispatcher: CoroutineDispatcher,
72 val managed = withContext(bgDispatcher) { userMgr.isManagedProfile(userId) }
142 withContext(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/
H A DClockRegistryModule.java53 @Background CoroutineDispatcher bgDispatcher, in getClockRegistry() argument
63 bgDispatcher, in getClockRegistry()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/autoaddable/
H A DAutoAddableSetting.kt46 @Background private val bgDispatcher: CoroutineDispatcher,
59 .flowOn(bgDispatcher)
H A DSafetyCenterAutoAddable.kt52 @Background private val bgDispatcher: CoroutineDispatcher,
61 withContext(bgDispatcher) { packageManager.permissionControllerPackageName }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DMobileConnectionsRepositoryImpl.kt89 @Background private val bgDispatcher: CoroutineDispatcher,
147 bgDispatcher.asExecutor(),
184 telephonyManager.registerTelephonyCallback(bgDispatcher.asExecutor(), callback)
316 .flowOn(bgDispatcher)
376 withContext(bgDispatcher) { subscriptionManager.completeActiveSubscriptionInfoList }
H A DMobileConnectionRepositoryImpl.kt99 bgDispatcher: CoroutineDispatcher,
184 telephonyManager.registerTelephonyCallback(bgDispatcher.asExecutor(), callback)
393 @Background private val bgDispatcher: CoroutineDispatcher,
413 bgDispatcher,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
H A DPromptCredentialInteractor.kt55 @Background private val bgDispatcher: CoroutineDispatcher,
149 withContext(bgDispatcher) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/domain/interactor/
H A DFooterActionsInteractor.kt110 @Background bgDispatcher: CoroutineDispatcher,
114 withContext(bgDispatcher) { qsSecurityFooterUtils.getButtonConfig(security) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
H A DCoroutinesModule.kt40 fun bgDispatcher(): CoroutineDispatcher = Dispatchers.IO regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DKeyguardCoordinator.kt78 @Background private val bgDispatcher: CoroutineDispatcher,
282 .flowOn(bgDispatcher)

12