Lines Matching defs:dbObj
1076 SQLiteDatabase dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null);
1078 assertNotNull(dbObj);
1079 assertTrue(dbObj.isOpen());
1081 errorHandler.onCorruption(dbObj);
1093 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null);
1094 dbObj.execSQL("ATTACH DATABASE ':memory:' as memoryDb");
1095 dbObj.execSQL("ATTACH DATABASE '" + attachedDb1File + "' as attachedDb1");
1098 assertNotNull(dbObj);
1099 assertTrue(dbObj.isOpen());
1100 List<Pair<String, String>> attachedDbs = dbObj.getAttachedDbs();
1102 errorHandler.onCorruption(dbObj);
1116 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null);
1117 dbObj.execSQL("ATTACH DATABASE ':memory:' as memoryDb");
1119 dbObj.execSQL("ATTACH DATABASE '" + attachedDbFiles.get(i) + "' as attachedDb" + i);
1125 assertNotNull(dbObj);
1126 assertTrue(dbObj.isOpen());
1127 attachedDbs = dbObj.getAttachedDbs();
1129 errorHandler.onCorruption(dbObj);