Searched refs:MIGRATION_STATE_COMPLETE (Results 1 – 11 of 11) sorted by relevance
21 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_COMPLETE;284 setMigrationState(MIGRATION_STATE_COMPLETE); in testOnPackageInstalledOrChanged_fromCompleteState()313 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromIdleState_migrationAwarePackage()327 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromAppUpgradeRequiredState_migrationAwarePackage()341 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromModuleUpgradeRequiredState_migrationAwarePackage()355 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromAllowedState_migrationAwarePackage()369 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromInProgressState_migrationAwarePackage()378 setMigrationState(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromCompleteState_migrationAwarePackage()461 verifyStateChange(MIGRATION_STATE_COMPLETE); in testReconcilePackageChangesWithStates_fromAllowedState_noMigratorPackageAvailable()520 verifyStateChange(MIGRATION_STATE_COMPLETE); in testHandleIsUpdateStillRequired_noMigratorPackageAvailable()[all …]
21 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_COMPLETE;196 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_COMPLETE); in testExecutePauseJob_inCompleteState()222 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromIdleState()240 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromAllowedState()260 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromAppUpgradeRequiredState()280 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromModuleUpgradeRequiredState()286 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_COMPLETE); in testExecuteCompleteJob_alreadyComplete()299 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_afterAllowedStateTimeoutPeriod_fromAllowedState()319 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_afterAllowedStateTimeoutPeriod_fromInProgressState()349 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_stateChangeJobsEnabled()
214 .thenReturn(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testStateChanged_completeFromIdle_noNotificationSent()220 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testStateChanged_completeFromIdle_noNotificationSent()228 .thenReturn(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testStateChanged_complete_noMigrationUiCompleteNotificationSent()234 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testStateChanged_complete_noMigrationUiCompleteNotificationSent()347 .thenReturn(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in getMigrationUiState_migrationStateCompleteFromIdle()354 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in getMigrationUiState_migrationStateCompleteFromIdle()362 .thenReturn(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in getMigrationUiState_migrationStateComplete()368 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in getMigrationUiState_migrationStateComplete()
66 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testStateChanged_complete_tablesCleared()
21 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_COMPLETE;264 updateMigrationState(context, MIGRATION_STATE_COMPLETE); in updateMigrationStateGuarded()271 case MIGRATION_STATE_COMPLETE: in updateMigrationStateGuarded()272 updateMigrationStatePreference(context, MIGRATION_STATE_COMPLETE, timeoutReached); in updateMigrationStateGuarded()341 updateMigrationStateGuarded(context, MIGRATION_STATE_COMPLETE, false); in finishMigration()423 if (getMigrationState() != MIGRATION_STATE_COMPLETE) { in onPackageRemovedGuarded()428 updateMigrationState(context, MIGRATION_STATE_COMPLETE); in onPackageRemovedGuarded()462 if (migrationState == MIGRATION_STATE_COMPLETE in updateMigrationStatePreference()566 if (migrationState != MIGRATION_STATE_IDLE && migrationState != MIGRATION_STATE_COMPLETE) { in reconcilePackageChangesWithStates()594 case MIGRATION_STATE_COMPLETE: in reconcileStateChangeJob()[all …]
20 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_COMPLETE;106 == MIGRATION_STATE_COMPLETE) { in executeMigrationCompletionJob()150 .updateMigrationState(context, MIGRATION_STATE_COMPLETE, true); in executeMigrationCompletionJob()
53 if (state == HealthConnectDataState.MIGRATION_STATE_COMPLETE) { in onMigrationStateChanged()
104 case HealthConnectDataState.MIGRATION_STATE_COMPLETE: in getHealthConnectMigrationUiState()
234 @SystemApi public static final int MIGRATION_STATE_COMPLETE = 5; field in HealthConnectDataState244 MIGRATION_STATE_COMPLETE
715 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testStartMigrationFromIdleState()744 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testInsertMinDataMigrationSdkExtensionVersion_upgradeRequired()774 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testInsertMinDataMigrationSdkExtensionVersion_noUpgradeRequired()803 .isEqualTo(HealthConnectDataState.MIGRATION_STATE_COMPLETE); in testInsertMinDataMigrationSdkExtensionVersion_jobsDisabled()
37 field public static final int MIGRATION_STATE_COMPLETE = 5; // 0x5