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