Searched refs:ceDbFile (Results 1 – 1 of 1) sorted by relevance
300 private static boolean migratePreNDbToCe(File oldDbFile, File ceDbFile) { in migratePreNDbToCe() argument301 Slog.i(TAG, "Moving pre-N DB " + oldDbFile + " to CE " + ceDbFile); in migratePreNDbToCe()303 FileUtils.copyFileOrThrow(oldDbFile, ceDbFile); in migratePreNDbToCe()305 Slog.e(TAG, "Cannot copy file to " + ceDbFile + " from " + oldDbFile, e); in migratePreNDbToCe()307 deleteDbFileWarnIfFailed(ceDbFile); in migratePreNDbToCe()1270 void attachCeDatabase(File ceDbFile) { in attachCeDatabase() argument1271 CeDatabaseHelper.create(mContext, mPreNDatabaseFile, ceDbFile); in attachCeDatabase()1273 db.execSQL("ATTACH DATABASE '" + ceDbFile.getPath()+ "' AS ceDb"); in attachCeDatabase()