Home
last modified time | relevance | path

Searched refs:DataListener (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DViewPipeline.kt20 interface DataListener<in T> { interface
25 fun <S, T> DataListener<T>.contraMap(mapper: (S) -> T): DataListener<S> = object : DataListener<S> { in onDataChanged()
31 fun registerListener(listener: DataListener<T>): Subscription in registerListener()
42 override fun registerListener(listener: DataListener<T>) = in map()
DPeopleHubViewController.kt49 val personViewAdapters: Sequence<DataListener<PersonViewModel?>>
82 ) : DataListener<PeopleHubViewModelFactory> { in bindView()
108 override fun registerListener(listener: DataListener<PeopleHubViewModelFactory>): Subscription { in registerListener()
118 val dataSub = dataSource.registerListener(object : DataListener<PeopleHubModel> { in registerListener()
163 override fun registerListener(listener: DataListener<Boolean>): Subscription { in registerListener()
178 private fun updateListener(listener: DataListener<Boolean>) { in updateListener()
DPeopleHubNotificationListener.kt106 private val dataListeners = mutableListOf<DataListener<PeopleHubModel>>() in extractPersonKey()
171 override fun registerListener(listener: DataListener<PeopleHubModel>): Subscription { in extractPersonKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DPeopleHubView.kt28 import com.android.systemui.statusbar.notification.people.DataListener in <lambda>()
38 lateinit var personViewAdapters: Sequence<DataListener<PersonViewModel?>> in <lambda>()
97 DataListener<PersonViewModel?> { in <lambda>()
DNotificationSectionsManager.kt33 import com.android.systemui.statusbar.notification.people.DataListener in <lambda>()
83 override val personViewAdapters: Sequence<DataListener<PersonViewModel?>> in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/
DPeopleFakes.kt27 override fun registerListener(listener: DataListener<T>): Subscription { in registerListener()
DPeopleHubViewControllerTest.kt172 class FakeDataListener<T> : DataListener<T> {