Home
last modified time | relevance | path

Searched refs:getDatabaseVersion (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/
DBackupRestoreTest.java431 when(mTransactionManager.getDatabaseVersion()).thenReturn(1); in testScheduleAllTimeoutJobs_stagingDone_triggersMergingJob()
595 when(mTransactionManager.getDatabaseVersion()).thenReturn(1); in testMerge_mergingOfGrantTimesIsInvoked()
614 when(mTransactionManager.getDatabaseVersion()).thenReturn(1); in testMerge_mergingOfGrantTimes_parsesRestoredGrantTimes()
635 when(mTransactionManager.getDatabaseVersion()).thenReturn(1); in testMerge_whenErrorVersionDiff_mergingOfGrantTimesIsNotInvoked()
653 when(mTransactionManager.getDatabaseVersion()).thenReturn(1); in testMerge_whenModuleVersionBehind_setsVersionDiffError()
672 when(mTransactionManager.getDatabaseVersion()).thenReturn(1); in testMerge_whenMigrationInProgress_doesNotMergeGrantTimes()
687 when(mTransactionManager.getDatabaseVersion()).thenReturn(1); in testMerge_whenMigrationInProgress_schedulesRetryMergingJob()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaUpgradeReceiver.java60 int dbVersion = DatabaseHelper.getDatabaseVersion(context); in tryMigratingDatabases()
DLegacyDatabaseHelper.java368 public static int getDatabaseVersion() { in getDatabaseVersion() method in LegacyDatabaseHelper
DDatabaseHelper.java250 this(context, name, getDatabaseVersion(context), earlyUpgrade, legacyProvider, in DatabaseHelper()
990 public static int getDatabaseVersion(Context context) { in getDatabaseVersion() method in DatabaseHelper
DMediaProvider.java3525 c.addRow(new Integer[] {DatabaseHelper.getDatabaseVersion(getContext())}); in queryInternal()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java48 private static final int getDatabaseVersion(final Context context) { in getDatabaseVersion() method in DatabaseHelper
597 super(context, DATABASE_NAME, null, getDatabaseVersion(context), null); in DatabaseHelper()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DTransactionManager.java592 public int getDatabaseVersion() { in getDatabaseVersion() method in TransactionManager
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/backuprestore/
DBackupRestore.java575 int currentDbVersion = TransactionManager.getInitialisedInstance().getDatabaseVersion(); in merge()