/frameworks/support/room/runtime/src/main/java/androidx/room/ |
D | RoomOpenHelper.java | 26 import androidx.sqlite.db.SupportSQLiteDatabase; 67 public void onConfigure(SupportSQLiteDatabase db) { in onConfigure() 72 public void onCreate(SupportSQLiteDatabase db) { in onCreate() 79 public void onUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 109 public void onDowngrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 114 public void onOpen(SupportSQLiteDatabase db) { in onOpen() 122 private void checkIdentity(SupportSQLiteDatabase db) { in checkIdentity() 142 private void updateIdentity(SupportSQLiteDatabase db) { in updateIdentity() 147 private void createMasterTableIfNotExists(SupportSQLiteDatabase db) { in createMasterTableIfNotExists() 151 private static boolean hasRoomMasterTable(SupportSQLiteDatabase db) { in hasRoomMasterTable() [all …]
|
D | RoomDatabase.java | 37 import androidx.sqlite.db.SupportSQLiteDatabase; 72 protected volatile SupportSQLiteDatabase mDatabase; 174 final SupportSQLiteDatabase db = mDatabase; in isOpen() 253 SupportSQLiteDatabase database = mOpenHelper.getWritableDatabase(); in beginTransaction() 323 protected void internalInitInvalidationTracker(@NonNull SupportSQLiteDatabase db) { in internalInitInvalidationTracker() 747 public void onCreate(@NonNull SupportSQLiteDatabase db) { 755 public void onOpen(@NonNull SupportSQLiteDatabase db) {
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/ |
D | MigrationTest.java | 38 import androidx.sqlite.db.SupportSQLiteDatabase; 80 SupportSQLiteDatabase db = helper.createDatabase(TEST_DB, in startInCurrentVersion() 93 SupportSQLiteDatabase db = helper.createDatabase(TEST_DB, 1); in addTable() 132 SupportSQLiteDatabase db = helper.createDatabase(TEST_DB, 2); in addColumnFailure() 145 SupportSQLiteDatabase db = helper.createDatabase(TEST_DB, 2); in addColumn() 171 final SupportSQLiteDatabase db = helper.runMigrationsAndValidate(TEST_DB, in removeColumn() 180 final SupportSQLiteDatabase db = helper.runMigrationsAndValidate(TEST_DB, in dropTable() 194 final SupportSQLiteDatabase db = helper.runMigrationsAndValidate(TEST_DB, in failedToDropTableDontVerify() 202 final SupportSQLiteDatabase db = helper.createDatabase(TEST_DB, 6); in failedForeignKey() 209 public void migrate(SupportSQLiteDatabase database) { in failedForeignKey() [all …]
|
D | MigrationDb.java | 33 import androidx.sqlite.db.SupportSQLiteDatabase; 103 final SupportSQLiteDatabase mDb; 105 Dao_V1(SupportSQLiteDatabase db) { in Dao_V1() 125 final SupportSQLiteDatabase mDb; 127 Dao_V2(SupportSQLiteDatabase db) { in Dao_V2()
|
D | JournalDbPostMigrationTest.java | 46 import androidx.sqlite.db.SupportSQLiteDatabase; 115 public void migrate(@NonNull SupportSQLiteDatabase database) { 133 public void migrate(@NonNull SupportSQLiteDatabase database) { 144 public void onCreate(@NonNull SupportSQLiteDatabase db) { in getDb() 149 public void onOpen(@NonNull SupportSQLiteDatabase db) { in getDb()
|
/frameworks/support/room/testing/src/main/java/androidx/room/testing/ |
D | MigrationTestHelper.java | 36 import androidx.sqlite.db.SupportSQLiteDatabase; 82 private List<WeakReference<SupportSQLiteDatabase>> mManagedDatabases = new ArrayList<>(); 133 public SupportSQLiteDatabase createDatabase(String name, int version) throws IOException { in createDatabase() 180 public SupportSQLiteDatabase runMigrationsAndValidate(String name, int version, in runMigrationsAndValidate() 203 private SupportSQLiteDatabase openDatabase(String name, RoomOpenHelper roomOpenHelper) { in openDatabase() 210 SupportSQLiteDatabase db = mOpenFactory.create(config).getWritableDatabase(); in openDatabase() 218 for (WeakReference<SupportSQLiteDatabase> dbRef : mManagedDatabases) { in finished() 219 SupportSQLiteDatabase db = dbRef.get(); in finished() 243 public void closeWhenFinished(SupportSQLiteDatabase db) { in closeWhenFinished() 360 protected void createAllTables(SupportSQLiteDatabase database) { in createAllTables() [all …]
|
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
D | SupportSQLiteOpenHelper.java | 80 SupportSQLiteDatabase getWritableDatabase(); in getWritableDatabase() 100 SupportSQLiteDatabase getReadableDatabase(); in getReadableDatabase() 149 public void onConfigure(SupportSQLiteDatabase db) { in onConfigure() 159 public abstract void onCreate(SupportSQLiteDatabase db); in onCreate() 181 public abstract void onUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() 200 public void onDowngrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 218 public void onOpen(SupportSQLiteDatabase db) { in onOpen() 229 public void onCorruption(SupportSQLiteDatabase db) { in onCorruption()
|
/frameworks/support/persistence/db/ktx/src/test/java/androidx/sqlite/db/ |
D | SupportSQLiteDatabaseTest.kt | 27 val db = mock(SupportSQLiteDatabase::class.java) in exclusiveDefault() 33 val db = mock(SupportSQLiteDatabase::class.java) in exclusiveFalse() 39 val db = mock(SupportSQLiteDatabase::class.java) in exclusiveTrue() 45 val db = mock(SupportSQLiteDatabase::class.java) in bodyNormalCallsSuccessAndEnd() 53 val db = mock(SupportSQLiteDatabase::class.java) in bodyThrowsDoesNotCallSuccess()
|
/frameworks/support/room/compiler/src/test/data/databasewriter/output/ |
D | ComplexDatabase.java | 11 import androidx.sqlite.db.SupportSQLiteDatabase; 32 public void createAllTables(SupportSQLiteDatabase _db) { in createOpenHelper() 39 public void dropAllTables(SupportSQLiteDatabase _db) { in createOpenHelper() 44 protected void onCreate(SupportSQLiteDatabase _db) { in createOpenHelper() 53 public void onOpen(SupportSQLiteDatabase _db) { in createOpenHelper() 64 protected void validateMigration(SupportSQLiteDatabase _db) { in createOpenHelper() 97 final SupportSQLiteDatabase _db = super.getOpenHelper().getWritableDatabase(); in clearAllTables()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | CustomDatabaseTest.java | 36 import androidx.sqlite.db.SupportSQLiteDatabase; 86 public SupportSQLiteDatabase answer(InvocationOnMock invocation) in create() 88 final SupportSQLiteDatabase db = helper.getWritableDatabase(); in create() 89 SupportSQLiteDatabase dbMock = mock(SupportSQLiteDatabase.class, in create()
|
D | DatabaseCallbackTest.java | 38 import androidx.sqlite.db.SupportSQLiteDatabase; 95 public void onCreate(@NonNull SupportSQLiteDatabase db) { in writeOnCreate() 123 public void onCreate(@NonNull SupportSQLiteDatabase db) { in onCreate() 128 public void onOpen(@NonNull SupportSQLiteDatabase db) { in onOpen()
|
D | IdentityDetectionTest.java | 32 import androidx.sqlite.db.SupportSQLiteDatabase; 67 SupportSQLiteDatabase db = mTestDatabase.getOpenHelper().getWritableDatabase(); in reOpenChangedHash() 87 SupportSQLiteDatabase db = mTestDatabase.getOpenHelper().getWritableDatabase(); in reOpenMasterTableDropped()
|
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/ |
D | MigrationKotlinTest.kt | 24 import androidx.sqlite.db.SupportSQLiteDatabase 205 override fun migrate(database: SupportSQLiteDatabase) { in failedForeignKey() 246 override fun migrate(database: SupportSQLiteDatabase) { in migrate() 253 override fun migrate(database: SupportSQLiteDatabase) { in migrate() 260 override fun migrate(database: SupportSQLiteDatabase) { in migrate() 267 override fun migrate(database: SupportSQLiteDatabase) { in migrate() 278 override fun migrate(database: SupportSQLiteDatabase) { in migrate() 284 override fun migrate(database: SupportSQLiteDatabase) { in migrate() 301 override fun migrate(database: SupportSQLiteDatabase) { in migrate()
|
D | MigrationDbKotlin.kt | 31 import androidx.sqlite.db.SupportSQLiteDatabase 94 internal class Dao_V1(val mDb: SupportSQLiteDatabase) { in loadAllEntity1s() 111 internal class Dao_V2(val mDb: SupportSQLiteDatabase) {
|
/frameworks/support/persistence/db-framework/src/main/java/androidx/sqlite/db/framework/ |
D | FrameworkSQLiteOpenHelper.java | 25 import androidx.sqlite.db.SupportSQLiteDatabase; 53 public SupportSQLiteDatabase getWritableDatabase() { in getWritableDatabase() 58 public SupportSQLiteDatabase getReadableDatabase() { in getReadableDatabase() 94 synchronized SupportSQLiteDatabase getWritableSupportDatabase() { in getWritableSupportDatabase() 105 synchronized SupportSQLiteDatabase getReadableSupportDatabase() { in getReadableSupportDatabase()
|
/frameworks/support/room/testing/api/ |
D | current.txt | 6 method public void closeWhenFinished(androidx.sqlite.db.SupportSQLiteDatabase); 8 …method public androidx.sqlite.db.SupportSQLiteDatabase createDatabase(java.lang.String, int) throw… 9 …method public androidx.sqlite.db.SupportSQLiteDatabase runMigrationsAndValidate(java.lang.String, …
|
/frameworks/support/room/testing/api_legacy/ |
D | current.txt | 6 method public void closeWhenFinished(android.arch.persistence.db.SupportSQLiteDatabase); 8 …method public android.arch.persistence.db.SupportSQLiteDatabase createDatabase(java.lang.String, i… 9 …method public android.arch.persistence.db.SupportSQLiteDatabase runMigrationsAndValidate(java.lang…
|
D | 1.0.0.txt | 6 method public void closeWhenFinished(android.arch.persistence.db.SupportSQLiteDatabase); 8 …method public android.arch.persistence.db.SupportSQLiteDatabase createDatabase(java.lang.String, i… 9 …method public android.arch.persistence.db.SupportSQLiteDatabase runMigrationsAndValidate(java.lang…
|
D | 1.1.0.txt | 6 method public void closeWhenFinished(android.arch.persistence.db.SupportSQLiteDatabase); 8 …method public android.arch.persistence.db.SupportSQLiteDatabase createDatabase(java.lang.String, i… 9 …method public android.arch.persistence.db.SupportSQLiteDatabase runMigrationsAndValidate(java.lang…
|
/frameworks/support/persistence/db/api/ |
D | current.txt | 12 public abstract interface SupportSQLiteDatabase implements java.io.Closeable { 56 method public abstract androidx.sqlite.db.SupportSQLiteDatabase getReadableDatabase(); 57 method public abstract androidx.sqlite.db.SupportSQLiteDatabase getWritableDatabase(); 63 method public void onConfigure(androidx.sqlite.db.SupportSQLiteDatabase); 64 method public void onCorruption(androidx.sqlite.db.SupportSQLiteDatabase); 65 method public abstract void onCreate(androidx.sqlite.db.SupportSQLiteDatabase); 66 method public void onDowngrade(androidx.sqlite.db.SupportSQLiteDatabase, int, int); 67 method public void onOpen(androidx.sqlite.db.SupportSQLiteDatabase); 68 method public abstract void onUpgrade(androidx.sqlite.db.SupportSQLiteDatabase, int, int);
|
/frameworks/support/persistence/db/ktx/src/main/java/androidx/sqlite/db/ |
D | SupportSQLiteDatabase.kt | 24 inline fun <T> SupportSQLiteDatabase.transaction( in transaction() 26 body: SupportSQLiteDatabase.() -> T in transaction()
|
/frameworks/support/room/runtime/src/main/java/androidx/room/migration/ |
D | Migration.java | 20 import androidx.sqlite.db.SupportSQLiteDatabase; 62 public abstract void migrate(@NonNull SupportSQLiteDatabase database); in migrate()
|
/frameworks/support/persistence/db/api_legacy/ |
D | 1.0.0.txt | 11 public abstract interface SupportSQLiteDatabase implements java.io.Closeable { 55 method public abstract android.arch.persistence.db.SupportSQLiteDatabase getReadableDatabase(); 56 method public abstract android.arch.persistence.db.SupportSQLiteDatabase getWritableDatabase(); 62 method public void onConfigure(android.arch.persistence.db.SupportSQLiteDatabase); 63 method public void onCorruption(android.arch.persistence.db.SupportSQLiteDatabase); 64 method public abstract void onCreate(android.arch.persistence.db.SupportSQLiteDatabase); 65 method public void onDowngrade(android.arch.persistence.db.SupportSQLiteDatabase, int, int); 66 method public void onOpen(android.arch.persistence.db.SupportSQLiteDatabase); 67 …method public abstract void onUpgrade(android.arch.persistence.db.SupportSQLiteDatabase, int, int);
|
D | 1.1.0.txt | 12 public abstract interface SupportSQLiteDatabase implements java.io.Closeable { 56 method public abstract android.arch.persistence.db.SupportSQLiteDatabase getReadableDatabase(); 57 method public abstract android.arch.persistence.db.SupportSQLiteDatabase getWritableDatabase(); 63 method public void onConfigure(android.arch.persistence.db.SupportSQLiteDatabase); 64 method public void onCorruption(android.arch.persistence.db.SupportSQLiteDatabase); 65 method public abstract void onCreate(android.arch.persistence.db.SupportSQLiteDatabase); 66 method public void onDowngrade(android.arch.persistence.db.SupportSQLiteDatabase, int, int); 67 method public void onOpen(android.arch.persistence.db.SupportSQLiteDatabase); 68 …method public abstract void onUpgrade(android.arch.persistence.db.SupportSQLiteDatabase, int, int);
|
D | current.txt | 12 public abstract interface SupportSQLiteDatabase implements java.io.Closeable { 56 method public abstract android.arch.persistence.db.SupportSQLiteDatabase getReadableDatabase(); 57 method public abstract android.arch.persistence.db.SupportSQLiteDatabase getWritableDatabase(); 63 method public void onConfigure(android.arch.persistence.db.SupportSQLiteDatabase); 64 method public void onCorruption(android.arch.persistence.db.SupportSQLiteDatabase); 65 method public abstract void onCreate(android.arch.persistence.db.SupportSQLiteDatabase); 66 method public void onDowngrade(android.arch.persistence.db.SupportSQLiteDatabase, int, int); 67 method public void onOpen(android.arch.persistence.db.SupportSQLiteDatabase); 68 …method public abstract void onUpgrade(android.arch.persistence.db.SupportSQLiteDatabase, int, int);
|