Home
last modified time | relevance | path

Searched refs:setMain (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/AvatarPicker/src/tests/unit/java/com/android/avatarpicker/tests/unit/viewmodel/
DDetailsViewModelTest.kt35 import kotlinx.coroutines.test.setMain
61 Dispatchers.setMain(testDispatcher) in testNoIllustrations()
87 Dispatchers.setMain(testDispatcher) in <lambda>()
113 Dispatchers.setMain(testDispatcher) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DCoroutineTestRule.kt21 import kotlinx.coroutines.test.setMain
33 Dispatchers.setMain(mainDispatcher) in starting()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/data/repository/
DKeyguardQuickAffordancePickerRepositoryTest.kt29 import kotlinx.coroutines.test.setMain
51 Dispatchers.setMain(coroutineDispatcher) in setUp()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/
DImportStatusViewModelTest.kt33 import kotlinx.coroutines.test.setMain
54 Dispatchers.setMain(testDispatcher) in setup()
DExportStatusViewModelTest.kt34 import kotlinx.coroutines.test.setMain
58 Dispatchers.setMain(testDispatcher) in setup()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/notifications/ui/viewmodel/
DNotificationSectionViewModelTest.kt34 import kotlinx.coroutines.test.setMain
56 Dispatchers.setMain(testDispatcher) in setUp()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DCategoriesViewModelTest.kt35 import kotlinx.coroutines.test.setMain
62 Dispatchers.setMain(testDispatcher) in setUp()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/domain/interactor/
DClockPickerInteractorTest.kt15 import kotlinx.coroutines.test.setMain
32 Dispatchers.setMain(testDispatcher) in setUp()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DAccessViewModelTest.kt23 import kotlinx.coroutines.test.setMain
46 Dispatchers.setMain(testDispatcher) in setup()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/domain/interactor/
DPreviewActionsInteractorTest.kt40 import kotlinx.coroutines.test.setMain
71 Dispatchers.setMain(testDispatcher) in setUp()
DWallpaperPreviewInteractorTest.kt50 import kotlinx.coroutines.test.setMain
80 Dispatchers.setMain(testDispatcher) in setUp()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/
DDeletionViewModelTest.kt33 import kotlinx.coroutines.test.setMain
58 Dispatchers.setMain(testDispatcher) in setup()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DEnterTransitionAnimationDelegateTest.kt30 import kotlinx.coroutines.test.setMain
70 Dispatchers.setMain(dispatcher) in setup()
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/enrollment/modules/enrolling/rfps/viewmodel/
DRFPSIconTouchViewModelTest.kt29 import kotlinx.coroutines.test.setMain
50 Dispatchers.setMain(backgroundDispatcher) in setup()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/util/
DWallpaperParserImplTest.kt33 import kotlinx.coroutines.test.setMain
60 Dispatchers.setMain(testDispatcher) in setup()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/settings/ui/viewmodel/
DColorContrastSectionViewModelTest.kt34 import kotlinx.coroutines.test.setMain
57 Dispatchers.setMain(testDispatcher) in setUp()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/
DClockCarouselViewModelTest.kt39 import kotlinx.coroutines.test.setMain
74 Dispatchers.setMain(testDispatcher) in setUp()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/domain/interactor/
DKeyguardQuickAffordancePickerInteractorTest.kt37 import kotlinx.coroutines.test.setMain
58 Dispatchers.setMain(testDispatcher) in setUp()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/notifications/domain/interactor/
DNotificationsSnapshotRestorerTest.kt34 import kotlinx.coroutines.test.setMain
54 Dispatchers.setMain(testDispatcher) in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/enrollment/viewmodel/
DFingerprintEnrollEnrollingViewModelTest.kt42 import kotlinx.coroutines.test.setMain
101 Dispatchers.setMain(backgroundDispatcher) in setup()
DFingerprintEnrollConfirmationViewModelTest.kt41 import kotlinx.coroutines.test.setMain
64 Dispatchers.setMain(backgroundDispatcher) in setup()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/category/data/
DDefaultWallpaperCategoryClientTest.kt40 import kotlinx.coroutines.test.setMain
66 Dispatchers.setMain(testDispatcher) in setup()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DEntriesViewModelTest.kt39 import kotlinx.coroutines.test.setMain
100 Dispatchers.setMain(testDispatcher) in formattedAggregation()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppsViewModelTest.kt39 import kotlinx.coroutines.test.setMain
63 Dispatchers.setMain(testDispatcher) in setup()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/
DDataSourcesViewModelTest.kt31 import kotlinx.coroutines.test.setMain
71 Dispatchers.setMain(testDispatcher) in formattedAggregation()

12