Home
last modified time | relevance | path

Searched refs:MIGRATION_STARTS_COUNT_KEY (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateManager.java35 …rt static com.android.server.healthconnect.migration.MigrationConstants.MIGRATION_STARTS_COUNT_KEY;
286 MIGRATION_STARTS_COUNT_KEY, String.valueOf(0)); in clearCaches()
323 MIGRATION_STARTS_COUNT_KEY)) in getMigrationStartsCount()
647 Optional.ofNullable(preferenceHelper.getPreference(MIGRATION_STARTS_COUNT_KEY)) in updateMigrationStartsCount()
651 MIGRATION_STARTS_COUNT_KEY, in updateMigrationStartsCount()
800 .getPreference(MIGRATION_STARTS_COUNT_KEY)) in getStartMigrationCount()
DMigrationConstants.java43 static final String MIGRATION_STARTS_COUNT_KEY = "migration_starts_count"; field in MigrationConstants
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java32 …rt static com.android.server.healthconnect.migration.MigrationConstants.MIGRATION_STARTS_COUNT_KEY;
608 when(mPreferenceHelper.getPreference(eq(MIGRATION_STARTS_COUNT_KEY))) in testStartMigration_startMigrationCountIsUpdated()
612 .insertOrReplacePreference(MIGRATION_STARTS_COUNT_KEY, String.valueOf(count + 1)); in testStartMigration_startMigrationCountIsUpdated()
619 when(mPreferenceHelper.getPreference(eq(MIGRATION_STARTS_COUNT_KEY))) in testPauseMigration_maxStartMigrationCountReached_shouldCompleteMigration()
630 when(mPreferenceHelper.getPreference(eq(MIGRATION_STARTS_COUNT_KEY))) in testPauseMigration_maxStartMigrationCountNotReached_shouldNotCompleteMigration()