Home
last modified time | relevance | path

Searched refs:qsController (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/back/domain/interactor/
DBackActionInteractor.kt81 private lateinit var qsController: QuickSettingsController in <lambda>() variable in com.android.systemui.back.domain.interactor.BackActionInteractor
83 fun setup(qsController: QuickSettingsController, svController: ShadeBackActionInteractor) { in <lambda>()
84 this.qsController = qsController in <lambda>()
112 if (qsController.isCustomizing) { in <lambda>()
113 qsController.closeQsCustomizer() in <lambda>()
116 if (qsController.expanded) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/back/domain/interactor/
DBackActionInteractorTest.kt90 @Mock private lateinit var qsController: QuickSettingsController variable in com.android.systemui.back.domain.interactor.BackActionInteractorTest
124 .apply { this.setup(qsController, shadeBackActionInteractor) } in <lambda>()
150 whenever(qsController.isCustomizing).thenReturn(true) in testOnBackRequested_quickSettingsIsCustomizing()
155 verify(qsController, atLeastOnce()).closeQsCustomizer() in testOnBackRequested_quickSettingsIsCustomizing()
161 whenever(qsController.expanded).thenReturn(true) in testOnBackRequested_quickSettingsExpanded()