Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/data/repository/
DSpatializerRepository.kt63 private val backgroundContext: CoroutineContext, in isHeadTrackingAvailableForDevice() constant in com.android.settingslib.media.data.repository.SpatializerRepositoryImpl
69 return withContext(backgroundContext) { spatializer.hasHeadTracker(audioDeviceAttributes) } in isHeadTrackingAvailableForDevice()
75 return withContext(backgroundContext) { in isHeadTrackingAvailableForDevice()
81 withContext(backgroundContext) { spatializer.compatibleAudioDevices } in isHeadTrackingAvailableForDevice()
86 withContext(backgroundContext) { in isHeadTrackingAvailableForDevice()
94 withContext(backgroundContext) { in isHeadTrackingAvailableForDevice()
102 withContext(backgroundContext) { spatializer.isHeadTrackerEnabled(audioDeviceAttributes) } in isHeadTrackingAvailableForDevice()
108 withContext(backgroundContext) { in isHeadTrackingAvailableForDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileRepository.kt106 @Background private val backgroundContext: CoroutineContext, in restoreForTheUserIfNeeded() constant in com.android.systemui.qs.tiles.impl.custom.data.repository.CustomTileRepositoryImpl
115 withContext(backgroundContext) { in restoreForTheUserIfNeeded()
164 withContext(backgroundContext) { in restoreForTheUserIfNeeded()
178 withContext(backgroundContext) { in restoreForTheUserIfNeeded()
206 withContext(backgroundContext) { in restoreForTheUserIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/dagger/
DSpatializerModule.kt46 @Background backgroundContext: CoroutineContext,
47 ): SpatializerRepository = SpatializerRepositoryImpl(spatializer, backgroundContext)
DMediaDevicesModule.kt59 @Background backgroundContext: CoroutineContext, in bindLocalMediaRepositoryFactory()
66 backgroundContext, in bindLocalMediaRepositoryFactory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileUserActionInteractor.kt47 @Background private val backgroundContext: CoroutineContext, in <lambda>() constant in com.android.systemui.qs.tiles.impl.saver.domain.interactor.DataSaverTileUserActionInteractor
69 withContext(backgroundContext) { in <lambda>()
82 backgroundContext, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileInteractor.kt50 @Background private val backgroundContext: CoroutineContext, constant in com.android.systemui.qs.tiles.impl.custom.domain.interactor.CustomTileInteractor
124 .flowOn(backgroundContext) in launchUpdates()
135 .flowOn(backgroundContext) in launchUpdates()
DCustomTileUserActionInteractor.kt60 @Background private val backgroundContext: CoroutineContext, constant in com.android.systemui.qs.tiles.impl.custom.domain.interactor.CustomTileUserActionInteractor
179 withContext(backgroundContext) { in resolveIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverDialogDelegate.kt34 private val backgroundContext: CoroutineContext, in <lambda>() constant in com.android.systemui.qs.tiles.impl.saver.domain.DataSaverDialogDelegate
47 CoroutineScope(backgroundContext).launch { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/
DUiModeNightTileUserActionInteractor.kt36 @Background private val backgroundContext: CoroutineContext, constant in com.android.systemui.qs.tiles.impl.uimodenight.domain.interactor.UiModeNightTileUserActionInteractor
46 withContext(backgroundContext) { in handleInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/data/repository/
DScreenBrightnessRepository.kt90 @Background private val backgroundContext: CoroutineContext, in getMinMaxLinearBrightness() constant in com.android.systemui.brightness.data.repository.ScreenBrightnessDisplayManagerRepository
99 applicationScope.launch(backgroundContext) { in getMinMaxLinearBrightness()
142 .flowOn(backgroundContext) in getMinMaxLinearBrightness()
150 return withContext(backgroundContext) { in getMinMaxLinearBrightness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/
DIconAndNameCustomRepository.kt39 @Background private val backgroundContext: CoroutineContext, constant in com.android.systemui.qs.panels.data.repository.IconAndNameCustomRepository
47 return withContext(backgroundContext) { in getCustomTileData()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DMediaControllerRepository.kt58 backgroundContext: CoroutineContext,
75 .flowOn(backgroundContext)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepository.kt65 @Background private val backgroundContext: CoroutineContext, in setIsAirplaneMode() constant in com.android.systemui.statusbar.pipeline.airplane.data.repository.AirplaneModeRepositoryImpl
100 withContext(backgroundContext) { connectivityManager.setAirplaneMode(isEnabled) } in setIsAirplaneMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTrackerImpl.kt77 private val backgroundContext: CoroutineDispatcher, in <lambda>() constant in com.android.systemui.settings.UserTrackerImpl
202 userSwitchingJob = appScope.launch(backgroundContext) { in <lambda>()
216 afterUserSwitchingJob = appScope.launch(backgroundContext) { in <lambda>()
256 val thresholdLogJob = launch(backgroundContext) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileUserActionInteractor.kt50 @Background private val backgroundContext: CoroutineContext, constant in com.android.systemui.qs.tiles.impl.screenrecord.domain.interactor.ScreenRecordTileUserActionInteractor
68 withContext(backgroundContext) { recordingController.cancelCountdown() } in handleInput()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileUserActionInteractorTest.kt87 backgroundContext = testDispatcher, in <lambda>()
DCustomTileInteractorTest.kt62 backgroundContext = testScope.testScheduler, in <lambda>()