Searched refs:CommunalDatabase (Results 1 – 6 of 6) sorted by relevance
27 abstract class CommunalDatabase : RoomDatabase() { in <lambda>() class31 private var instance: CommunalDatabase? = null in <lambda>()45 ): CommunalDatabase { in <lambda>()50 CommunalDatabase::class.java, in <lambda>()64 fun setInstance(database: CommunalDatabase) { in <lambda>()
33 ): CommunalDatabase { in provideCommunalDatabase()34 return CommunalDatabase.getInstance(context, defaultWidgetPopulation) in provideCommunalDatabase()39 fun provideCommunalWidgetDao(database: CommunalDatabase): CommunalWidgetDao =
23 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>()
32 import com.android.systemui.communal.data.db.CommunalDatabase51 private lateinit var database: CommunalDatabase63 Room.inMemoryDatabaseBuilder(context, CommunalDatabase::class.java) in setup()66 CommunalDatabase.setInstance(database) in setup()
21 import com.android.systemui.communal.data.db.CommunalDatabase in <lambda>()42 val database = CommunalDatabase.getInstance(context) in <lambda>()
44 private lateinit var db: CommunalDatabase in <lambda>()55 Room.inMemoryDatabaseBuilder(context, CommunalDatabase::class.java) in <lambda>()