/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DatabaseStatsCollector.java | 21 import com.android.server.healthconnect.storage.TransactionManager; 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 | ActivityDateHelper.java | 32 import com.android.server.healthconnect.storage.TransactionManager; 80 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in insertRecordDate() 119 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in reSyncByRecordTypeIds() 156 List<Integer> recordTypeIds, TransactionManager transactionManager) { in fetchUpdatedDates() 196 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in readDates()
|
D | PreferenceHelper.java | 29 import com.android.server.healthconnect.storage.TransactionManager; 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 | AccessLogsHelper.java | 36 import com.android.server.healthconnect.storage.TransactionManager; 76 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in queryAccessLogs() 109 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getLatestAccessLogTimeStamp() 126 TransactionManager.getInitialisedInstance().insert(request); in addAccessLog()
|
D | DatabaseHelper.java | 22 import com.android.server.healthconnect.storage.TransactionManager; 52 public static void clearAllData(@NonNull TransactionManager transactionManager) { in clearAllData() 65 protected void clearData(@NonNull TransactionManager transactionManager) { in clearData()
|
D | ChangeLogsRequestHelper.java | 37 import com.android.server.healthconnect.storage.TransactionManager; 99 TransactionManager.getInitialisedInstance() in getToken() 135 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getRequest() 163 TransactionManager.getInitialisedInstance() in getNextPageToken()
|
D | DeriveTotalCaloriesBurnedHelper.java | 33 import com.android.server.healthconnect.storage.TransactionManager; 82 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in inititalizeCursors()
|
D | DeviceInfoHelper.java | 35 import com.android.server.healthconnect.storage.TransactionManager; 130 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populateDeviceInfoMap() 169 TransactionManager.getInitialisedInstance() in insertIfNotPresent()
|
D | DeriveBasalCaloriesBurnedHelper.java | 36 import com.android.server.healthconnect.storage.TransactionManager; 146 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in derivedBasalCaloriesViaReadBack() 318 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in getReadCursorForDerivingBMR()
|
D | HealthDataCategoryPriorityHelper.java | 45 import com.android.server.healthconnect.storage.TransactionManager; 289 protected synchronized void clearData(@NonNull TransactionManager transactionManager) { in clearData() 325 final TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populateDataCategoryToAppIdPriorityMap() 346 TransactionManager.getInitialisedInstance().insertOrReplace(request); in safelyUpdateDBAndUpdateCache() 357 TransactionManager.getInitialisedInstance().delete(request); in safelyUpdateDBAndUpdateCache() 459 UserHandle user = TransactionManager.getInitialisedInstance().getCurrentUserHandle(); in getValidHealthApps()
|
D | AppInfoHelper.java | 57 import com.android.server.healthconnect.storage.TransactionManager; 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 | MigrationEntityHelper.java | 29 import com.android.server.healthconnect.storage.TransactionManager; 50 public void clearData(@NonNull TransactionManager transactionManager) { in clearData()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | HealthConnectDatabaseTestRule.java | 30 import com.android.server.healthconnect.storage.TransactionManager; 43 private TransactionManager mTransactionManager; 58 TransactionManager.cleanUpForTest(); in before() 59 mTransactionManager = TransactionManager.getInstance(mContext); in before() 66 TransactionManager.cleanUpForTest(); in after() 76 public TransactionManager getTransactionManager() { in getTransactionManager()
|
D | TransactionTestUtils.java | 46 import com.android.server.healthconnect.storage.TransactionManager; 66 private final TransactionManager mTransactionManager; 69 public TransactionTestUtils(Context context, TransactionManager transactionManager) { in TransactionTestUtils()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | PriorityMigrationHelper.java | 31 import com.android.server.healthconnect.storage.TransactionManager; 80 if (TransactionManager.getInitialisedInstance() in populatePreMigrationPriority() 108 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in cachePreMigrationTable() 124 public void clearData(@NonNull TransactionManager transactionManager) { in clearData() 151 TransactionManager transactionManager = TransactionManager.getInitialisedInstance(); in populatePreMigrationTable()
|
D | MigrationCleaner.java | 23 import com.android.server.healthconnect.storage.TransactionManager; 36 private final TransactionManager mTransactionManager; 40 @NonNull TransactionManager transactionManager, in MigrationCleaner()
|
/packages/services/Telecomm/src/com/android/server/telecom/voip/ |
D | TransactionManager.java | 36 public class TransactionManager { class 39 private static TransactionManager INSTANCE = null; 50 private TransactionManager() { in TransactionManager() method in TransactionManager 59 public static TransactionManager getInstance() { in getInstance() 62 INSTANCE = new TransactionManager(); in getInstance() 69 public static TransactionManager getTestInstance() { in getTestInstance() 70 return new TransactionManager(); in getTestInstance()
|
D | ParallelTransaction.java | 43 TransactionManager.TransactionCompleteListener subTransactionListener = in processTransactions() 44 new TransactionManager.TransactionCompleteListener() { in processTransactions()
|
D | SerialTransaction.java | 47 TransactionManager.TransactionCompleteListener subTransactionListener = in processTransactions() 48 new TransactionManager.TransactionCompleteListener() { in processTransactions()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/logging/ |
D | DailyLoggingServiceTest.java | 44 import com.android.server.healthconnect.storage.TransactionManager; 74 .mockStatic(TransactionManager.class) 122 TransactionManager transactionManager = mock(TransactionManager.class); in testDatabaseLogsStats() 125 .when(TransactionManager::getInitialisedInstance); in testDatabaseLogsStats() 164 TransactionManager transactionManager = mock(TransactionManager.class); in testDatabaseLogsStats_userDoesNotUseHealthConnect() 167 .when(TransactionManager::getInitialisedInstance); in testDatabaseLogsStats_userDoesNotUseHealthConnect()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | PermissionPackageChangesOrchestratorTest.java | 39 import com.android.server.healthconnect.storage.TransactionManager; 55 .mockStatic(TransactionManager.class) 68 @Mock private TransactionManager mTransactionManager; 78 when(TransactionManager.getInitialisedInstance()).thenReturn(mTransactionManager); in setUp()
|
/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/migration/ |
D | PriorityMigrationHelperTest.java | 39 import com.android.server.healthconnect.storage.TransactionManager; 63 .mockStatic(TransactionManager.class) 76 @Mock private TransactionManager mTransactionManager; 84 when(TransactionManager.getInitialisedInstance()).thenReturn(mTransactionManager); in setUp()
|
D | MigrationCleanerTest.java | 29 import com.android.server.healthconnect.storage.TransactionManager; 42 @Mock private TransactionManager mTransactionManager;
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | AutoDeleteServiceTest.java | 33 import com.android.server.healthconnect.storage.TransactionManager; 107 .mockStatic(TransactionManager.class) 115 @Mock private TransactionManager mTransactionManager; 135 when(TransactionManager.getInitialisedInstance()).thenReturn(mTransactionManager); in testStartAutoDelete_getPreferenceReturnNull() 158 when(TransactionManager.getInitialisedInstance()).thenReturn(mTransactionManager); in testStartAutoDelete_getPreferenceReturnNonNull()
|