Home
last modified time | relevance | path

Searched refs:mPriorityMigrationHelper (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DPriorityMigrationHelperTest.java78 private PriorityMigrationHelper mPriorityMigrationHelper; field in PriorityMigrationHelperTest
86 mPriorityMigrationHelper = PriorityMigrationHelper.getInstance(); in setUp()
91 mPriorityMigrationHelper.clearData(mTransactionManager); in tearDown()
108 mPriorityMigrationHelper.populatePreMigrationPriority(); in testPopulatePreMigrationPriority_preMigrationPriorityExists_prioritySaved()
133 mPriorityMigrationHelper.populatePreMigrationPriority(); in testPopulatePreMigrationPriority_preMigrationTableIsPopulated_noOperationPerformed()
148 mPriorityMigrationHelper.populatePreMigrationPriority(); in testPopulatePreMigrationPriority_NoPreMigrationPriorityExists_placeholderSaved()
169 mPriorityMigrationHelper.getPreMigrationPriority( in testGetPreMigrationPriority_priorityReadFromDatabased()
173 mPriorityMigrationHelper.getPreMigrationPriority(HealthDataCategory.ACTIVITY); in testGetPreMigrationPriority_priorityReadFromDatabased()
179 mPriorityMigrationHelper.clearData(mTransactionManager); in testClearPreMigrationPriority_dataDeleted()
DPriorityMigrationTest.java76 @Mock PriorityMigrationHelper mPriorityMigrationHelper; field in PriorityMigrationTest
107 mPriorityMigrationHelper); in setUp()
113 when(mPriorityMigrationHelper.getPreMigrationPriority(HealthDataCategory.BODY_MEASUREMENTS)) in testMigratePriority_noPreMigrationPriorityAdditionalAppsInPayload_priorityMigrated()
137 when(mPriorityMigrationHelper.getPreMigrationPriority(HealthDataCategory.BODY_MEASUREMENTS)) in testMigratePriority_preMigrationPriorityNewAppsInPayload_priorityMigrated()
168 when(mPriorityMigrationHelper.getPreMigrationPriority(HealthDataCategory.BODY_MEASUREMENTS)) in testMigratePriority_preMigrationPriorityWithChangedOrderInPayload_priorityMigrated()
216 when(mPriorityMigrationHelper.getPreMigrationPriority(HealthDataCategory.BODY_MEASUREMENTS)) in testMigratePriority_preMigrationPriorityNewAppChangedOrderInPayload_priorityMigrated()
245 when(mPriorityMigrationHelper.getPreMigrationPriority(HealthDataCategory.BODY_MEASUREMENTS)) in testMigratePriority_preMigrationPriorityWithNoAppsInPayload_priorityNotMigrated()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationCleaner.java37 private final PriorityMigrationHelper mPriorityMigrationHelper; field in MigrationCleaner
44 mPriorityMigrationHelper = priorityMigrationHelper; in MigrationCleaner()
66 mPriorityMigrationHelper.clearData(mTransactionManager); in clean()
DDataMigrationManager.java68 private final PriorityMigrationHelper mPriorityMigrationHelper; field in DataMigrationManager
87 mPriorityMigrationHelper = priorityMigrationHelper; in DataMigrationManager()
283 mPriorityMigrationHelper.getPreMigrationPriority( in migratePriority()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java215 private final PriorityMigrationHelper mPriorityMigrationHelper; field in HealthConnectServiceImpl
250 mPriorityMigrationHelper = PriorityMigrationHelper.getInstance(); in HealthConnectServiceImpl()
1656 mPriorityMigrationHelper.populatePreMigrationPriority(); in startMigration()
2393 mPriorityMigrationHelper); in getDataMigrationManager()