Home
last modified time | relevance | path

Searched refs:CommunalDatabase (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/db/
DCommunalDatabase.kt27 abstract class CommunalDatabase : RoomDatabase() { in <lambda>() class
31 private var instance: CommunalDatabase? = null in <lambda>()
45 ): CommunalDatabase { in <lambda>()
50 CommunalDatabase::class.java, in <lambda>()
64 fun setInstance(database: CommunalDatabase) { in <lambda>()
DCommunalDatabaseModule.kt33 ): CommunalDatabase { in provideCommunalDatabase()
34 return CommunalDatabase.getInstance(context, defaultWidgetPopulation) in provideCommunalDatabase()
39 fun provideCommunalWidgetDao(database: CommunalDatabase): CommunalWidgetDao =
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/backup/
DCommunalBackupUtilsTest.kt23 import com.android.systemui.communal.data.db.CommunalDatabase in <lambda>()
42 private lateinit var database: CommunalDatabase in <lambda>()
49 Room.inMemoryDatabaseBuilder(context, CommunalDatabase::class.java) in <lambda>()
52 CommunalDatabase.setInstance(database) in <lambda>()
DCommunalBackupHelperTest.kt32 import com.android.systemui.communal.data.db.CommunalDatabase
51 private lateinit var database: CommunalDatabase
63 Room.inMemoryDatabaseBuilder(context, CommunalDatabase::class.java) in setup()
66 CommunalDatabase.setInstance(database) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/
DCommunalBackupUtils.kt21 import com.android.systemui.communal.data.db.CommunalDatabase in <lambda>()
42 val database = CommunalDatabase.getInstance(context) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/db/
DCommunalWidgetDaoTest.kt44 private lateinit var db: CommunalDatabase in <lambda>()
55 Room.inMemoryDatabaseBuilder(context, CommunalDatabase::class.java) in <lambda>()