Home
last modified time | relevance | path

Searched refs:listingCallbackCaptor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDeviceControlsTileTest.kt100 private lateinit var listingCallbackCaptor: variable in com.android.systemui.qs.tiles.DeviceControlsTileTest
210 capture(listingCallbackCaptor) in testStateUnavailableIfNoListings()
213 listingCallbackCaptor.value.onServicesUpdated(emptyList()) in testStateUnavailableIfNoListings()
223 capture(listingCallbackCaptor) in testStateUnavailableIfNotEnabled()
227 listingCallbackCaptor.value.onServicesUpdated(listOf(serviceInfo)) in testStateUnavailableIfNotEnabled()
237 capture(listingCallbackCaptor) in testStateActiveIfListingsHasControlsFavorited()
248 listingCallbackCaptor.value.onServicesUpdated(listOf(serviceInfo)) in testStateActiveIfListingsHasControlsFavorited()
258 capture(listingCallbackCaptor) in testStateInactiveIfListingsHasNoControlsFavorited()
265 listingCallbackCaptor.value.onServicesUpdated(listOf(serviceInfo)) in testStateInactiveIfListingsHasNoControlsFavorited()
275 capture(listingCallbackCaptor) in testStateActiveIfPreferredIsPanel()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceControlsControllerImplTest.kt75 private lateinit var listingCallbackCaptor: ArgumentCaptor<ControlsListingCallback> variable in com.android.systemui.statusbar.policy.DeviceControlsControllerImplTest
131 verify(controlsListingController).addCallback(capture(listingCallbackCaptor)) in testNoCallbackWhenNoServicesAvailable()
132 listingCallbackCaptor.value.onServicesUpdated(emptyList()) in testNoCallbackWhenNoServicesAvailable()
150 verify(controlsListingController).addCallback(capture(listingCallbackCaptor)) in testSetPriorityPositionIsSetWhenFavoritesAreAvailable()
151 listingCallbackCaptor.value.onServicesUpdated(listOf(controlsServiceInfo)) in testSetPriorityPositionIsSetWhenFavoritesAreAvailable()
164 verify(controlsListingController).addCallback(capture(listingCallbackCaptor)) in testSetDefaultPositionIsSetWhenNoFavoritesAreAvailable()
165 listingCallbackCaptor.value.onServicesUpdated(listOf(controlsServiceInfo)) in testSetDefaultPositionIsSetWhenNoFavoritesAreAvailable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt111 private lateinit var listingCallbackCaptor: in <lambda>() variable in com.android.systemui.controls.controller.ControlsControllerImplTest
185 verify(listingController).addCallback(capture(listingCallbackCaptor)) in <lambda>()
710 listingCallbackCaptor.value.onServicesUpdated(listOf(info)) in <lambda>()
734 listingCallbackCaptor.value.onServicesUpdated(listOf(info)) in <lambda>()
757 listingCallbackCaptor.value.onServicesUpdated(listOf(info)) in <lambda>()
772 listingCallbackCaptor.value.onServicesUpdated(listOf(info)) in <lambda>()