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()55 SQLiteDatabase.wipeDetected(dbObj.getPath(), "corruption"); in onCorruption()58 if (!dbObj.isOpen()) { in onCorruption()65 deleteDatabaseFile(dbObj.getPath()); in onCorruption()74 attachedDbs = dbObj.getAttachedDbs(); in onCorruption()79 dbObj.close(); in onCorruption()92 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()
1152 SQLiteDatabase dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler() local1154 assertNotNull(dbObj); in testDefaultDatabaseErrorHandler()1155 assertTrue(dbObj.isOpen()); in testDefaultDatabaseErrorHandler()1157 errorHandler.onCorruption(dbObj); in testDefaultDatabaseErrorHandler()1169 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()1170 dbObj.execSQL("ATTACH DATABASE ':memory:' as memoryDb"); in testDefaultDatabaseErrorHandler()1171 dbObj.execSQL("ATTACH DATABASE '" + attachedDb1File + "' as attachedDb1"); in testDefaultDatabaseErrorHandler()1174 assertNotNull(dbObj); in testDefaultDatabaseErrorHandler()1175 assertTrue(dbObj.isOpen()); in testDefaultDatabaseErrorHandler()1176 List<Pair<String, String>> attachedDbs = dbObj.getAttachedDbs(); in testDefaultDatabaseErrorHandler()[all …]