/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/dagger/ |
D | QSHostModule.kt | 48 qsHost: QSTileHost, in provideQsHost() 54 qsHost in provideQsHost() 62 qsHost: QSTileHost, in provideQsHost() 68 qsHost in provideQsHost()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceRequestController.kt | 47 private val qsHost: QSHost, in <lambda>() constant in com.android.systemui.qs.external.TileServiceRequestController 52 private val dialogCreator: () -> TileRequestDialog = { TileRequestDialog(qsHost.context) } in <lambda>() 99 qsHost.addTile(componentName, true) in addTile() 171 return qsHost.indexOf(spec) != -1 in isTileAlreadyAdded() 208 fun create(qsHost: QSHost): TileServiceRequestController { in create() 210 qsHost, in create()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickQSPanelControllerTest.kt | 57 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.QuickQSPanelControllerTest 92 qsHost, in setUp() 117 whenever(qsHost.tiles).thenReturn(listOf(tile, tile)) in testTileSublistWithFewerTiles_noCrash() 126 whenever(qsHost.tiles).thenReturn(listOf(tile, tile, tile, tile)) in testTileSublistWithTooManyTiles() 162 qsHost: QSHost, 176 qsHost,
|
D | QSPanelControllerBaseSceneContainerTest.kt | 74 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.QSPanelControllerBaseSceneContainerTest 112 whenever(qsHost.tiles).thenReturn(emptyList()) in setUp() 253 qsHost, in createUnderTest() 268 qsHost: QSHost, 281 qsHost,
|
D | QSPanelControllerTest.kt | 49 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.QSPanelControllerTest 94 qsHost, in setUp() 127 whenever(qsHost.getTiles()).thenReturn(listOf(tile, otherTile)) in testSetListeningDoesntRefreshListeningTiles()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileServiceRequestControllerTest.kt | 67 private lateinit var qsHost: QSHost variable in com.android.systemui.qs.external.TileServiceRequestControllerTest 89 `when`(qsHost.indexOf(anyString())).thenReturn(-1) in setUp() 92 qsHost, in setUp() 129 `when`(qsHost.indexOf(CustomTile.toSpec(TEST_COMPONENT))).thenReturn(2) in tileAlreadyAdded_correctResult() 142 verify(qsHost, never()).addTile(any(ComponentName::class.java), anyBoolean()) in tileAlreadyAdded_correctResult() 147 `when`(qsHost.indexOf(CustomTile.toSpec(TEST_COMPONENT))).thenReturn(2) in tileAlreadyAdded_logged() 207 verify(qsHost, never()).addTile(any(ComponentName::class.java), anyBoolean()) in cancelListener_dismissResult() 248 verify(qsHost).addTile(TEST_COMPONENT, /* end */ true) in positiveActionListener_tileAddedResult() 289 verify(qsHost, never()).addTile(any(ComponentName::class.java), anyBoolean()) in negativeActionListener_tileNotAddedResult() 344 `when`(qsHost.indexOf(CustomTile.toSpec(TEST_COMPONENT))).thenReturn(2) in commandQueueCallback_callbackCalled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTileTest.kt | 59 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.UiModeNightTileTest 80 `when`(qsHost.context).thenReturn(mockContext) in setUp() 81 `when`(qsHost.userContext).thenReturn(mContext) in setUp() 87 qsHost, in setUp()
|
D | BatterySaverTileTest.kt | 63 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.BatterySaverTileTest 79 `when`(qsHost.context).thenReturn(mContext) in setUp() 80 `when`(qsHost.userContext).thenReturn(userContext) in setUp() 87 qsHost, in setUp()
|
D | FlashlightTileTest.kt | 38 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.FlashlightTileTest 59 Mockito.`when`(qsHost.context).thenReturn(mockContext) in setUp() 63 qsHost, in setUp()
|
D | LocationTileTest.kt | 60 private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.LocationTileTest 84 `when`(qsHost.context).thenReturn(mockContext) in setUp() 87 qsHost, in setUp()
|
D | DndTileTest.kt | 72 private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.DndTileTest 117 whenever(qsHost.userId).thenReturn(DEFAULT_USER) in setUp() 126 whenever(qsHost.context).thenReturn(wrappedContext) in setUp() 130 qsHost, in setUp()
|
D | AlarmTileTest.kt | 41 private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.AlarmTileTest 69 `when`(qsHost.context).thenReturn(mContext) in setUp() 72 qsHost, in setUp()
|
D | BluetoothTileTest.kt | 51 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.BluetoothTileTest 69 whenever(qsHost.context).thenReturn(mContext) in setUp() 73 qsHost, in setUp() 257 qsHost: QSHost, 271 qsHost,
|
D | FontScalingTileTest.kt | 59 @Mock private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.FontScalingTileTest 83 `when`(qsHost.getContext()).thenReturn(mContext) in setUp() 91 qsHost, in setUp()
|
D | DeviceControlsTileTest.kt | 78 private lateinit var qsHost: QSHost variable in com.android.systemui.qs.tiles.DeviceControlsTileTest 120 `when`(qsHost.context).thenReturn(spiedContext) in setUp() 403 qsHost, in createTile()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/external/ |
D | TileServicesKosmos.kt | 36 val qsHost: QSHost = mock { whenever(context).thenReturn(applicationContext) } in <lambda>() constant 38 qsHost, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | AutoAddTracker.kt | 60 private val qsHost: QSHost, in <lambda>() constant in com.android.systemui.qs.AutoAddTracker 128 qsHost.removeTiles(tilesToRemove) in <lambda>() 272 private val qsHost: QSHost, in <lambda>() constant in com.android.systemui.qs.AutoAddTracker.Builder 288 qsHost, in <lambda>()
|
D | QuickQSPanelController.java | 59 QuickQSPanelController(QuickQSPanel view, QSHost qsHost, in QuickQSPanelController() argument 70 super(view, qsHost, qsCustomizerController, usingMediaPlayer, mediaHost, metricsLogger, in QuickQSPanelController()
|
D | QSPanelController.java | 93 QSHost qsHost, QSCustomizerController qsCustomizerController, in QSPanelController() argument 105 super(view, qsHost, qsCustomizerController, usingMediaPlayer, mediaHost, in QSPanelController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/ |
D | QSTileViewModelAdapter.kt | 52 private val qsHost: QSHost, in <lambda>() constant in com.android.systemui.qs.tiles.viewmodel.QSTileViewModelAdapter 57 get() = qsHost.context in <lambda>() 75 qsHost.removeTile(tileSpec) in <lambda>() 96 userSwitch(qsHost.userId) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSFactoryImplTest.kt | 100 @Mock private lateinit var qsHost: QSHost in <lambda>() variable in com.android.systemui.qs.tileimpl.QSFactoryImplTest 139 whenever(qsHost.context).thenReturn(mContext) in <lambda>() 140 whenever(qsHost.userContext).thenReturn(mContext) in <lambda>() 175 { qsHost }, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaHierarchyManagerTest.kt | 93 @Mock private lateinit var qsHost: MediaHost variable in com.android.systemui.media.controls.ui.controller.MediaHierarchyManagerTest 169 setupHost(qsHost, MediaHierarchyManager.LOCATION_QS, QS_TOP) in setup() 447 whenever(qsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_returnsTrue() 463 whenever(qsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_expandImmediateEnabled_returnsFalse() 474 whenever(qsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostNotVisible_returnsFalse_with_active() 487 whenever(qsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostNotVisible_returnsTrue_without_active() 509 whenever(qsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_desiredLocationIsHub_returnsFalse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizerController.java | 108 QSHost qsHost, TileAdapter tileAdapter, ScreenLifecycle screenLifecycle, in QSCustomizerController() argument 113 mQsHost = qsHost; in QSCustomizerController()
|
D | TileAdapter.java | 127 QSHost qsHost, in TileAdapter() argument 131 mHost = qsHost; in TileAdapter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesCommandQueueCallbacks.java | 149 QSHost qsHost, in CentralSurfacesCommandQueueCallbacks() 178 mQSHost = qsHost; in CentralSurfacesCommandQueueCallbacks()
|