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()
663 File schemaFile = mContext.getFileStreamPath(DOWNGRADE_SCHEMA_FILE); in onOpen() local664 if (!schemaFile.exists()) { in onOpen()667 DbDowngradeHelper.updateSchemaFile(schemaFile, SCHEMA_VERSION, mContext); in onOpen()