/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/db/ |
D | CommunalWidgetDaoTest.kt | 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>() method in com.android.systemui.communal.data.db.CommunalWidgetDaoTest 257 communalWidgetDao.addWidget( in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/db/ |
D | CommunalWidgetDao.kt | 80 .addWidget( in <lambda>() 135 fun addWidget(widgetId: Int, provider: ComponentName, priority: Int): Long { in addWidget() method 136 return addWidget( in addWidget() 144 fun addWidget(widgetId: Int, componentName: String, priority: Int): Long { in addWidget() method 169 state.widgets.forEach { addWidget(it.widgetId, it.componentName, it.rank) } in restoreCommunalHubState()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalWidgetRepositoryImplTest.kt | 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/ |
D | CommunalWidgetRepository.kt | 57 fun addWidget( in <lambda>() method 145 override fun addWidget( in addWidget() method 184 communalWidgetDao.addWidget( in addWidget()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/ |
D | FakeCommunalWidgetRepository.kt | 25 override fun addWidget( in addWidget() method in com.android.systemui.communal.data.repository.FakeCommunalWidgetRepository
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/ |
D | BaseCommunalViewModel.kt | 90 communalInteractor.addWidget(componentName, user, priority, configurator) in onAddWidget()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/backup/ |
D | CommunalBackupUtilsTest.kt | 73 expectedWidgets.forEach { dao.addWidget(it.widgetId, it.componentName, it.rank) } in <lambda>()
|
D | CommunalBackupHelperTest.kt | 127 .onEach { dao.addWidget(it.widgetId, it.componentName, it.rank) } in setUpDatabase()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractor.kt | 331 fun addWidget( in <lambda>() method 336 ) = widgetRepository.addWidget(componentName, user, priority, configurator) in <lambda>()
|