Searched refs:addWidget (Results 1 – 9 of 9) sorted by relevance
71 communalWidgetDao.addWidget( in <lambda>()84 communalWidgetDao.addWidget( in <lambda>()99 communalWidgetDao.addWidget( in <lambda>()122 communalWidgetDao.addWidget( in <lambda>()148 communalWidgetDao.addWidget( in <lambda>()184 communalWidgetDao.addWidget( in <lambda>()211 communalWidgetDao.addWidget( in <lambda>()232 listOf(widgetInfo1, widgetInfo2, widgetInfo3).forEach { addWidget(it) } in <lambda>()256 private fun addWidget(metadata: FakeWidgetMetadata, priority: Int? = null) { in <lambda>() method257 communalWidgetDao.addWidget( in <lambda>()
80 .addWidget( in <lambda>()135 fun addWidget(widgetId: Int, provider: ComponentName, priority: Int): Long { in addWidget() method136 return addWidget( in addWidget()144 fun addWidget(widgetId: Int, componentName: String, priority: Int): Long { in addWidget() method169 state.widgets.forEach { addWidget(it.widgetId, it.componentName, it.rank) } in restoreCommunalHubState()
262 underTest.addWidget(provider, user, priority, kosmos.widgetConfiguratorSuccess) in addWidget_allocateId_bindWidget_andAddToDb()266 verify(communalWidgetDao).addWidget(id, provider, priority) in addWidget_allocateId_bindWidget_andAddToDb()288 underTest.addWidget(provider, user, priority, kosmos.widgetConfiguratorFail) in addWidget_configurationFails_doNotAddWidgetToDb()292 verify(communalWidgetDao, never()).addWidget(id, provider, priority) in addWidget_configurationFails_doNotAddWidgetToDb()315 underTest.addWidget(provider, user, priority) { in addWidget_configurationThrowsError_doNotAddWidgetToDb()321 verify(communalWidgetDao, never()).addWidget(id, provider, priority) in addWidget_configurationThrowsError_doNotAddWidgetToDb()344 underTest.addWidget(provider, user, priority, kosmos.widgetConfiguratorFail) in addWidget_configurationNotRequired_doesNotConfigure_addWidgetToDb()348 verify(communalWidgetDao).addWidget(id, provider, priority) in addWidget_configurationNotRequired_doesNotConfigure_addWidgetToDb()
57 fun addWidget( in <lambda>() method145 override fun addWidget( in addWidget() method184 communalWidgetDao.addWidget( in addWidget()
25 override fun addWidget( in addWidget() method in com.android.systemui.communal.data.repository.FakeCommunalWidgetRepository
90 communalInteractor.addWidget(componentName, user, priority, configurator) in onAddWidget()
73 expectedWidgets.forEach { dao.addWidget(it.widgetId, it.componentName, it.rank) } in <lambda>()
127 .onEach { dao.addWidget(it.widgetId, it.componentName, it.rank) } in setUpDatabase()
331 fun addWidget( in <lambda>() method336 ) = widgetRepository.addWidget(componentName, user, priority, configurator) in <lambda>()