Home
last modified time | relevance | path

Searched refs:MIGRATION_STATE_MODULE_UPGRADE_REQUIRED (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java24 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED;
270 setMigrationState(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testOnPackageInstalledOrChanged_fromModuleUpgradeRequiredState()
339 setMigrationState(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testOnPackageRemoved_fromModuleUpgradeRequiredState_migrationAwarePackage()
472 setMigrationState(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testHandleIsUpdateStillRequired_isMinSdkExtensionVersion()
491 setMigrationState(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testHandleIsUpdateStillRequired_isNotMinSdkExtensionVersion()
511 setMigrationState(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testHandleIsUpdateStillRequired_noMigratorPackageAvailable()
679 mContext, MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testUpdateState_toModuleUpgradeRequired_shouldScheduleCompletionJob()
680 verifyStateChange(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testUpdateState_toModuleUpgradeRequired_shouldScheduleCompletionJob()
DMigrationUiStateManagerTest.java126 .thenReturn(HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testStateChanged_moduleUpdateNeeded_migrationUiModuleUpdateNeededNotificationSent()
131 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testStateChanged_moduleUpdateNeeded_migrationUiModuleUpdateNeededNotificationSent()
270 .thenReturn(HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in getMigrationUiState_migrationStateModuleUpgradeRequired()
275 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in getMigrationUiState_migrationStateModuleUpgradeRequired()
DMigrationStateChangeJobTest.java24 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED;
268 .thenReturn(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testExecuteCompleteJob_fromModuleUpgradeRequiredState_timeNotExpired()
278 .thenReturn(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testExecuteCompleteJob_fromModuleUpgradeRequiredState()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthConnectDataState.java174 @SystemApi public static final int MIGRATION_STATE_MODULE_UPGRADE_REQUIRED = 2; field in HealthConnectDataState
241 MIGRATION_STATE_MODULE_UPGRADE_REQUIRED,
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateManager.java24 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED;
174 updateMigrationState(context, MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in setMinDataMigrationSdkExtensionVersion()
248 case MIGRATION_STATE_MODULE_UPGRADE_REQUIRED: in updateMigrationStateGuarded()
583 case MIGRATION_STATE_MODULE_UPGRADE_REQUIRED: in reconcileStateChangeJob()
DMigrationUiStateManager.java87 case HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED: in getHealthConnectMigrationUiState()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java23 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_MODULE_UPGRADE_REQUIRED;
736 .isEqualTo(MIGRATION_STATE_MODULE_UPGRADE_REQUIRED); in testInsertMinDataMigrationSdkExtensionVersion_upgradeRequired()
/packages/modules/HealthFitness/framework/api/
Dsystem-current.txt40 field public static final int MIGRATION_STATE_MODULE_UPGRADE_REQUIRED = 2; // 0x2