/packages/apps/AvatarPicker/src/tests/unit/java/com/android/avatarpicker/tests/unit/viewmodel/ |
D | DetailsViewModelTest.kt | 60 val testDispatcher = UnconfinedTestDispatcher(testScheduler) in testNoIllustrations() constant 61 Dispatchers.setMain(testDispatcher) in testNoIllustrations() 71 testDispatcher in testNoIllustrations() 86 val testDispatcher = UnconfinedTestDispatcher(testScheduler) in <lambda>() constant 87 Dispatchers.setMain(testDispatcher) in <lambda>() 96 testDispatcher in <lambda>() 112 val testDispatcher = UnconfinedTestDispatcher(testScheduler) in <lambda>() constant 113 Dispatchers.setMain(testDispatcher) in <lambda>() 122 testDispatcher in <lambda>()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/data/repository/ |
D | WallpaperPreviewRepositoryTest.kt | 58 private lateinit var testDispatcher: CoroutineDispatcher variable in com.android.wallpaper.picker.preview.data.repository.WallpaperPreviewRepositoryTest 66 testDispatcher = StandardTestDispatcher() in setUp() 67 testScope = TestScope(testDispatcher) in setUp() 77 bgDispatcher = testDispatcher, in setWallpaperModel() 100 bgDispatcher = testDispatcher, in dismissSmallTooltip() 121 bgDispatcher = testDispatcher, in dismissFullTooltip() 144 bgDispatcher = testDispatcher, in downloadWallpaper_fails() 171 bgDispatcher = testDispatcher, in downloadWallpaper_succeeds()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/notifications/ui/viewmodel/ |
D | NotificationSectionViewModelTest.kt | 55 val testDispatcher = UnconfinedTestDispatcher() in setUp() constant 56 Dispatchers.setMain(testDispatcher) in setUp() 57 testScope = TestScope(testDispatcher) in setUp() 63 backgroundDispatcher = testDispatcher, in setUp()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/domain/interactor/ |
D | PreviewActionsInteractorTest.kt | 59 @Inject lateinit var testDispatcher: TestDispatcher variable in com.android.wallpaper.picker.preview.domain.interactor.PreviewActionsInteractorTest 71 Dispatchers.setMain(testDispatcher) in setUp() 77 testDispatcher in setUp() 79 creativeEffectsRepository = CreativeEffectsRepository(appContext, testDispatcher) in setUp()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockCarouselViewModelTest.kt | 65 private lateinit var testDispatcher: CoroutineDispatcher variable in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselViewModelTest 72 testDispatcher = StandardTestDispatcher() in setUp() 74 Dispatchers.setMain(testDispatcher) in setUp() 87 backgroundDispatcher = testDispatcher, in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/notifications/domain/interactor/ |
D | NotificationsSnapshotRestorerTest.kt | 53 val testDispatcher = StandardTestDispatcher() in setUp() constant 54 Dispatchers.setMain(testDispatcher) in setUp() 55 testScope = TestScope(testDispatcher) in setUp() 62 backgroundDispatcher = testDispatcher, in setUp()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/mode/ |
D | DarkModeSnapshotRestorerTest.kt | 44 val testDispatcher = StandardTestDispatcher() in setUp() constant 45 testScope = TestScope(testDispatcher) in setUp() 48 backgroundDispatcher = testDispatcher, in setUp()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/ |
D | AccessViewModelTest.kt | 39 private val testDispatcher = TestCoroutineDispatcher() constant in com.android.healthconnect.controller.tests.data.access.AccessViewModelTest 46 Dispatchers.setMain(testDispatcher) in setup() 54 testDispatcher.cleanupTestCoroutines() in tearDown()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/ |
D | DeletionViewModelTest.kt | 48 private val testDispatcher = TestCoroutineDispatcher() constant 58 Dispatchers.setMain(testDispatcher) in setup() 65 testDispatcher.cleanupTestCoroutines() in tearDown()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/ui/viewmodel/ |
D | WallpaperQuickSwitchViewModelTest.kt | 58 val testDispatcher = StandardTestDispatcher() in <lambda>() constant 59 Dispatchers.setMain(testDispatcher) in <lambda>() 60 testScope = TestScope(testDispatcher) in <lambda>() 68 backgroundDispatcher = testDispatcher, in <lambda>()
|
D | CustomizationPickerViewModelTest.kt | 56 val testDispatcher = StandardTestDispatcher() in setUp() constant 57 testScope = TestScope(testDispatcher) in setUp() 72 backgroundDispatcher = testDispatcher, in setUp()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/snackbar/ |
D | SnackbarFeatureTest.kt | 93 val testDispatcher = StandardTestDispatcher() constant 96 @BindValue @Main val mainScope: TestScope = TestScope(testDispatcher) 100 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher 101 @BindValue @Background val backgroundDispatcher: CoroutineDispatcher = testDispatcher
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/domain/interactor/ |
D | KeyguardQuickAffordancePickerInteractorTest.kt | 56 val testDispatcher = StandardTestDispatcher() in setUp() constant 57 testScope = TestScope(testDispatcher) in setUp() 58 Dispatchers.setMain(testDispatcher) in setUp()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/navigationbar/ |
D | NavigationBarFeatureTest.kt | 94 val testDispatcher = StandardTestDispatcher() constant in com.android.photopicker.features.navigationbar.NavigationBarFeatureTest 97 @BindValue @Main val mainScope: TestScope = TestScope(testDispatcher) 104 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher 105 @BindValue @Background val backgroundDispatcher: CoroutineDispatcher = testDispatcher
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/cloudmedia/ |
D | CloudMediaFeatureTest.kt | 90 val testDispatcher = StandardTestDispatcher() constant in com.android.photopicker.features.cloudmedia.CloudMediaFeatureTest 93 @BindValue @Main val mainScope: TestScope = TestScope(testDispatcher) 97 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher 98 @BindValue @Background val backgroundDispatcher: CoroutineDispatcher = testDispatcher
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperSnapshotRestorerTest.kt | 53 val testDispatcher = StandardTestDispatcher() in <lambda>() constant 54 testScope = TestScope(testDispatcher) in <lambda>() 78 backgroundDispatcher = testDispatcher, in <lambda>()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/overflowmenu/ |
D | OverflowMenuFeatureTest.kt | 94 val testDispatcher = StandardTestDispatcher() constant in com.android.photopicker.features.overflowmenu.OverflowMenuFeatureTest 97 @BindValue @Main val mainScope: TestScope = TestScope(testDispatcher) 101 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher 102 @BindValue @Background val backgroundDispatcher: CoroutineDispatcher = testDispatcher
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appcompat/ |
D | UserAspectRatioAppsPageProviderTest.kt | 52 private val testDispatcher = StandardTestDispatcher() constant in com.android.settings.spa.app.appcompat.UserAspectRatioAppsPageProviderTest 53 private val testScope = TestScope(testDispatcher) 165 val listModel = UserAspectRatioAppListModel(context, testDispatcher) in setSummary()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/ |
D | EntriesViewModelTest.kt | 87 private val testDispatcher = TestCoroutineDispatcher() in formattedAggregation() constant in com.android.healthconnect.controller.tests.data.entries.EntriesViewModelTest 100 Dispatchers.setMain(testDispatcher) in formattedAggregation() 112 testDispatcher.cleanupTestCoroutines() in tearDown()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | StaticWallpaperPreviewViewModelTest.kt | 75 private val testDispatcher: TestDispatcher = UnconfinedTestDispatcher() constant in com.android.wallpaper.picker.preview.ui.viewmodel.StaticWallpaperPreviewViewModelTest 76 private val testScope: TestScope = TestScope(testDispatcher) 95 Dispatchers.setMain(testDispatcher) in setUp() 113 testDispatcher, in setEverything() 119 testDispatcher, in setEverything() 131 testDispatcher, in setEverything()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/ |
D | ProfileSelectorFeatureTest.kt | 93 val testDispatcher = StandardTestDispatcher() constant in com.android.photopicker.features.profileselector.ProfileSelectorFeatureTest 96 @BindValue @Main val mainScope: TestScope = TestScope(testDispatcher) 103 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher 104 @BindValue @Background val backgroundDispatcher: CoroutineDispatcher = testDispatcher
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/ |
D | PhotoGridFeatureTest.kt | 103 val testDispatcher = StandardTestDispatcher() constant in com.android.photopicker.features.photogrid.PhotoGridFeatureTest 106 @BindValue @Main val mainScope: TestScope = TestScope(testDispatcher) 113 @BindValue @Main val mainDispatcher: CoroutineDispatcher = testDispatcher 114 @BindValue @Background val backgroundDispatcher: CoroutineDispatcher = testDispatcher
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/undo/domain/interactor/ |
D | UndoInteractorTest.kt | 46 val testDispatcher = StandardTestDispatcher() in setUp() constant 47 testScope = TestScope(testDispatcher) in setUp()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppsViewModelTest.kt | 52 private val testDispatcher = TestCoroutineDispatcher() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.ConnectedAppsViewModelTest 63 Dispatchers.setMain(testDispatcher) in setup() 76 testDispatcher.cleanupTestCoroutines() in tearDown()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/ |
D | DataSourcesViewModelTest.kt | 51 private val testDispatcher = TestCoroutineDispatcher() in formattedAggregation() constant in com.android.healthconnect.controller.tests.datasources.DataSourcesViewModelTest 71 Dispatchers.setMain(testDispatcher) in formattedAggregation() 88 testDispatcher.cleanupTestCoroutines() in tearDown()
|