/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/api/ |
D | LoadMigrationRestoreStateUseCaseTest.kt | 54 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/ |
D | MigrationNavigationFragmentTest.kt | 72 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 …]
|
D | MigrationActivityTest.kt | 56 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/ |
D | MainActivityTest.kt | 64 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/ |
D | MigrationActivity.kt | 59 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>()
|
D | MigrationNavigationFragment.kt | 53 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/ |
D | DataManagementActivityTest.kt | 97 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/ |
D | FakeHealthMigrationManager.kt | 28 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/ |
D | LoadMigrationRestoreStateUseCase.kt | 44 val migrationUiState = in <lambda>() constant 52 migrationUiState = in <lambda>() 54 migrationUiState, MigrationUiState.IDLE), in <lambda>() 115 migrationUiState = MigrationUiState.IDLE, in <lambda>()
|
D | MigrationRestoreState.kt | 22 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/ |
D | SettingsManagePermissionFragmentTest.kt | 89 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()
|
D | SettingsManageAppPermissionsFragmentTest.kt | 133 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/ |
D | RouteRequestActivity.kt | 117 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/ |
D | PermissionsActivity.kt | 219 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/ |
D | HealthConnectMigrationUiState.java | 122 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/ |
D | SettingsManagePermissionFragment.kt | 127 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/ |
D | RouteRequestActivityTest.kt | 145 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/ |
D | MigrationUiStateManager.java | 121 int migrationUiState = getHealthConnectMigrationUiState(); in onMigrationStateChanged() local 123 switch (migrationUiState) { in onMigrationStateChanged()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/ |
D | HomeFragment.kt | 204 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/ |
D | MockedPermissionsActivityTest.kt | 136 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/ |
D | IGetHealthConnectMigrationUiStateCallback.aidl | 10 oneway void onResult(in HealthConnectMigrationUiState migrationUiState); in onResult() argument
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/ |
D | HomeFragmentTest.kt | 142 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/ |
D | TrampolineActivityTest.kt | 118 migrationUiState = MigrationUiState.IDLE, in setup() 126 migrationUiState = MigrationUiState.IDLE, in setup()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/ |
D | DataManagementActivity.kt | 65 if (migrationState.migrationRestoreState.migrationUiState == in <lambda>()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthConnectManager.java | 1555 public void onResult(HealthConnectMigrationUiState migrationUiState) { in getHealthConnectMigrationUiState() 1557 executor.execute(() -> callback.onResult(migrationUiState)); in getHealthConnectMigrationUiState()
|