Home
last modified time | relevance | path

Searched refs:getRequiredInterval (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationBroadcastSchedulingTest.java141 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_IN_PROGRESS))) in testScheduling_migrationInProgressIntervalGreaterThanMinimum_periodicJobScheduled()
153 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_IN_PROGRESS))) in testScheduling_migrationInProgressIntervalEqualToMinimum_periodicJobScheduled()
165 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_IN_PROGRESS))) in testScheduling_migrationInProgressIntervalLessThanMinimum_periodicJobScheduled()
178 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_ALLOWED))) in testScheduling_migrationAllowedIntervalGreaterThanMinimum_periodicJobScheduled()
192 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_ALLOWED))) in testScheduling_requiredCountEqualToZero_noJobScheduled()
204 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_ALLOWED))) in testScheduling_migrationAllowedIntervalEqualToMinimum_periodicJobScheduled()
216 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_ALLOWED))) in testScheduling_migrationAllowedIntervalLessThanMinimum_periodicJobScheduled()
230 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_ALLOWED))) in testReinvocation_origAndNewIntervalsGreaterThanMin_previouslyScheduledJobsCancelled()
247 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_ALLOWED))) in testReinvocation_origAndNewIntervalsEqualToMinimum_previouslyScheduledJobsCancelled()
263 when(mMigrationBroadcastScheduler.getRequiredInterval(eq(MIGRATION_STATE_ALLOWED))) in testReinvocation_previouslyScheduledJobsCancelled()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationBroadcastScheduler.java99 getRequiredInterval(migrationState), in scheduleNewJobs()
165 long getRequiredInterval(int migrationState) { in getRequiredInterval() method in MigrationBroadcastScheduler