Searched refs:getDatabaseVersion (Results 1 – 8 of 8) sorted by relevance
431 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()
60 int dbVersion = DatabaseHelper.getDatabaseVersion(context); in tryMigratingDatabases()
368 public static int getDatabaseVersion() { in getDatabaseVersion() method in LegacyDatabaseHelper
250 this(context, name, getDatabaseVersion(context), earlyUpgrade, legacyProvider, in DatabaseHelper()990 public static int getDatabaseVersion(Context context) { in getDatabaseVersion() method in DatabaseHelper
3525 c.addRow(new Integer[] {DatabaseHelper.getDatabaseVersion(getContext())}); in queryInternal()
48 private static final int getDatabaseVersion(final Context context) { in getDatabaseVersion() method in DatabaseHelper597 super(context, DATABASE_NAME, null, getDatabaseVersion(context), null); in DatabaseHelper()
592 public int getDatabaseVersion() { in getDatabaseVersion() method in TransactionManager
575 int currentDbVersion = TransactionManager.getInitialisedInstance().getDatabaseVersion(); in merge()