/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/ |
D | MigrationNavigationFragmentTest.kt | 36 val migrationViewModel: MigrationViewModel = Mockito.mock(MigrationViewModel::class.java) constant in com.android.healthconnect.controller.tests.migration.MigrationNavigationFragmentTest 45 whenever(migrationViewModel.migrationState).then { in whenMigrationFragmentStateLoading_showsLoading() 56 whenever(migrationViewModel.migrationState).then { in whenMigrationFragmentStateError_showsError() 68 whenever(migrationViewModel.migrationState).then { in whenMigrationStateAllowedNotStarted_navigatesToMigrationPausedFragment() 85 whenever(migrationViewModel.migrationState).then { in whenMigrationStateAllowedPaused_navigatesToMigrationPausedFragment() 102 whenever(migrationViewModel.migrationState).then { in whenMigrationStateAppUpdateRequired_navigatesToAppUpdateRequiredFragment() 121 whenever(migrationViewModel.migrationState).then { in whenMigrationStateModuleUpdateRequired_navigatesToModuleUpdateRequiredFragment() 140 whenever(migrationViewModel.migrationState).then { in whenMigrationStateInProgress_navigatesToMigrationInProgressFragment() 158 whenever(migrationViewModel.migrationState).then { in whenMigrationStateCompleteIdle_navigatesToHomeFragment() 175 whenever(migrationViewModel.migrationState).then { in whenMigrationStateComplete_navigatesToHomeFragment() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/ |
D | DataManagementActivityTest.kt | 61 val migrationViewModel: MigrationViewModel = Mockito.mock(MigrationViewModel::class.java) in <lambda>() constant in com.android.healthconnect.controller.tests.data.DataManagementActivityTest 95 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 101 whenever(migrationViewModel.migrationState).then { in <lambda>() 120 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 126 whenever(migrationViewModel.migrationState).then { in <lambda>() 145 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 151 whenever(migrationViewModel.migrationState).then { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/ |
D | DataManagementActivity.kt | 44 private val migrationViewModel: MigrationViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.data.DataManagementActivity 57 val currentMigrationState = migrationViewModel.getCurrentMigrationUiState() in <lambda>() 62 migrationViewModel.migrationState.observe(this) { migrationState -> in <lambda>() 95 val currentMigrationState = migrationViewModel.getCurrentMigrationUiState() in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/ |
D | MainActivity.kt | 37 private val migrationViewModel: MigrationViewModel by viewModels() constant in com.android.healthconnect.controller.MainActivity 48 val currentMigrationState = migrationViewModel.getCurrentMigrationUiState() in onCreate() 63 val currentMigrationState = migrationViewModel.getCurrentMigrationUiState() in onResume()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsManagePermissionFragmentTest.kt | 80 val migrationViewModel: MigrationViewModel = Mockito.mock(MigrationViewModel::class.java) constant in com.android.healthconnect.controller.tests.permissions.connectedapps.settings.SettingsManagePermissionFragmentTest 87 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in setup() 93 whenever(migrationViewModel.migrationState).then { in setup() 189 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in whenMigrationInProgress_showsMigrationInProgressDialog() 195 whenever(migrationViewModel.migrationState).then { in whenMigrationInProgress_showsMigrationInProgressDialog() 233 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in whenRestoreInProgress_showsRestoreInProgressDialog() 239 whenever(migrationViewModel.migrationState).then { in whenRestoreInProgress_showsRestoreInProgressDialog()
|
D | SettingsManageAppPermissionsFragmentTest.kt | 95 @BindValue val migrationViewModel: MigrationViewModel = mock() in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.settings.SettingsManageAppPermissionsFragmentTest 131 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 137 whenever(migrationViewModel.migrationState).then { in <lambda>() 420 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 426 whenever(migrationViewModel.migrationState).then { in <lambda>() 470 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 476 whenever(migrationViewModel.migrationState).then { in <lambda>() 520 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 526 whenever(migrationViewModel.migrationState).then { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/ |
D | RouteRequestActivityTest.kt | 130 val migrationViewModel: MigrationViewModel = Mockito.mock(MigrationViewModel::class.java) in <lambda>() constant in com.android.healthconnect.controller.tests.route.RouteRequestActivityTest 141 whenever(migrationViewModel.migrationState).then { in <lambda>() 454 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 460 whenever(migrationViewModel.migrationState).then { in <lambda>() 498 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 504 whenever(migrationViewModel.migrationState).then { in <lambda>() 545 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 551 whenever(migrationViewModel.migrationState).then { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/ |
D | MigrationNavigationFragment.kt | 23 private val migrationViewModel: MigrationViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.migration.MigrationNavigationFragment 36 migrationViewModel.migrationState.observe(viewLifecycleOwner) { migrationState -> in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | MockedPermissionsActivityTest.kt | 102 val migrationViewModel: MigrationViewModel = Mockito.mock(MigrationViewModel::class.java) in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.request.MockedPermissionsActivityTest 132 whenever(migrationViewModel.migrationState).then { in <lambda>() 730 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 736 whenever(migrationViewModel.migrationState).then { in <lambda>() 787 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 793 whenever(migrationViewModel.migrationState).then { in <lambda>() 844 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in <lambda>() 850 whenever(migrationViewModel.migrationState).then { in <lambda>()
|
D | PermissionsActivityTest.kt | 123 @BindValue val migrationViewModel: MigrationViewModel = mock(MigrationViewModel::class.java) in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.request.PermissionsActivityTest 135 whenever(migrationViewModel.migrationState).then { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/ |
D | TrampolineActivityTest.kt | 91 @BindValue val migrationViewModel: MigrationViewModel = mock(MigrationViewModel::class.java) constant in com.android.healthconnect.controller.tests.navigation.TrampolineActivityTest 116 whenever(migrationViewModel.getCurrentMigrationUiState()).then { in setup() 122 whenever(migrationViewModel.migrationState).then { in setup()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/ |
D | SettingsManagePermissionFragment.kt | 90 private val migrationViewModel: MigrationViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.permissions.connectedapps.SettingsManagePermissionFragment 114 migrationViewModel.migrationState.observe(viewLifecycleOwner) { migrationState -> in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/ |
D | HomeFragmentTest.kt | 111 val migrationViewModel: MigrationViewModel = Mockito.mock(MigrationViewModel::class.java) in <lambda>() constant in com.android.healthconnect.controller.tests.home.HomeFragmentTest 138 whenever(migrationViewModel.migrationState).then { in <lambda>() 452 whenever(migrationViewModel.migrationState).then { in <lambda>() 492 whenever(migrationViewModel.migrationState).then { in <lambda>() 537 whenever(migrationViewModel.migrationState).then { in <lambda>() 584 whenever(migrationViewModel.migrationState).then { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | PermissionsActivity.kt | 72 private val migrationViewModel: MigrationViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.permissions.request.PermissionsActivity 206 migrationViewModel.migrationState.observe(this) { migrationState -> in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/ |
D | RouteRequestActivity.kt | 77 private val migrationViewModel: MigrationViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.route.RouteRequestActivity 112 migrationViewModel.migrationState.observe(this) { migrationState -> in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/ |
D | SettingsManageAppPermissionsFragment.kt | 100 private val migrationViewModel: MigrationViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.permissions.app.SettingsManageAppPermissionsFragment 170 migrationViewModel.migrationState.observe(viewLifecycleOwner) { migrationState -> in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/ |
D | HomeFragment.kt | 96 private val migrationViewModel: MigrationViewModel by activityViewModels() in <lambda>() constant in com.android.healthconnect.controller.home.HomeFragment 174 migrationViewModel.migrationState.observe(viewLifecycleOwner) { migrationState -> in <lambda>()
|