Searched refs:MigrationStateChangeJob (Results 1 – 7 of 7) sorted by relevance
33 import static com.android.server.healthconnect.migration.MigrationStateChangeJob.MIN_JOB_ID;166 MigrationStateChangeJob.executeMigrationPauseJob(mContext); in testExecutePauseJob_timeNotExpired()180 MigrationStateChangeJob.executeMigrationPauseJob(mContext); in testExecutePauseJob_timeExpired_shouldChangeState()188 MigrationStateChangeJob.executeMigrationPauseJob(mContext); in testExecutePauseJob_inAllowedState()197 MigrationStateChangeJob.executeMigrationPauseJob(mContext); in testExecutePauseJob_inCompleteState()209 MigrationStateChangeJob.executeMigrationCompletionJob(mContext); in testExecuteCompleteJob_fromIdleState_timeNotExpired()221 MigrationStateChangeJob.executeMigrationCompletionJob(mContext); in testExecuteCompleteJob_fromIdleState()230 MigrationStateChangeJob.executeMigrationCompletionJob(mContext); in testExecuteCompleteJob_fromAllowedState_timeNotExpired()239 MigrationStateChangeJob.executeMigrationCompletionJob(mContext); in testExecuteCompleteJob_fromAllowedState()249 MigrationStateChangeJob.executeMigrationCompletionJob(mContext); in testExecuteCompleteJob_fromAppUpgradeRequiredState_timeNotExpired()[all …]
106 .mockStatic(MigrationStateChangeJob.class)395 MigrationStateChangeJob.existsAStateChangeJob( in testReconcilePackageChangesWithStates_fromIdleState_migrationAwarePackageAvailable()414 MigrationStateChangeJob.existsAStateChangeJob( in testReconcilePackageChangesWithStates_fromIdleState_migrationUnawarePackageAvailable()433 MigrationStateChangeJob.existsAStateChangeJob( in testReconcilePackageChangesWithStates_fromIdleState_migrationUnawareStubPackage()550 MigrationStateChangeJob.existsAStateChangeJob( in testReconcilePackageChangesWithStates_fromAppUpgradeRequiredState_migratorPackage()623 ExtendedMockito.verify(() -> MigrationStateChangeJob.cancelAllJobs(eq(mContext))); in testPauseMigration_maxStartMigrationCountReached_shouldCompleteMigration()705 MigrationStateChangeJob.existsAStateChangeJob( in testReconcileStateChangeJob_fromIdleState_shouldReschedule()721 MigrationStateChangeJob.existsAStateChangeJob( in testReconcileStateChangeJob_fromIdleState_shouldNotReschedule()736 MigrationStateChangeJob.existsAStateChangeJob( in testReconcileStateChangeJob_fromAppUpgradeRequiredState_shouldReschedule()752 MigrationStateChangeJob.existsAStateChangeJob( in testReconcileStateChangeJob_fromAppUpgradeRequiredState_shouldNotReschedule()[all …]
121 MigrationStateChangeJob.cancelAllJobs(context); in onUserSwitching()199 MigrationStateChangeJob.cancelAllJobs(context); in switchToSetupForUser()249 MigrationStateChangeJob.cancelAllJobs(context); in updateMigrationStateGuarded()251 MigrationStateChangeJob.scheduleMigrationCompletionJob(context, mUserId); in updateMigrationStateGuarded()254 MigrationStateChangeJob.cancelAllJobs(context); in updateMigrationStateGuarded()257 MigrationStateChangeJob.scheduleMigrationPauseJob(context, mUserId); in updateMigrationStateGuarded()267 MigrationStateChangeJob.cancelAllJobs(context); in updateMigrationStateGuarded()269 MigrationStateChangeJob.scheduleMigrationCompletionJob(context, mUserId); in updateMigrationStateGuarded()273 MigrationStateChangeJob.cancelAllJobs(context); in updateMigrationStateGuarded()578 if (!MigrationStateChangeJob.existsAStateChangeJob( in reconcileStateChangeJob()[all …]
52 public final class MigrationStateChangeJob { class53 static final int MIN_JOB_ID = MigrationStateChangeJob.class.hashCode();
46 static final String MIGRATION_STATE_CHANGE_NAMESPACE = MigrationStateChangeJob.class.toString();
37 import com.android.server.healthconnect.migration.MigrationStateChangeJob;86 MigrationStateChangeJob.executeMigrationCompletionJob( in onStartJob()94 MigrationStateChangeJob.executeMigrationPauseJob( in onStartJob()
47 import com.android.server.healthconnect.migration.MigrationStateChangeJob;94 when(mJobScheduler.forNamespace(MigrationStateChangeJob.class.toString())) in setUp()