Home
last modified time | relevance | path

Searched refs:RoomDatabase (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/support/room/runtime/api/
Dcurrent.txt6 field public final java.util.List<androidx.room.RoomDatabase.Callback> callbacks;
8 field public final androidx.room.RoomDatabase.JournalMode journalMode;
9 field public final androidx.room.RoomDatabase.MigrationContainer migrationContainer;
29 …method public static <T extends androidx.room.RoomDatabase> androidx.room.RoomDatabase.Builder<T> …
30 …method public static <T extends androidx.room.RoomDatabase> androidx.room.RoomDatabase.Builder<T> …
34 public abstract class RoomDatabase {
35 ctor public RoomDatabase();
54 field protected java.util.List<androidx.room.RoomDatabase.Callback> mCallbacks;
58 public static class RoomDatabase.Builder<T extends androidx.room.RoomDatabase> {
59 …method public androidx.room.RoomDatabase.Builder<T> addCallback(androidx.room.RoomDatabase.Callbac…
[all …]
/frameworks/support/room/runtime/api_legacy/
D1.1.0.txt6 … field public final java.util.List<android.arch.persistence.room.RoomDatabase.Callback> callbacks;
8 field public final android.arch.persistence.room.RoomDatabase.JournalMode journalMode;
9 …field public final android.arch.persistence.room.RoomDatabase.MigrationContainer migrationContaine…
29 …static <T extends android.arch.persistence.room.RoomDatabase> android.arch.persistence.room.RoomDa…
30 …static <T extends android.arch.persistence.room.RoomDatabase> android.arch.persistence.room.RoomDa…
34 public abstract class RoomDatabase {
35 ctor public RoomDatabase();
54 field protected java.util.List<android.arch.persistence.room.RoomDatabase.Callback> mCallbacks;
58 public static class RoomDatabase.Builder<T extends android.arch.persistence.room.RoomDatabase> {
59 …public android.arch.persistence.room.RoomDatabase.Builder<T> addCallback(android.arch.persistence.…
[all …]
Dcurrent.txt6 … field public final java.util.List<android.arch.persistence.room.RoomDatabase.Callback> callbacks;
8 field public final android.arch.persistence.room.RoomDatabase.JournalMode journalMode;
9 …field public final android.arch.persistence.room.RoomDatabase.MigrationContainer migrationContaine…
29 …static <T extends android.arch.persistence.room.RoomDatabase> android.arch.persistence.room.RoomDa…
30 …static <T extends android.arch.persistence.room.RoomDatabase> android.arch.persistence.room.RoomDa…
34 public abstract class RoomDatabase {
35 ctor public RoomDatabase();
54 field protected java.util.List<android.arch.persistence.room.RoomDatabase.Callback> mCallbacks;
58 public static class RoomDatabase.Builder<T extends android.arch.persistence.room.RoomDatabase> {
59 …public android.arch.persistence.room.RoomDatabase.Builder<T> addCallback(android.arch.persistence.…
[all …]
D1.0.0.txt5 … field public final java.util.List<android.arch.persistence.room.RoomDatabase.Callback> callbacks;
7 …field public final android.arch.persistence.room.RoomDatabase.MigrationContainer migrationContaine…
27 …static <T extends android.arch.persistence.room.RoomDatabase> android.arch.persistence.room.RoomDa…
28 …static <T extends android.arch.persistence.room.RoomDatabase> android.arch.persistence.room.RoomDa…
32 public abstract class RoomDatabase {
33 ctor public RoomDatabase();
51 field protected java.util.List<android.arch.persistence.room.RoomDatabase.Callback> mCallbacks;
55 public static class RoomDatabase.Builder<T extends android.arch.persistence.room.RoomDatabase> {
56 …public android.arch.persistence.room.RoomDatabase.Builder<T> addCallback(android.arch.persistence.…
57 …method public android.arch.persistence.room.RoomDatabase.Builder<T> addMigrations(android.arch.per…
[all …]
/frameworks/support/room/runtime/src/main/java/androidx/room/
DDatabaseConfiguration.java54 public final RoomDatabase.MigrationContainer migrationContainer;
57 public final List<RoomDatabase.Callback> callbacks;
67 public final RoomDatabase.JournalMode journalMode;
99 @NonNull RoomDatabase.MigrationContainer migrationContainer, in DatabaseConfiguration()
100 @Nullable List<RoomDatabase.Callback> callbacks, in DatabaseConfiguration()
102 RoomDatabase.JournalMode journalMode, in DatabaseConfiguration()
DRoom.java48 public static <T extends RoomDatabase> RoomDatabase.Builder<T> databaseBuilder( in databaseBuilder()
56 return new RoomDatabase.Builder<>(context, klass, name); in databaseBuilder()
71 public static <T extends RoomDatabase> RoomDatabase.Builder<T> inMemoryDatabaseBuilder( in inMemoryDatabaseBuilder()
73 return new RoomDatabase.Builder<>(context, klass, null); in inMemoryDatabaseBuilder()
DSharedSQLiteStatement.java39 private final RoomDatabase mDatabase;
48 public SharedSQLiteStatement(RoomDatabase database) { in SharedSQLiteStatement()
/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()
76 RoomDatabase.MigrationContainer migrations = config.migrationContainer; in migration()
92 RoomDatabase.MigrationContainer migrations = config.migrationContainer; in migrationOverride()
107 RoomDatabase.MigrationContainer migrations = config.migrationContainer; in migrationJump()
122 RoomDatabase.MigrationContainer migrations = config.migrationContainer; in migrationDowngrade()
235 assertThat(config.journalMode, is(RoomDatabase.JournalMode.TRUNCATE)); in createBasic()
254 .setJournalMode(RoomDatabase.JournalMode.WRITE_AHEAD_LOGGING).build(); in createWriteAheadLogging()
[all …]
/frameworks/support/room/testing/src/main/java/androidx/room/testing/
DMigrationTestHelper.java26 import androidx.room.RoomDatabase;
83 private List<WeakReference<RoomDatabase>> mManagedRoomDatabases = new ArrayList<>();
144 RoomDatabase.MigrationContainer container = new RoomDatabase.MigrationContainer(); in createDatabase()
147 RoomDatabase.JournalMode.TRUNCATE, true, Collections.<Integer>emptySet()); in createDatabase()
189 RoomDatabase.MigrationContainer container = new RoomDatabase.MigrationContainer(); in runMigrationsAndValidate()
193 RoomDatabase.JournalMode.TRUNCATE, true, Collections.<Integer>emptySet()); in runMigrationsAndValidate()
227 for (WeakReference<RoomDatabase> dbRef : mManagedRoomDatabases) { in finished()
228 final RoomDatabase roomDatabase = dbRef.get(); in finished()
260 public void closeWhenFinished(RoomDatabase db) { in closeWhenFinished()
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/database/
DSampleDatabase.java20 import androidx.room.RoomDatabase;
27 public abstract class SampleDatabase extends RoomDatabase {
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DClearAllTablesTest.java45 import androidx.room.RoomDatabase;
66 public abstract static class ClearAllTablesDatabase extends RoomDatabase {
193 clearsDataFromDisk(RoomDatabase.JournalMode.TRUNCATE); in clearsDataFromDiskTruncate()
200 clearsDataFromDisk(RoomDatabase.JournalMode.WRITE_AHEAD_LOGGING); in clearsDataFromDiskWal()
203 private void clearsDataFromDisk(RoomDatabase.JournalMode journalMode) throws IOException { in clearsDataFromDisk()
223 private String queryEncoding(RoomDatabase db) { in queryEncoding()
DDatabaseCallbackTest.java35 import androidx.room.RoomDatabase;
93 .addCallback(new RoomDatabase.Callback() { in writeOnCreate()
117 public static class TestDatabaseCallback extends RoomDatabase.Callback {
DIndexingTest.java35 import androidx.room.RoomDatabase;
75 abstract static class IndexingDb extends RoomDatabase {
DMainThreadCheckTest.java31 import androidx.room.RoomDatabase;
94 final RoomDatabase.Builder<TestDatabase> builder = Room.inMemoryDatabaseBuilder( in test()
/frameworks/support/room/runtime/src/main/java/androidx/room/paging/
DLimitOffsetDataSource.java26 import androidx.room.RoomDatabase;
52 private final RoomDatabase mDb;
57 protected LimitOffsetDataSource(RoomDatabase db, SupportSQLiteQuery query, in LimitOffsetDataSource()
62 protected LimitOffsetDataSource(RoomDatabase db, RoomSQLiteQuery query, in LimitOffsetDataSource()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/db/
DTestDatabase.java20 import android.arch.persistence.room.RoomDatabase;
27 public abstract class TestDatabase extends RoomDatabase {
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
DWriterDao.java20 import androidx.room.RoomDatabase;
32 private final RoomDatabase __db;
40 public WriterDao_Impl(RoomDatabase __db) { in WriterDao_Impl()
DDeletionDao.java4 import androidx.room.RoomDatabase;
18 private final RoomDatabase __db;
30 public DeletionDao_Impl(RoomDatabase __db) { in DeletionDao_Impl()
DUpdateDao.java4 import androidx.room.RoomDatabase;
16 private final RoomDatabase __db;
28 public UpdateDao_Impl(RoomDatabase __db) { in UpdateDao_Impl()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkDatabase.java26 import android.arch.persistence.room.RoomDatabase;
61 public abstract class WorkDatabase extends RoomDatabase {
91 RoomDatabase.Builder<WorkDatabase> builder; in create()
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/
DTestDatabase.kt20 import androidx.room.RoomDatabase
38 abstract class TestDatabase : RoomDatabase() {
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/
DItemWithNullableConstructor.kt27 import androidx.room.RoomDatabase
78 abstract class Db : RoomDatabase() { in insert()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/
DPKeyTestDatabase.java23 import androidx.room.RoomDatabase;
34 public abstract class PKeyTestDatabase extends RoomDatabase {
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DJournalDbPostMigrationTest.java44 import androidx.room.RoomDatabase;
109 public abstract static class AppDatabase extends RoomDatabase {
142 .addCallback(new RoomDatabase.Callback() { in getDb()
153 .setJournalMode(RoomDatabase.JournalMode.TRUNCATE).build(); in getDb()
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/
DMigrationDbKotlin.kt30 import androidx.room.RoomDatabase
36 abstract class MigrationDbKotlin : RoomDatabase() {

123