Home
last modified time | relevance | path

Searched refs:migrationStateManager (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectManagerService.java95 final MigrationStateManager migrationStateManager = in HealthConnectManagerService() local
97 migrationStateManager.setMigrationBroadcastScheduler(mMigrationBroadcastScheduler); in HealthConnectManagerService()
105 migrationStateManager, in HealthConnectManagerService()
114 migrationStateManager, in HealthConnectManagerService()
145 MigrationStateManager migrationStateManager = in onUserSwitching() local
147 migrationStateManager.onUserSwitching(mContext, to.getUserHandle().getIdentifier()); in onUserSwitching()
DHealthConnectServiceImpl.java228 MigrationStateManager migrationStateManager, in HealthConnectServiceImpl() argument
238 mMigrationStateManager = migrationStateManager; in HealthConnectServiceImpl()
246 migrationCleaner.attachTo(migrationStateManager); in HealthConnectServiceImpl()
247 mMigrationUiStateManager.attachTo(migrationStateManager); in HealthConnectServiceImpl()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationUiStateManager.java55 @NonNull MigrationStateManager migrationStateManager, in MigrationUiStateManager() argument
60 this.mMigrationStateManager = migrationStateManager; in MigrationUiStateManager()
69 public void attachTo(@NonNull MigrationStateManager migrationStateManager) { in attachTo() argument
70 migrationStateManager.addStateChangedListener(this::onMigrationStateChanged); in attachTo()
DMigrationCleaner.java48 public void attachTo(@NonNull MigrationStateManager migrationStateManager) { in attachTo() argument
49 migrationStateManager.addStateChangedListener(this::onMigrationStateChanged); in attachTo()
DMigratorPackageChangesReceiver.java46 public MigratorPackageChangesReceiver(MigrationStateManager migrationStateManager) { in MigratorPackageChangesReceiver() argument
47 mMigrationStateManager = migrationStateManager; in MigratorPackageChangesReceiver()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationBroadcastSchedulingTest.java129 MigrationStateManager migrationStateManager = MigrationStateManager.initializeInstance(0); in testPrescheduleNewJobs_updateMigrationState_newJobsScheduled() local
130 migrationStateManager.setMigrationBroadcastScheduler(mMigrationBroadcastScheduler); in testPrescheduleNewJobs_updateMigrationState_newJobsScheduled()
131 migrationStateManager.updateMigrationState(mContext, MIGRATION_STATE_IN_PROGRESS); in testPrescheduleNewJobs_updateMigrationState_newJobsScheduled()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/backuprestore/
DBackupRestore.java195 MigrationStateManager migrationStateManager, in BackupRestore() argument
198 mMigrationStateManager = migrationStateManager; in BackupRestore()