Home
last modified time | relevance | path

Searched refs:databaseBuilder (Results 1 – 17 of 17) sorted by relevance

/frameworks/support/room/runtime/src/test/java/androidx/room/
DBuilderTest.java49 Room.databaseBuilder(null, RoomDatabase.class, "bla").build(); in nullContext()
61 Room.databaseBuilder(mock(Context.class), RoomDatabase.class, null).build(); in nullName()
66 Room.databaseBuilder(mock(Context.class), RoomDatabase.class, " ").build(); in emptyName()
73 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migration()
89 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migrationOverride()
104 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migrationJump()
119 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migrationDowngrade()
253 TestDatabase db = Room.databaseBuilder(context, TestDatabase.class, "foo") in createWriteAheadLogging()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DMigrationTest.java115 MigrationDb db = Room.databaseBuilder( in getLatestDb()
237 MigrationDb db = Room.databaseBuilder(targetContext, MigrationDb.class, TEST_DB) in missingMigration()
254 MigrationDb db = Room.databaseBuilder(targetContext, MigrationDb.class, TEST_DB) in missingMigrationNuke()
268 MigrationDb db = Room.databaseBuilder( in failWithIdentityCheck()
295 MigrationDb db = Room.databaseBuilder(targetContext, MigrationDb.class, TEST_DB) in fallbackToDestructiveMigrationFrom_destructiveMigrationOccursForSuppliedVersion()
311 Room.databaseBuilder(targetContext, MigrationDb.class, TEST_DB) in fallbackToDestructiveMigrationFrom_suppliedValueIsMigrationStartVersion_exception()
335 Room.databaseBuilder(targetContext, MigrationDb.class, TEST_DB) in fallbackToDestructiveMigrationFrom_suppliedValueIsMigrationEndVersion_exception()
DJournalDbPostMigrationTest.java139 return Room.databaseBuilder(InstrumentationRegistry.getTargetContext(), in getDb()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DDatabaseCallbackTest.java57 db1 = Room.databaseBuilder(context, TestDatabase.class, "test") in createAndOpen()
68 db2 = Room.databaseBuilder(context, TestDatabase.class, "test") in createAndOpen()
DClearAllTablesTest.java208 db = Room.databaseBuilder(context, ClearAllTablesDatabase.class, dbName) in clearsDataFromDisk()
216 db = Room.databaseBuilder(context, ClearAllTablesDatabase.class, dbName) in clearsDataFromDisk()
DIdentityDetectionTest.java104 mTestDatabase = Room.databaseBuilder(InstrumentationRegistry.getTargetContext(), in openDb()
DCustomDatabaseTest.java54 Room.databaseBuilder(context, SampleDatabase.class, "db") in invalidationTrackerAfterClose()
DWriteAheadLoggingTest.java76 mDatabase = Room.databaseBuilder(context, TestDatabase.class, DATABASE_NAME) in openDatabase()
108 mDatabase = Room.databaseBuilder(context, TestDatabase.class, DATABASE_NAME) in disableWal()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/db/
DTestDatabase.java39 sInstance = Room.databaseBuilder( in getInstance()
/frameworks/support/room/runtime/src/main/java/androidx/room/
DRoom.java48 public static <T extends RoomDatabase> RoomDatabase.Builder<T> databaseBuilder( in databaseBuilder() method in Room
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkDatabase.java96 builder = Room.databaseBuilder(context, WorkDatabase.class, DB_NAME); in create()
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/
DCustomerViewModel.java52 mDatabase = Room.databaseBuilder(this.getApplication(), in createDb()
/frameworks/support/room/runtime/api_legacy/
D1.0.0.txt27 ….RoomDatabase> android.arch.persistence.room.RoomDatabase.Builder<T> databaseBuilder(android.conte…
D1.1.0.txt29 ….RoomDatabase> android.arch.persistence.room.RoomDatabase.Builder<T> databaseBuilder(android.conte…
Dcurrent.txt29 ….RoomDatabase> android.arch.persistence.room.RoomDatabase.Builder<T> databaseBuilder(android.conte…
/frameworks/support/room/runtime/api/
Dcurrent.txt29 …ds androidx.room.RoomDatabase> androidx.room.RoomDatabase.Builder<T> databaseBuilder(android.conte…
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/
DMigrationKotlinTest.kt100 val db = Room.databaseBuilder( in getLatestDb()