/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | DeviceControlsTileTest.kt | 92 private lateinit var controlsListingController: ControlsListingController variable in com.android.systemui.qs.tiles.DeviceControlsTileTest 149 Optional.of(controlsListingController) in setupControlsComponent() 185 verify(controlsListingController).observe( in testObservingCallback() 208 verify(controlsListingController).observe( in testStateUnavailableIfNoListings() 221 verify(controlsListingController).observe( in testStateUnavailableIfNotEnabled() 235 verify(controlsListingController).observe( in testStateActiveIfListingsHasControlsFavorited() 256 verify(controlsListingController).observe( in testStateInactiveIfListingsHasNoControlsFavorited() 273 verify(controlsListingController).observe( in testStateActiveIfPreferredIsPanel() 289 verify(controlsListingController).observe( in testStateInactiveIfLocked() 304 verify(controlsListingController).observe( in testMoveBetweenStates() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | AppAdapterTest.kt | 55 @Mock lateinit var controlsListingController: ControlsListingController in <lambda>() variable in com.android.systemui.controls.management.AppAdapterTest 74 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>() 91 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>() 109 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>() 127 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>() 156 controlsListingController, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | DeviceControlsControllerImplTest.kt | 71 private lateinit var controlsListingController: ControlsListingController variable in com.android.systemui.statusbar.policy.DeviceControlsControllerImplTest 104 .thenReturn(Optional.of(controlsListingController)) in capture() 131 verify(controlsListingController).addCallback(capture(listingCallbackCaptor)) in testNoCallbackWhenNoServicesAvailable() 141 verify(controlsListingController, never()).addCallback(anyObject()) in testCallbackWithNullValueWhenSettingIsDisabled() 150 verify(controlsListingController).addCallback(capture(listingCallbackCaptor)) in testSetPriorityPositionIsSetWhenFavoritesAreAvailable() 164 verify(controlsListingController).addCallback(capture(listingCallbackCaptor)) in testSetDefaultPositionIsSetWhenNoFavoritesAreAvailable()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsDreamStartableTest.kt | 68 private lateinit var controlsListingController: ControlsListingController variable in com.android.systemui.dreams.homecontrols.HomeControlsDreamStartableTest 82 controlsListingController = kosmos.controlsListingController in setUp() 89 .thenReturn(Optional.of(controlsListingController)) in setUp() 90 whenever(controlsListingController.getCurrentServices()) in setUp()
|
D | HomeControlsComponentInteractorTest.kt | 74 .thenReturn(Optional.of(controlsListingController)) in setUp() 99 whenever(controlsListingController.getCurrentServices()) in testPanelComponentReturnsComponentNameAsInitialValueWithoutServiceUpdate() 182 whenever(controlsListingController.getCurrentServices()) in testMonitoringUpdatesAndRestart() 226 whenever(controlsListingController.getCurrentServices()) in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay() 286 verify(kosmos.controlsListingController).addCallback(capture()) in runServicesUpdate()
|
D | HomeControlsComponentInteractorKosmos.kt | 48 val Kosmos.controlsListingController by Kosmos.Fixture<ControlsListingController> { mock() } in <lambda>() constant
|
D | HomeControlsDreamServiceTest.kt | 90 .thenReturn(Optional.of(kosmos.controlsListingController)) in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/ |
D | HomeControlsComponentInteractor.kt | 74 private val controlsListingController: ControlsListingController? = in <lambda>() constant 93 if (controlsListingController == null) { in <lambda>() 103 controlsListingController.addCallback(listener) in <lambda>() 104 awaitClose { controlsListingController.removeCallback(listener) } in <lambda>() 106 .onStart { emit(controlsListingController.getCurrentServices()) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/ |
D | ControlsStartable.kt | 84 private val controlsListingController: ControlsListingController in <lambda>() constant in com.android.systemui.controls.start.ControlsStartable 110 controlsListingController.forceReload() in <lambda>() 137 val availableServices = controlsListingController.getCurrentServices() in <lambda>() 178 controlsListingController.getCurrentServices().filter { it.panelActivity != null } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | ControlsUiControllerImplTest.kt | 92 @Mock lateinit var controlsListingController: ControlsListingController variable in com.android.systemui.controls.ui.ControlsUiControllerImplTest 145 { controlsListingController }, in setup() 220 verify(controlsListingController).addCallback(capture(captor)) in testPanelCallsTaskViewFactoryCreate() 240 verify(controlsListingController).addCallback(capture(captor)) in testSingleAppHeaderIsNotClickable() 268 verify(controlsListingController).addCallback(capture(captor)) in testMultipleAppHeaderIsClickable() 293 verify(controlsListingController).addCallback(capture(captor)) in testPanelControllerStartActivityWithCorrectArguments() 331 verify(controlsListingController).addCallback(capture(captor)) in testPanelControllerStartActivityWithHomePanelDreamEnabled() 368 verify(controlsListingController).addCallback(capture(captor)) in testPendingIntentExtrasAreModified() 384 clearInvocations(controlsListingController, taskViewFactory) in testPendingIntentExtrasAreModified() 388 verify(controlsListingController).addCallback(capture(captor)) in testPendingIntentExtrasAreModified() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | HomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt | 78 @Mock private lateinit var controlsListingController: ControlsListingController in <lambda>() variable in com.android.systemui.keyguard.data.quickaffordance.HomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest 102 .thenReturn(Optional.of(controlsListingController)) in <lambda>() 108 whenever(controlsListingController.getCurrentServices()) in <lambda>() 154 verify(controlsListingController).addCallback(callbackCaptor.capture()) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsRequestDialog.kt | 50 private val controlsListingController: ControlsListingController constant in com.android.systemui.controls.management.ControlsRequestDialog 79 controlsListingController.addCallback(callback) in onCreate() 125 controlsListingController.removeCallback(callback) in onDestroy() 130 return controlsListingController.getAppLabel(controlComponent) in verifyComponentAndGetLabel()
|
D | AppAdapter.kt | 51 controlsListingController: ControlsListingController, 78 controlsListingController.observe(lifecycle, callback)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/ |
D | ControlsStartableTest.kt | 84 @Mock private lateinit var controlsListingController: ControlsListingController variable in com.android.systemui.controls.start.ControlsStartableTest 112 verifyZeroInteractions(controlsController, controlsListingController, userTracker) in testDisabledNothingIsCalled() 122 verifyZeroInteractions(controlsController, controlsListingController, userTracker) in testNothingCalledOnStart() 319 `when`(controlsListingController.getCurrentServices()).thenReturn(listings) in testAlreadyAddedPanel_noNewSelection() 421 doAnswer { doReturn(listings).`when`(controlsListingController).getCurrentServices() } in setUpControlsListingControls() 422 .`when`(controlsListingController) in setUpControlsListingControls() 433 .thenReturn(Optional.of(controlsListingController)) in createStartable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/ |
D | ControlsComponent.kt | 60 private val controlsListingController: Optional<ControlsListingController> = constant 74 controlsListingController in getControlsController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlsUiControllerImpl.kt | 99 val controlsListingController: Lazy<ControlsListingController>, in <lambda>() constant in com.android.systemui.controls.ui.ControlsUiControllerImpl 208 val anyPanels = controlsListingController.get().getCurrentServices() in <lambda>() 265 controlsListingController.get().addCallback(listingCallback) in <lambda>() 280 controlsListingController.get().removeCallback(listingCallback) in <lambda>() 370 controlsListingController.get().getAppLabel(si.componentName)) in <lambda>() 461 val allApps = controlsListingController.get() in <lambda>() 784 controlsListingController.get().removeCallback(listingCallback) in <lambda>()
|