Searched refs:dbObj (Results 1 – 4 of 4) sorted by relevance
53 public void onCorruption(SQLiteDatabase dbObj) { in onCorruption() argument54 Log.e(TAG, "Corruption reported by sqlite on database: " + dbObj.getPath()); in onCorruption()57 if (!dbObj.isOpen()) { in onCorruption()64 deleteDatabaseFile(dbObj.getPath()); in onCorruption()73 attachedDbs = dbObj.getAttachedDbs(); in onCorruption()78 dbObj.close(); in onCorruption()91 deleteDatabaseFile(dbObj.getPath()); in onCorruption()
31 void onCorruption(SQLiteDatabase dbObj); in onCorruption() argument
105 public void onCorruption(SQLiteDatabase dbObj) { in onCorruption() argument106 boolean databaseOk = dbObj.isDatabaseIntegrityOk(); in onCorruption()109 dbObj.close(); in onCorruption()
1076 SQLiteDatabase dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler() local1078 assertNotNull(dbObj); in testDefaultDatabaseErrorHandler()1079 assertTrue(dbObj.isOpen()); in testDefaultDatabaseErrorHandler()1081 errorHandler.onCorruption(dbObj); in testDefaultDatabaseErrorHandler()1093 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()1094 dbObj.execSQL("ATTACH DATABASE ':memory:' as memoryDb"); in testDefaultDatabaseErrorHandler()1095 dbObj.execSQL("ATTACH DATABASE '" + attachedDb1File + "' as attachedDb1"); in testDefaultDatabaseErrorHandler()1098 assertNotNull(dbObj); in testDefaultDatabaseErrorHandler()1099 assertTrue(dbObj.isOpen()); in testDefaultDatabaseErrorHandler()1100 List<Pair<String, String>> attachedDbs = dbObj.getAttachedDbs(); in testDefaultDatabaseErrorHandler()[all …]