Home
last modified time | relevance | path

Searched refs:MIGRATION_STATE_APP_UPGRADE_REQUIRED (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java20 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED;
188 verifyStateChange(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testOnPackageInstalledOrChanged_fromIdleState_migrationUnawarePackage()
209 setMigrationState(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testOnPackageInstalledOrChanged_fromAppUpgradeRequiredState_migrationAwarePackage()
226 setMigrationState(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testOnPackageInstalledOrChanged_fromAppUpgradeRequiredState_migrationUnAwarePackage()
325 setMigrationState(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testOnPackageRemoved_fromAppUpgradeRequiredState_migrationAwarePackage()
417 verifyStateChange(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testReconcilePackageChangesWithStates_fromIdleState_migrationUnawarePackageAvailable()
531 setMigrationState(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testReconcilePackageChangesWithStates_fromAppUpgradeRequiredState_noMigratorPackage()
545 setMigrationState(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testReconcilePackageChangesWithStates_fromAppUpgradeRequiredState_migratorPackage()
666 mMigrationStateManager.updateMigrationState(mContext, MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testUpdateState_toAppUpgradeRequired_shouldScheduleCompletionJob()
667 verifyStateChange(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testUpdateState_toAppUpgradeRequired_shouldScheduleCompletionJob()
[all …]
DMigrationUiStateManagerTest.java110 .thenReturn(HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testStateChanged_appUpdateNeeded_noMigrationUiAppUpdateNeededNotificationSent()
115 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testStateChanged_appUpdateNeeded_noMigrationUiAppUpdateNeededNotificationSent()
257 .thenReturn(HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED); in getMigrationUiState_migrationStateAppUpgradeRequired()
262 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED); in getMigrationUiState_migrationStateAppUpgradeRequired()
DMigrationStateChangeJobTest.java20 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED;
248 .thenReturn(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testExecuteCompleteJob_fromAppUpgradeRequiredState_timeNotExpired()
258 .thenReturn(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testExecuteCompleteJob_fromAppUpgradeRequiredState()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateManager.java20 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED;
247 case MIGRATION_STATE_APP_UPGRADE_REQUIRED: in updateMigrationStateGuarded()
389 || migrationState == MIGRATION_STATE_APP_UPGRADE_REQUIRED) in onPackageInstalledOrChangedGuarded()
400 updateMigrationState(context, MIGRATION_STATE_APP_UPGRADE_REQUIRED); in onPackageInstalledOrChangedGuarded()
547 if (migrationState == MIGRATION_STATE_APP_UPGRADE_REQUIRED in reconcilePackageChangesWithStates()
562 updateMigrationState(context, MIGRATION_STATE_APP_UPGRADE_REQUIRED); in reconcilePackageChangesWithStates()
576 case MIGRATION_STATE_APP_UPGRADE_REQUIRED: in reconcileStateChangeJob()
DMigrationUiStateManager.java84 case HealthConnectDataState.MIGRATION_STATE_APP_UPGRADE_REQUIRED: in getHealthConnectMigrationUiState()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthConnectDataState.java159 @SystemApi public static final int MIGRATION_STATE_APP_UPGRADE_REQUIRED = 1; field in HealthConnectDataState
240 MIGRATION_STATE_APP_UPGRADE_REQUIRED,
/packages/modules/HealthFitness/framework/api/
Dsystem-current.txt36 field public static final int MIGRATION_STATE_APP_UPGRADE_REQUIRED = 1; // 0x1