Home
last modified time | relevance | path

Searched refs:getInitialisedInstance (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateChangeJob.java57 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 …]
DPriorityMigrationHelper.java80 if (TransactionManager.getInitialisedInstance() in populatePreMigrationPriority()
108 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in cachePreMigrationTable()
151 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populatePreMigrationTable()
DMigrationBroadcastScheduler.java56 HealthConnectDeviceConfigManager.getInitialisedInstance();
82 int migrationState = MigrationStateManager.getInitialisedInstance().getMigrationState(); in scheduleNewJobs()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationBroadcastSchedulingTest.java102 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 …]
DMigrationTestUtils.java50 return HealthConnectDeviceConfigManager.getInitialisedInstance().getExecutionTimeBuffer() in getTimeoutPeriodBuffer()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDatabaseStatsCollector.java33 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()
DPreferenceHelper.java66 TransactionManager.getInitialisedInstance() in insertOrReplacePreference()
75 TransactionManager.getInitialisedInstance() in removeKey()
91 TransactionManager.getInitialisedInstance().insertOrReplaceAll(requests); in insertOrReplacePreferencesTransaction()
142 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populatePreferences()
DHealthDataCategoryPriorityHelper.java218 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()
DAccessLogsHelper.java76 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in queryAccessLogs()
109 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getLatestAccessLogTimeStamp()
126 TransactionManager.getInitialisedInstance().insert(request); in addAccessLog()
DChangeLogsRequestHelper.java99 TransactionManager.getInitialisedInstance() in getToken()
135 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getRequest()
163 TransactionManager.getInitialisedInstance() in getNextPageToken()
DActivityDateHelper.java80 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in insertRecordDate()
119 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in reSyncByRecordTypeIds()
196 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in readDates()
DAppInfoHelper.java301 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()
DDeviceInfoHelper.java130 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populateDeviceInfoMap()
169 TransactionManager.getInitialisedInstance() in insertIfNotPresent()
DDeriveBasalCaloriesBurnedHelper.java146 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in derivedBasalCaloriesViaReadBack()
318 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getReadCursorForDerivingBMR()
DExerciseSessionRecordHelper.java332 return HealthConnectDeviceConfigManager.getInitialisedInstance() in isRecordOperationsEnabled()
430 && HealthConnectDeviceConfigManager.getInitialisedInstance() in isExerciseRouteFeatureEnabled()
436 && HealthConnectDeviceConfigManager.getInitialisedInstance() in isReadExerciseRouteAllFeatureEnabled()
DChangeLogsHelper.java128 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getChangeLogs()
153 return TransactionManager.getInitialisedInstance().getLastRowIdFor(TABLE_NAME); in getLatestRowId()
DDeriveTotalCaloriesBurnedHelper.java82 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in inititalizeCursors()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectManagerService.java110 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/
DAutoDeleteService.java102 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/
DPermissionPackageChangesOrchestratorTest.java78 when(TransactionManager.getInitialisedInstance()).thenReturn(mTransactionManager); in setUp()
79 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DRateLimiterTest.java69 HealthConnectDeviceConfigManager.getInitialisedInstance() in setUp()
81 HealthConnectDeviceConfigManager.getInitialisedInstance() in tearDown()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/logging/
DDailyLoggingServiceTest.java125 .when(TransactionManager::getInitialisedInstance); in testDatabaseLogsStats()
167 .when(TransactionManager::getInitialisedInstance); in testDatabaseLogsStats_userDoesNotUseHealthConnect()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DImportManager.java119 int currentDbVersion = TransactionManager.getInitialisedInstance().getDatabaseVersion(); in canMerge()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DAggregateTransactionRequest.java107 TransactionManager.getInitialisedInstance() in getAggregateDataResponseParcel()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java66 if (!HealthConnectDeviceConfigManager.getInitialisedInstance() in sendNotification()

12