Home
last modified time | relevance | path

Searched refs:testDispatcher (Results 1 – 25 of 190) sorted by relevance

12345678

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DClipboardImageLoaderTest.kt55 val testDispatcher = StandardTestDispatcher(this.testScheduler) in <lambda>() constant
57 ClipboardImageLoader(mockContext, testDispatcher, CoroutineScope(testDispatcher)) in <lambda>()
71 val testDispatcher = StandardTestDispatcher(this.testScheduler) in <lambda>() constant
73 ClipboardImageLoader(mockContext, testDispatcher, CoroutineScope(testDispatcher)) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
DUserSwitcherViewModelTest.kt90 private lateinit var testDispatcher: TestDispatcher in <lambda>() variable in com.android.systemui.user.ui.viewmodel.UserSwitcherViewModelTest
104 testDispatcher = UnconfinedTestDispatcher() in <lambda>()
105 testScope = TestScope(testDispatcher) in <lambda>()
132 mainDispatcher = testDispatcher, in <lambda>()
139 mainDispatcher = testDispatcher, in <lambda>()
140 backgroundDispatcher = testDispatcher, in <lambda>()
173 backgroundDispatcher = testDispatcher, in <lambda>()
174 mainDispatcher = testDispatcher, in <lambda>()
219 val job = launch(testDispatcher) { underTest.users.toList(userViewModels) } in <lambda>()
248 val job = launch(testDispatcher) { underTest.maximumUserColumns.toList(values) } in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/mediaprojection/taskswitcher/
DTaskSwitcherKosmos.kt21 import com.android.systemui.kosmos.testDispatcher
38 backgroundDispatcher = testDispatcher in <lambda>()
48 Kosmos.Fixture { TaskSwitcherNotificationViewModel(taskSwitcherInteractor, testDispatcher) } in <lambda>()
51 fun taskSwitcherKosmos() = Kosmos().apply { testDispatcher = UnconfinedTestDispatcher() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ui/
DSystemBarUtilsStateKosmos.kt21 import com.android.systemui.kosmos.testDispatcher
26 testDispatcher, in <lambda>()
27 testDispatcher, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/
DFromDreamingLockscreenHostedTransitionInteractorKosmos.kt22 import com.android.systemui.kosmos.testDispatcher
32 bgDispatcher = testDispatcher, in <lambda>()
33 mainDispatcher = testDispatcher, in <lambda>()
DFromGlanceableHubTransitionInteractorKosmos.kt22 import com.android.systemui.kosmos.testDispatcher
32 bgDispatcher = testDispatcher, in <lambda>()
33 mainDispatcher = testDispatcher, in <lambda>()
DFromDreamingTransitionInteractorKosmos.kt22 import com.android.systemui.kosmos.testDispatcher
32 bgDispatcher = testDispatcher, in <lambda>()
33 mainDispatcher = testDispatcher, in <lambda>()
DFromOccludedTransitionInteractorKosmos.kt23 import com.android.systemui.kosmos.testDispatcher
33 bgDispatcher = testDispatcher, in <lambda>()
34 mainDispatcher = testDispatcher, in <lambda>()
DFromAodTransitionInteractorKosmos.kt23 import com.android.systemui.kosmos.testDispatcher
33 bgDispatcher = testDispatcher, in <lambda>()
34 mainDispatcher = testDispatcher, in <lambda>()
DFromLockscreenTransitionInteractorKosmos.kt22 import com.android.systemui.kosmos.testDispatcher
33 bgDispatcher = testDispatcher, in <lambda>()
34 mainDispatcher = testDispatcher, in <lambda>()
DFromDozingTransitionInteractorKosmos.kt24 import com.android.systemui.kosmos.testDispatcher
34 bgDispatcher = testDispatcher, in <lambda>()
35 mainDispatcher = testDispatcher, in <lambda>()
DFromAlternateBouncerTransitionInteractorKosmos.kt24 import com.android.systemui.kosmos.testDispatcher
36 bgDispatcher = testDispatcher, in <lambda>()
37 mainDispatcher = testDispatcher, in <lambda>()
DFromPrimaryBouncerTransitionInteractorKosmos.kt24 import com.android.systemui.kosmos.testDispatcher
35 bgDispatcher = testDispatcher, in <lambda>()
36 mainDispatcher = testDispatcher, in <lambda>()
DFromGoneTransitionInteractorKosmos.kt25 import com.android.systemui.kosmos.testDispatcher
35 bgDispatcher = testDispatcher, in <lambda>()
36 mainDispatcher = testDispatcher, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractorKosmos.kt27 import com.android.systemui.kosmos.testDispatcher
36 mainDispatcher = testDispatcher, in <lambda>()
37 backgroundDispatcher = testDispatcher, in <lambda>()
DUserSwitcherInteractorKosmos.kt29 import com.android.systemui.kosmos.testDispatcher
50 backgroundDispatcher = testDispatcher, in <lambda>()
51 mainDispatcher = testDispatcher, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DAccessibilityQsShortcutsRepositoryImplTest.kt46 private val testDispatcher = StandardTestDispatcher() constant in com.android.systemui.accessibility.data.repository.AccessibilityQsShortcutsRepositoryImplTest
47 private val testScope = TestScope(testDispatcher)
57 testDispatcher, in create()
70 testDispatcher in setUp()
DUserA11yQsShortcutsRepositoryTest.kt37 private val testDispatcher = StandardTestDispatcher() constant
38 private val testScope = TestScope(testDispatcher)
45 testDispatcher
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DMuteQuickAffordanceConfigTest.kt61 private lateinit var testDispatcher: TestDispatcher variable in com.android.systemui.keyguard.data.quickaffordance.MuteQuickAffordanceConfigTest
68 testDispatcher = StandardTestDispatcher() in setUp()
69 testScope = TestScope(testDispatcher) in setUp()
82 testDispatcher, in setUp()
83 testDispatcher, in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/preview/
DKeyguardRemotePreviewManagerTest.kt19 private val testDispatcher = StandardTestDispatcher() constant
20 private val testScope = TestScope(testDispatcher)
28 val observer = PreviewLifecycleObserver(this, testDispatcher, renderer, onDestroy) in onDestroy_clearsReferencesToRenderer()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractorKosmos.kt24 import com.android.systemui.kosmos.testDispatcher
34 bgContext = testDispatcher, in <lambda>()
42 bgContext = testDispatcher, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractorKosmos.kt21 import com.android.systemui.kosmos.testDispatcher
50 testDispatcher, in <lambda>()
51 testDispatcher, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/domain/interactor/
DActiveNotificationsInteractorKosmos.kt20 import com.android.systemui.kosmos.testDispatcher
25 ActiveNotificationsInteractor(activeNotificationListRepository, testDispatcher) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepositoryKosmos.kt20 import com.android.systemui.kosmos.testDispatcher
26 Kosmos.Fixture { KeyguardTransitionRepositoryImpl(testDispatcher) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/controls/panels/
DSelectedComponentRepositoryKosmos.kt20 import com.android.systemui.kosmos.testDispatcher
26 SelectedComponentRepositoryImpl(fakeUserFileManager, fakeUserTracker, testDispatcher) in <lambda>()

12345678