Searched refs:schemaFile (Results 1 – 2 of 2) sorted by relevance
91 public static void updateSchemaFile(File schemaFile, int expectedVersion, Context context) { in updateSchemaFile() argument93 if (DbDowngradeHelper.parse(schemaFile).version >= expectedVersion) { in updateSchemaFile()101 try (FileOutputStream fos = new FileOutputStream(schemaFile); in updateSchemaFile()
766 File schemaFile = mContext.getFileStreamPath(DOWNGRADE_SCHEMA_FILE); in onOpen() local767 if (!schemaFile.exists()) { in onOpen()770 DbDowngradeHelper.updateSchemaFile(schemaFile, SCHEMA_VERSION, mContext); in onOpen()