Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
H A DClipboardImageLoaderTest.kt55 val testDispatcher = StandardTestDispatcher(this.testScheduler) regex
57 ClipboardImageLoader(mockContext, testDispatcher, CoroutineScope(testDispatcher))
71 val testDispatcher = StandardTestDispatcher(this.testScheduler) regex
73 ClipboardImageLoader(mockContext, testDispatcher, CoroutineScope(testDispatcher))
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
H A DUserSwitcherViewModelTest.kt87 private lateinit var testDispatcher: TestDispatcher
101 testDispatcher = UnconfinedTestDispatcher()
102 testScope = TestScope(testDispatcher)
129 mainDispatcher = testDispatcher,
136 mainDispatcher = testDispatcher,
137 backgroundDispatcher = testDispatcher,
174 backgroundDispatcher = testDispatcher,
217 val job = launch(testDispatcher) { underTest.users.toList(userViewModels) }
312 val job = launch(testDispatcher) { underTest.menu.toList(actions) }
374 val job = launch(testDispatcher) { underTest.users.toList(userViewModels) }
[all …]
H A DStatusBarUserChipViewModelTest.kt89 private val testDispatcher = UnconfinedTestDispatcher() regex
90 private val testScope = TestScope(testDispatcher)
113 mainDispatcher = testDispatcher,
120 mainDispatcher = testDispatcher,
121 backgroundDispatcher = testDispatcher,
265 backgroundDispatcher = testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
H A DMuteQuickAffordanceConfigTest.kt63 private lateinit var testDispatcher: TestDispatcher
70 testDispatcher = StandardTestDispatcher()
71 testScope = TestScope(testDispatcher)
84 testDispatcher,
85 testDispatcher,
H A DKeyguardQuickAffordanceLegacySettingSyncerTest.kt61 private lateinit var testDispatcher: TestDispatcher
79 testDispatcher = UnconfinedTestDispatcher()
80 testScope = TestScope(testDispatcher)
106 backgroundDispatcher = testDispatcher,
H A DCameraQuickAffordanceConfigTest.kt64 val testDispatcher = StandardTestDispatcher() regex
65 testScope = TestScope(testDispatcher)
73 testDispatcher,
H A DMuteQuickAffordanceCoreStartableTest.kt68 private lateinit var testDispatcher: TestDispatcher
83 testDispatcher = StandardTestDispatcher()
84 testScope = TestScope(testDispatcher)
92 testDispatcher,
H A DVideoCameraQuickAffordanceConfigTest.kt63 val testDispatcher = StandardTestDispatcher() regex
64 testScope = TestScope(testDispatcher)
73 backgroundDispatcher = testDispatcher,
H A DKeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt57 private lateinit var testDispatcher: TestDispatcher
104 testDispatcher = StandardTestDispatcher()
105 testScope = TestScope(testDispatcher)
H A DDoNotDisturbQuickAffordanceConfigTest.kt77 private lateinit var testDispatcher: TestDispatcher
84 testDispatcher = StandardTestDispatcher()
85 testScope = TestScope(testDispatcher)
95 testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/retail/data/repository/
H A DRetailModeSettingsRepositoryTest.kt41 private val testDispatcher = StandardTestDispatcher() regex
42 private val testScope = TestScope(testDispatcher)
47 backgroundDispatcher = testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
H A DTableLogBufferFactoryTest.kt35 private val testDispatcher = UnconfinedTestDispatcher() regex
36 private val testScope = TestScope(testDispatcher)
38 TableLogBufferFactory(dumpManager, systemClock, mock(), testDispatcher, testScope)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
H A DAutoAddableSettingTest.kt41 private val testDispatcher = StandardTestDispatcher() regex
42 private val testScope = TestScope(testDispatcher)
48 testDispatcher,
H A DSafetyCenterAutoAddableTest.kt56 private val testDispatcher = StandardTestDispatcher() regex
57 private val testScope = TestScope(testDispatcher)
84 testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DKeyguardTransitionInteractorTestCase.kt28 val testDispatcher = StandardTestDispatcher() regex
29 val testScope = TestScope(testDispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/data/repository/
H A DAutoAddSettingsRepositoryTest.kt41 private val testDispatcher = StandardTestDispatcher() regex
42 private val testScope = TestScope(testDispatcher)
51 testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
H A DWifiRepositorySwitcherTest.kt73 private val testDispatcher = UnconfinedTestDispatcher() regex
74 private val testScope = TestScope(testDispatcher)
91 testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/demomode/
H A DDemoModeControllerTest.kt53 private val testDispatcher = UnconfinedTestDispatcher() regex
54 private val testScope = TestScope(testDispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/data/repository/
H A DShadeInteractorTest.kt65 private val testDispatcher = StandardTestDispatcher() regex
66 private val testScope = TestScope(testDispatcher)
94 mainDispatcher = testDispatcher,
132 backgroundDispatcher = testDispatcher,
H A DShadeRepositoryImplTest.kt51 private val testDispatcher = StandardTestDispatcher() regex
52 private val testScope = TestScope(testDispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
H A DKeyguardRootViewModelTest.kt53 val testDispatcher = StandardTestDispatcher() regex
54 testScope = TestScope(testDispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DKeyguardBlueprintRepositoryTest.kt46 private val testDispatcher = StandardTestDispatcher() regex
47 private val testScope = TestScope(testDispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/
H A DSceneTestUtils.kt63 val testDispatcher = StandardTestDispatcher() regex
64 val testScope = TestScope(testDispatcher)
143 backgroundDispatcher = testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DResourceTrimmerTest.kt41 private val testDispatcher = UnconfinedTestDispatcher() regex
42 private val testScope = TestScope(testDispatcher)
78 testDispatcher,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DFullMobileConnectionRepositoryTest.kt74 private val testDispatcher = UnconfinedTestDispatcher() regex
75 private val testScope = TestScope(testDispatcher)
82 testDispatcher,
367 testDispatcher,
411 testDispatcher,
689 testDispatcher,

123