Home
last modified time | relevance | path

Searched refs:Room (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/support/room/runtime/src/test/java/androidx/room/
DBuilderTest.java49 Room.databaseBuilder(null, RoomDatabase.class, "bla").build(); in nullContext()
55 Room.inMemoryDatabaseBuilder(null, RoomDatabase.class).build(); in nullContext2()
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()
131 TestDatabase db = Room.inMemoryDatabaseBuilder(context, TestDatabase.class) in skipMigration()
143 TestDatabase db = Room.inMemoryDatabaseBuilder(context, TestDatabase.class) in fallbackToDestructiveMigrationFrom_calledOnce_migrationsNotRequiredForValues()
[all …]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DIdentityDetectionTest.java29 import androidx.room.Room;
68 db.execSQL("UPDATE " + Room.MASTER_TABLE_NAME + " SET `identity_hash` = ?" in reOpenChangedHash()
88 db.execSQL("DROP TABLE " + Room.MASTER_TABLE_NAME); in reOpenMasterTableDropped()
104 mTestDatabase = Room.databaseBuilder(InstrumentationRegistry.getTargetContext(), in openDb()
DDatabaseCallbackTest.java34 import androidx.room.Room;
57 db1 = Room.databaseBuilder(context, TestDatabase.class, "test") in createAndOpen()
68 db2 = Room.databaseBuilder(context, TestDatabase.class, "test") in createAndOpen()
92 TestDatabase db = Room.inMemoryDatabaseBuilder(context, TestDatabase.class) in writeOnCreate()
DRxJava2WithInstantTaskExecutorTest.java24 import androidx.room.Room;
47 mDatabase = Room.inMemoryDatabaseBuilder(InstrumentationRegistry.getContext(), in initDb()
DPojoTest.java27 import androidx.room.Room;
47 TestDatabase db = Room.inMemoryDatabaseBuilder(context, TestDatabase.class).build(); in createDb()
DClearAllTablesTest.java44 import androidx.room.Room;
118 mDatabase = Room.inMemoryDatabaseBuilder(context, ClearAllTablesDatabase.class).build(); in setUp()
208 db = Room.databaseBuilder(context, ClearAllTablesDatabase.class, dbName) in clearsDataFromDisk()
216 db = Room.databaseBuilder(context, ClearAllTablesDatabase.class, dbName) in clearsDataFromDisk()
DTestDatabaseTest.java22 import androidx.room.Room;
54 mDatabase = Room.inMemoryDatabaseBuilder(context, TestDatabase.class).build(); in createDb()
DIndexingTest.java34 import androidx.room.Room;
82 IndexingDb db = Room.inMemoryDatabaseBuilder(context, IndexingDb.class).build(); in verifyIndices()
DMainThreadCheckTest.java30 import androidx.room.Room;
94 final RoomDatabase.Builder<TestDatabase> builder = Room.inMemoryDatabaseBuilder( in test()
DCustomDatabaseTest.java32 import androidx.room.Room;
54 Room.databaseBuilder(context, SampleDatabase.class, "db") in invalidationTrackerAfterClose()
DDaoNameConflictTest.java32 import androidx.room.Room;
46 mDb = Room.inMemoryDatabaseBuilder( in init()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/db/
DTestDatabase.java19 import android.arch.persistence.room.Room;
39 sInstance = Room.databaseBuilder( in getInstance()
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/
DTestDatabaseTest.kt21 import androidx.room.Room
39 database = Room.inMemoryDatabaseBuilder(InstrumentationRegistry.getContext(), in setUp()
DItemWithNullableConstructor.kt26 import androidx.room.Room
41 db = Room.inMemoryDatabaseBuilder(InstrumentationRegistry.getTargetContext(), in initDb()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DMigrationTest.java34 import androidx.room.Room;
115 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()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkDatabase.java25 import android.arch.persistence.room.Room;
93 builder = Room.inMemoryDatabaseBuilder(context, WorkDatabase.class) in create()
96 builder = Room.databaseBuilder(context, WorkDatabase.class, DB_NAME); in create()
/frameworks/support/room/runtime/src/main/java/androidx/room/
DRoom.java27 public class Room { class
107 public Room() { in Room() method in Room
/frameworks/support/room/common/
Dbuild.gradle33 name = "Android Room-Common"
38 description = "Android Room-Common"
/frameworks/support/room/rxjava2/
Dbuild.gradle38 name = "Android Room RXJava2"
43 description = "Android Room RXJava2"
/frameworks/support/room/migration/
Dbuild.gradle39 name = "Android Room Migration"
44 description = "Android Room Migration"
/frameworks/support/room/guava/
Dbuild.gradle35 name = "Android Room Guava"
40 description = "Android Room Guava"
/frameworks/support/room/testing/
Dbuild.gradle38 name = "Android Room Testing"
43 description = "Android Room Testing"
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/
DCustomerViewModel.java29 import androidx.room.Room;
52 mDatabase = Room.databaseBuilder(this.getApplication(), in createDb()
/frameworks/opt/vcard/tests/res/raw/
Dv21_org_before_title.vcf4 ORG:Company;Organization;Devision;Room;Sheet No.
/frameworks/support/room/runtime/
Dbuild.gradle63 name = "Android Room-Runtime"
68 description = "Android Room-Runtime"

12