Home
last modified time | relevance | path

Searched refs:migrationUiState (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/api/
DLoadMigrationRestoreStateUseCaseTest.kt54 migrationUiState = MigrationUiState.IDLE, in <lambda>()
68 migrationUiState = MigrationUiState.ALLOWED_MIGRATOR_DISABLED, in invoke_migrationStateAllowedMigratorDisabled_mapsStateToAllowedMigratorDisabled()
81 migrationUiState = MigrationUiState.ALLOWED_NOT_STARTED, in <lambda>()
94 migrationUiState = MigrationUiState.ALLOWED_PAUSED, in <lambda>()
107 migrationUiState = MigrationUiState.ALLOWED_ERROR, in <lambda>()
120 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
133 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
146 migrationUiState = MigrationUiState.MODULE_UPGRADE_REQUIRED, in invoke_migrationStateModuleUpgradeRequired_mapsStateToModuleUpgradeRequired()
159 migrationUiState = MigrationUiState.COMPLETE, in <lambda>()
172 migrationUiState = MigrationUiState.COMPLETE_IDLE, in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/
DMigrationNavigationFragmentTest.kt72 migrationUiState = MigrationUiState.ALLOWED_NOT_STARTED, in whenMigrationStateAllowedNotStarted_navigatesToMigrationPausedFragment()
89 migrationUiState = MigrationUiState.ALLOWED_PAUSED, in whenMigrationStateAllowedPaused_navigatesToMigrationPausedFragment()
106 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in whenMigrationStateAppUpdateRequired_navigatesToAppUpdateRequiredFragment()
125 migrationUiState = MigrationUiState.MODULE_UPGRADE_REQUIRED, in whenMigrationStateModuleUpdateRequired_navigatesToModuleUpdateRequiredFragment()
144 migrationUiState = MigrationUiState.IN_PROGRESS, in whenMigrationStateInProgress_navigatesToMigrationInProgressFragment()
162 migrationUiState = MigrationUiState.COMPLETE_IDLE, in whenMigrationStateCompleteIdle_navigatesToHomeFragment()
179 migrationUiState = MigrationUiState.COMPLETE, in whenMigrationStateComplete_navigatesToHomeFragment()
196 migrationUiState = MigrationUiState.IDLE, in whenMigrationStateIdle_navigatesToHomeFragment()
213 migrationUiState = MigrationUiState.ALLOWED_MIGRATOR_DISABLED, in whenMigrationStateAllowedMigratorDisabled_navigatesToHomeFragment()
230 migrationUiState = MigrationUiState.UNKNOWN, in whenMigrationStateUnknown_navigatesToHomeFragment()
[all …]
DMigrationActivityTest.kt56 migrationUiState = MigrationUiState.IN_PROGRESS, in whenMigrationInProgress_intentLaunchesMigrationActivity()
74 migrationUiState = MigrationUiState.IDLE, in whenDataRestoreInProgress_intentLaunchesMigrationActivity()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/
DMainActivityTest.kt64 migrationUiState = MigrationUiState.IDLE, in setup()
72 migrationUiState = MigrationUiState.IDLE, in setup()
101 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
109 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
128 migrationUiState = MigrationUiState.IDLE, in <lambda>()
136 migrationUiState = MigrationUiState.IDLE, in <lambda>()
156 migrationUiState = MigrationUiState.MODULE_UPGRADE_REQUIRED, in <lambda>()
164 migrationUiState = MigrationUiState.MODULE_UPGRADE_REQUIRED, in <lambda>()
186 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
194 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/
DMigrationActivity.kt59 if (migrationRestoreState.migrationUiState == in <lambda>()
68 } else if (migrationRestoreState.migrationUiState == in <lambda>()
77 } else if (migrationRestoreState.migrationUiState == MigrationUiState.ALLOWED_PAUSED || in <lambda>()
78 migrationRestoreState.migrationUiState == MigrationUiState.ALLOWED_NOT_STARTED) { in <lambda>()
87 } else if (migrationRestoreState.migrationUiState == MigrationUiState.IN_PROGRESS || in <lambda>()
102 val (migrationUiState, dataRestoreUiState, dataErrorState) = migrationRestoreState in <lambda>() constant
108 migrationUiState == MigrationUiState.IN_PROGRESS -> { in <lambda>()
114 migrationUiState in in <lambda>()
132 migrationUiState == MigrationUiState.COMPLETE -> { in <lambda>()
DMigrationNavigationFragment.kt53 val (migrationUiState, dataRestoreUiState, dataErrorState) = migrationRestoreState in <lambda>() constant
57 } else if (migrationUiState in in <lambda>()
60 } else if (migrationUiState == MigrationUiState.APP_UPGRADE_REQUIRED) { in <lambda>()
62 } else if (migrationUiState == MigrationUiState.MODULE_UPGRADE_REQUIRED) { in <lambda>()
64 } else if (migrationUiState == MigrationUiState.IN_PROGRESS) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/
DDataManagementActivityTest.kt97 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
105 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
122 migrationUiState = MigrationUiState.IDLE, in <lambda>()
130 migrationUiState = MigrationUiState.IDLE, in <lambda>()
147 migrationUiState = MigrationUiState.COMPLETE, in <lambda>()
155 migrationUiState = MigrationUiState.COMPLETE, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeHealthMigrationManager.kt28 private var migrationUiState: Int = HealthConnectMigrationUiState.MIGRATION_UI_STATE_IDLE variable in com.android.healthconnect.controller.tests.utils.di.FakeHealthMigrationManager
37 this.migrationUiState = state in setMigrationUiState()
55 callback.onResult(HealthConnectMigrationUiState(migrationUiState)) in getHealthConnectMigrationUiState()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/api/
DLoadMigrationRestoreStateUseCase.kt44 val migrationUiState = in <lambda>() constant
52 migrationUiState = in <lambda>()
54 migrationUiState, MigrationUiState.IDLE), in <lambda>()
115 migrationUiState = MigrationUiState.IDLE, in <lambda>()
DMigrationRestoreState.kt22 val migrationUiState: MigrationUiState, constant in com.android.healthconnect.controller.migration.api.MigrationRestoreState
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManagePermissionFragmentTest.kt89 migrationUiState = MigrationUiState.IDLE, in setup()
97 migrationUiState = MigrationUiState.IDLE, in setup()
191 migrationUiState = MigrationUiState.IN_PROGRESS, in whenMigrationInProgress_showsMigrationInProgressDialog()
199 migrationUiState = MigrationUiState.IN_PROGRESS, in whenMigrationInProgress_showsMigrationInProgressDialog()
235 migrationUiState = MigrationUiState.IDLE, in whenRestoreInProgress_showsRestoreInProgressDialog()
243 migrationUiState = MigrationUiState.IDLE, in whenRestoreInProgress_showsRestoreInProgressDialog()
DSettingsManageAppPermissionsFragmentTest.kt133 migrationUiState = MigrationUiState.IDLE, in <lambda>()
141 migrationUiState = MigrationUiState.IDLE, in <lambda>()
422 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
430 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
472 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
480 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
522 migrationUiState = MigrationUiState.IDLE, in <lambda>()
530 migrationUiState = MigrationUiState.IDLE, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DRouteRequestActivity.kt117 migrationState.migrationRestoreState.migrationUiState in <lambda>()
266 val (migrationUiState, dataRestoreUiState, dataErrorState) = migrationRestoreState in <lambda>() constant
270 } else if (migrationUiState == MigrationUiState.IN_PROGRESS) { in <lambda>()
277 } else if (migrationUiState in in <lambda>()
289 } else if (migrationUiState == MigrationUiState.COMPLETE) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DPermissionsActivity.kt219 val (migrationUiState, dataRestoreUiState, dataErrorState) = migrationRestoreState in <lambda>() constant
223 } else if (migrationUiState == MigrationUiState.IN_PROGRESS) { in <lambda>()
231 } else if (migrationUiState in in <lambda>()
255 } else if (migrationUiState == MigrationUiState.COMPLETE) { in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/migration/
DHealthConnectMigrationUiState.java122 public HealthConnectMigrationUiState(@Type int migrationUiState) { in HealthConnectMigrationUiState() argument
123 this.mMigrationUiState = migrationUiState; in HealthConnectMigrationUiState()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DSettingsManagePermissionFragment.kt127 val (migrationUiState, dataRestoreUiState, dataErrorState) = migrationRestoreState in <lambda>() constant
131 } else if (migrationUiState == MigrationUiState.IN_PROGRESS) { in <lambda>()
138 } else if (migrationUiState == MigrationUiState.COMPLETE) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DRouteRequestActivityTest.kt145 migrationUiState = MigrationUiState.IDLE, in <lambda>()
456 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
464 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
500 migrationUiState = MigrationUiState.IDLE, in <lambda>()
508 migrationUiState = MigrationUiState.IDLE, in <lambda>()
547 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
555 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationUiStateManager.java121 int migrationUiState = getHealthConnectMigrationUiState(); in onMigrationStateChanged() local
123 switch (migrationUiState) { in onMigrationStateChanged()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt204 val (migrationUiState, dataRestoreUiState, dataErrorState) = migrationRestoreState in <lambda>() constant
209 } else if (migrationUiState in in <lambda>()
217 } else if (migrationUiState == MigrationUiState.COMPLETE) { in <lambda>()
219 } else if (migrationUiState == MigrationUiState.ALLOWED_ERROR) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DMockedPermissionsActivityTest.kt136 migrationUiState = MigrationUiState.IDLE, in <lambda>()
732 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
740 migrationUiState = MigrationUiState.IN_PROGRESS, in <lambda>()
789 migrationUiState = MigrationUiState.IDLE, in <lambda>()
797 migrationUiState = MigrationUiState.IDLE, in <lambda>()
846 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
854 migrationUiState = MigrationUiState.APP_UPGRADE_REQUIRED, in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DIGetHealthConnectMigrationUiStateCallback.aidl10 oneway void onResult(in HealthConnectMigrationUiState migrationUiState); in onResult() argument
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt142 migrationUiState = MigrationUiState.IDLE, in <lambda>()
456 migrationUiState = MigrationUiState.ALLOWED_PAUSED, in <lambda>()
496 migrationUiState = MigrationUiState.IDLE, in <lambda>()
541 migrationUiState = MigrationUiState.COMPLETE, in <lambda>()
588 migrationUiState = MigrationUiState.ALLOWED_ERROR, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt118 migrationUiState = MigrationUiState.IDLE, in setup()
126 migrationUiState = MigrationUiState.IDLE, in setup()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/
DDataManagementActivity.kt65 if (migrationState.migrationRestoreState.migrationUiState == in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthConnectManager.java1555 public void onResult(HealthConnectMigrationUiState migrationUiState) { in getHealthConnectMigrationUiState()
1557 executor.execute(() -> callback.onResult(migrationUiState)); in getHealthConnectMigrationUiState()

12