Searched refs:MIGRATION_STATE_IN_PROGRESS (Results 1 – 13 of 13) sorted by relevance
20 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS;131 migrationStateManager.updateMigrationState(mContext, MIGRATION_STATE_IN_PROGRESS); in testPrescheduleNewJobs_updateMigrationState_newJobsScheduled()140 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IN_PROGRESS); in testScheduling_migrationInProgressIntervalGreaterThanMinimum_periodicJobScheduled()141 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_IN_PROGRESS))) in testScheduling_migrationInProgressIntervalGreaterThanMinimum_periodicJobScheduled()152 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IN_PROGRESS); in testScheduling_migrationInProgressIntervalEqualToMinimum_periodicJobScheduled()153 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_IN_PROGRESS))) in testScheduling_migrationInProgressIntervalEqualToMinimum_periodicJobScheduled()164 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IN_PROGRESS); in testScheduling_migrationInProgressIntervalLessThanMinimum_periodicJobScheduled()165 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_IN_PROGRESS))) in testScheduling_migrationInProgressIntervalLessThanMinimum_periodicJobScheduled()
23 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS;256 setMigrationState(MIGRATION_STATE_IN_PROGRESS); in testOnPackageInstalledOrChanged_fromInProgressState()367 setMigrationState(MIGRATION_STATE_IN_PROGRESS); in testOnPackageRemoved_fromInProgressState_migrationAwarePackage()565 setMigrationState(MIGRATION_STATE_IN_PROGRESS); in testReconcilePackageChangesWithStates_fromInProgressState_noMigratorPackageAvailable()580 setMigrationState(MIGRATION_STATE_IN_PROGRESS); in testReconcilePackageChangesWithStates_fromInProgressState_migratorPackageAvailable()610 mMigrationStateManager.updateMigrationState(mContext, MIGRATION_STATE_IN_PROGRESS); in testStartMigration_startMigrationCountIsUpdated()618 setMigrationState(MIGRATION_STATE_IN_PROGRESS); in testPauseMigration_maxStartMigrationCountReached_shouldCompleteMigration()629 setMigrationState(MIGRATION_STATE_IN_PROGRESS); in testPauseMigration_maxStartMigrationCountNotReached_shouldNotCompleteMigration()644 mMigrationStateManager.updateMigrationState(mContext, MIGRATION_STATE_IN_PROGRESS); in testUpdateState_toInProgress_shouldSchedulePauseJob()645 verifyStateChange(MIGRATION_STATE_IN_PROGRESS); in testUpdateState_toInProgress_shouldSchedulePauseJob()[all …]
23 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS;163 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IN_PROGRESS); in testExecutePauseJob_timeNotExpired()177 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IN_PROGRESS); in testExecutePauseJob_timeExpired_shouldChangeState()317 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IN_PROGRESS); in testExecuteCompleteJob_afterAllowedStateTimeoutPeriod_fromInProgressState()327 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IN_PROGRESS); in testExecuteCompleteJob_beforeAllowedStateTimeoutPeriod_fromInProgressState()
199 .thenReturn(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testStateChanged_inProgress_noMigrationUiInProgressNotificationSent()204 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testStateChanged_inProgress_noMigrationUiInProgressNotificationSent()334 .thenReturn(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in getMigrationUiState_migrationStateInProgress()339 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in getMigrationUiState_migrationStateInProgress()
78 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testStateChanged_notComplete_noTablesCleared()
20 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS;154 case MIGRATION_STATE_IN_PROGRESS: in getRequiredCount()167 case MIGRATION_STATE_IN_PROGRESS: in getRequiredInterval()170 getRequiredCount(MIGRATION_STATE_IN_PROGRESS)); in getRequiredInterval()
23 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS;182 return getMigrationState() == MIGRATION_STATE_IN_PROGRESS; in isMigrationInProgress()253 case MIGRATION_STATE_IN_PROGRESS: in updateMigrationStateGuarded()256 context, MIGRATION_STATE_IN_PROGRESS, timeoutReached); in updateMigrationStateGuarded()306 updateMigrationStateGuarded(context, MIGRATION_STATE_IN_PROGRESS, false); in startMigration()337 if (getMigrationState() != MIGRATION_STATE_IN_PROGRESS in finishMigration()352 if (getMigrationState() != MIGRATION_STATE_IN_PROGRESS) { in validateWriteMigrationData()365 if (getMigrationState() == MIGRATION_STATE_IN_PROGRESS) { in validateSetMinSdkVersion()453 if (migrationState == MIGRATION_STATE_IN_PROGRESS) { in updateMigrationStatePreference()587 case MIGRATION_STATE_IN_PROGRESS: in reconcileStateChangeJob()
22 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS;133 == MIGRATION_STATE_IN_PROGRESS) { in executeMigrationCompletionJob()162 != MIGRATION_STATE_IN_PROGRESS) { in executeMigrationPauseJob()
101 case HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS: in getHealthConnectMigrationUiState()
196 @SystemApi public static final int MIGRATION_STATE_IN_PROGRESS = 3; field in HealthConnectDataState242 MIGRATION_STATE_IN_PROGRESS,
711 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testStartMigrationFromIdleState()740 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testInsertMinDataMigrationSdkExtensionVersion_upgradeRequired()770 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testInsertMinDataMigrationSdkExtensionVersion_noUpgradeRequired()799 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testInsertMinDataMigrationSdkExtensionVersion_jobsDisabled()
39 field public static final int MIGRATION_STATE_IN_PROGRESS = 3; // 0x3
1579 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_IN_PROGRESS); in testDataApis_migrationInProgress_apisBlocked()