/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | MigrationStateChangeJob.java | 57 HealthConnectDeviceConfigManager.getInitialisedInstance(); in scheduleMigrationCompletionJob() 79 HealthConnectDeviceConfigManager.getInitialisedInstance(); in scheduleMigrationPauseJob() 101 HealthConnectDeviceConfigManager.getInitialisedInstance(); in executeMigrationCompletionJob() 105 if (MigrationStateManager.getInitialisedInstance().getMigrationState() in executeMigrationCompletionJob() 122 MigrationStateManager.getInitialisedInstance().getMigrationState() in executeMigrationCompletionJob() 130 if (MigrationStateManager.getInitialisedInstance().getMigrationState() in executeMigrationCompletionJob() 132 || MigrationStateManager.getInitialisedInstance().getMigrationState() in executeMigrationCompletionJob() 135 MigrationStateManager.getInitialisedInstance().getAllowedStateTimeout(); in executeMigrationCompletionJob() 149 MigrationStateManager.getInitialisedInstance() in executeMigrationCompletionJob() 157 HealthConnectDeviceConfigManager.getInitialisedInstance(); in executeMigrationPauseJob() [all …]
|
D | PriorityMigrationHelper.java | 80 if (TransactionManager.getInitialisedInstance() in populatePreMigrationPriority() 108 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in cachePreMigrationTable() 151 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populatePreMigrationTable()
|
D | MigrationBroadcastScheduler.java | 56 HealthConnectDeviceConfigManager.getInitialisedInstance(); 82 int migrationState = MigrationStateManager.getInitialisedInstance().getMigrationState(); in scheduleNewJobs()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/ |
D | MigrationBroadcastSchedulingTest.java | 102 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp() 139 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testScheduling_migrationInProgressIntervalGreaterThanMinimum_periodicJobScheduled() 151 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testScheduling_migrationInProgressIntervalEqualToMinimum_periodicJobScheduled() 163 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testScheduling_migrationInProgressIntervalLessThanMinimum_periodicJobScheduled() 176 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testScheduling_migrationAllowedIntervalGreaterThanMinimum_periodicJobScheduled() 188 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testScheduling_requiredCountEqualToZero_noJobScheduled() 202 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testScheduling_migrationAllowedIntervalEqualToMinimum_periodicJobScheduled() 214 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testScheduling_migrationAllowedIntervalLessThanMinimum_periodicJobScheduled() 228 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testReinvocation_origAndNewIntervalsGreaterThanMin_previouslyScheduledJobsCancelled() 245 when(MigrationStateManager.getInitialisedInstance()).thenReturn(mMigrationStateManager); in testReinvocation_origAndNewIntervalsEqualToMinimum_previouslyScheduledJobsCancelled() [all …]
|
D | MigrationTestUtils.java | 50 return HealthConnectDeviceConfigManager.getInitialisedInstance().getExecutionTimeBuffer() in getTimeoutPeriodBuffer()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DatabaseStatsCollector.java | 33 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getDatabaseSize() 39 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getNumberOfIntervalRecordRows() 54 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getNumberOfSeriesRecordRows() 68 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getNumberOfInstantRecordRows() 82 return TransactionManager.getInitialisedInstance() in getNumberOfChangeLogs()
|
D | PreferenceHelper.java | 66 TransactionManager.getInitialisedInstance() in insertOrReplacePreference() 75 TransactionManager.getInitialisedInstance() in removeKey() 91 TransactionManager.getInitialisedInstance().insertOrReplaceAll(requests); in insertOrReplacePreferencesTransaction() 142 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populatePreferences()
|
D | HealthDataCategoryPriorityHelper.java | 218 HealthConnectDeviceConfigManager.getInitialisedInstance() in getPriorityOrder() 246 HealthConnectDeviceConfigManager.getInitialisedInstance() in setPriorityOrder() 325 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populateDataCategoryToAppIdPriorityMap() 346 TransactionManager.getInitialisedInstance().insertOrReplace(request); in safelyUpdateDBAndUpdateCache() 357 TransactionManager.getInitialisedInstance().delete(request); in safelyUpdateDBAndUpdateCache() 406 HealthConnectDeviceConfigManager.getInitialisedInstance() in reSyncHealthDataPriorityTable() 459 UserHandle user = TransactionManager.getInitialisedInstance().getCurrentUserHandle(); in getValidHealthApps() 472 HealthConnectDeviceConfigManager.getInitialisedInstance() in maybeRemoveAppFromPriorityListInternal() 621 HealthConnectDeviceConfigManager.getInitialisedInstance() in shouldAddContributingApps()
|
D | AccessLogsHelper.java | 76 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in queryAccessLogs() 109 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getLatestAccessLogTimeStamp() 126 TransactionManager.getInitialisedInstance().insert(request); in addAccessLog()
|
D | ChangeLogsRequestHelper.java | 99 TransactionManager.getInitialisedInstance() in getToken() 135 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getRequest() 163 TransactionManager.getInitialisedInstance() in getNextPageToken()
|
D | ActivityDateHelper.java | 80 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in insertRecordDate() 119 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in reSyncByRecordTypeIds() 196 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in readDates()
|
D | AppInfoHelper.java | 301 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populateAppInfoMap() 412 TransactionManager.getInitialisedInstance() in syncAppInfoRecordTypesUsed() 544 TransactionManager.getInitialisedInstance().update(upsertRequestForAppInfoUpdate); in updateAppInfoRecordTypesUsedSync() 620 TransactionManager.getInitialisedInstance() in insertIfNotPresent() 642 TransactionManager.getInitialisedInstance().updateTable(upsertTableRequest); in updateIfPresent()
|
D | DeviceInfoHelper.java | 130 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populateDeviceInfoMap() 169 TransactionManager.getInitialisedInstance() in insertIfNotPresent()
|
D | DeriveBasalCaloriesBurnedHelper.java | 146 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in derivedBasalCaloriesViaReadBack() 318 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getReadCursorForDerivingBMR()
|
D | ExerciseSessionRecordHelper.java | 332 return HealthConnectDeviceConfigManager.getInitialisedInstance() in isRecordOperationsEnabled() 430 && HealthConnectDeviceConfigManager.getInitialisedInstance() in isExerciseRouteFeatureEnabled() 436 && HealthConnectDeviceConfigManager.getInitialisedInstance() in isReadExerciseRouteAllFeatureEnabled()
|
D | ChangeLogsHelper.java | 128 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getChangeLogs() 153 return TransactionManager.getInitialisedInstance().getLastRowIdFor(TABLE_NAME); in getLatestRowId()
|
D | DeriveTotalCaloriesBurnedHelper.java | 82 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in inititalizeCursors()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectManagerService.java | 110 HealthConnectDeviceConfigManager.getInitialisedInstance(), in HealthConnectManagerService() 122 new MigratorPackageChangesReceiver(MigrationStateManager.getInitialisedInstance()) in onStart() 125 HealthConnectDeviceConfigManager.getInitialisedInstance().updateRateLimiterValues(); in onStart() 146 MigrationStateManager.getInitialisedInstance(); in onUserSwitching() 215 MigrationStateManager.getInitialisedInstance() in switchToSetupForUser()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | AutoDeleteService.java | 102 TransactionManager.getInitialisedInstance() in deleteStaleRecordEntries() 113 TransactionManager.getInitialisedInstance() in deleteStaleChangeLogEntries() 126 TransactionManager.getInitialisedInstance() in deleteStaleAccessLogEntries()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | PermissionPackageChangesOrchestratorTest.java | 78 when(TransactionManager.getInitialisedInstance()).thenReturn(mTransactionManager); in setUp() 79 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | RateLimiterTest.java | 69 HealthConnectDeviceConfigManager.getInitialisedInstance() in setUp() 81 HealthConnectDeviceConfigManager.getInitialisedInstance() in tearDown()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/logging/ |
D | DailyLoggingServiceTest.java | 125 .when(TransactionManager::getInitialisedInstance); in testDatabaseLogsStats() 167 .when(TransactionManager::getInitialisedInstance); in testDatabaseLogsStats_userDoesNotUseHealthConnect()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | ImportManager.java | 119 int currentDbVersion = TransactionManager.getInitialisedInstance().getDatabaseVersion(); in canMerge()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | AggregateTransactionRequest.java | 107 TransactionManager.getInitialisedInstance() in getAggregateDataResponseParcel()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | MigrationNotificationSender.java | 66 if (!HealthConnectDeviceConfigManager.getInitialisedInstance() in sendNotification()
|