Home
last modified time | relevance | path

Searched refs:PeopleHubModel (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewController.kt105 private val dataSource: DataSource<@JvmSuppressWildcards PeopleHubModel>
109 var model: PeopleHubModel? = null in registerListener()
118 val dataSub = dataSource.registerListener(object : DataListener<PeopleHubModel> { in registerListener()
119 override fun onDataChanged(data: PeopleHubModel) { in registerListener()
139 private val model: PeopleHubModel,
DPeopleHubNotificationListener.kt103 ) : DataSource<PeopleHubModel> { in extractPersonKey()
106 private val dataListeners = mutableListOf<DataListener<PeopleHubModel>>() in extractPersonKey()
171 override fun registerListener(listener: DataListener<PeopleHubModel>): Subscription { in extractPersonKey()
199 private fun getPeopleHubModelForCurrentUser(): PeopleHubModel? { in extractPersonKey()
296 fun getPeopleHubModel(): PeopleHubModel = PeopleHubModel(inactivePeople) in getPeopleHubModel()
DPeopleHub.kt42 data class PeopleHubModel(val people: Collection<PersonModel>) class
DPeopleHubModule.kt31 abstract fun peopleHubDataSource(impl: PeopleHubDataSourceImpl): DataSource<PeopleHubModel>
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewControllerTest.kt104 val fakeModel = PeopleHubModel(listOf(fakePerson)) in testViewModelDataSourceTransformsModel()