Home
last modified time | relevance | path

Searched refs:controlInfo (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsModel.kt127 val controlInfo: ControlInfo, in nullIconGetter() constant in com.android.systemui.controls.management.ControlInfoWrapper
137 controlInfo: ControlInfo, in nullIconGetter()
140 ) : this(component, controlInfo, favorite) { in nullIconGetter()
145 get() = controlInfo.controlId in nullIconGetter()
147 get() = controlInfo.controlTitle in nullIconGetter()
149 get() = controlInfo.controlSubtitle in nullIconGetter()
151 get() = controlInfo.deviceType in nullIconGetter()
DFavoritesModel.kt84 (it as ControlInfoWrapper).controlInfo in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt194 controlInfo: ControlInfo, in <lambda>()
197 return Control.StatelessBuilder(controlInfo.controlId, pendingIntent) in <lambda>()
198 .setDeviceType(controlInfo.deviceType).setTitle(controlInfo.controlTitle) in <lambda>()
199 .setSubtitle(controlInfo.controlSubtitle).setStructure(structure) in <lambda>()
203 controlInfo: ControlInfo, in <lambda>()
206 return Control.StatefulBuilder(controlInfo.controlId, pendingIntent) in <lambda>()
207 .setDeviceType(controlInfo.deviceType).setTitle(controlInfo.controlTitle) in <lambda>()
208 .setSubtitle(controlInfo.controlSubtitle).setStructure(structure) in <lambda>()
593 val controlInfo = ControlInfo("id", "title", "subtitle", 0) in <lambda>() constant
599 listOf(TEST_CONTROL_INFO, controlInfo) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsControllerImpl.kt447 controlInfo: ControlInfo, in <lambda>()
459 val control = Control.StatelessBuilder(controlInfo.controlId, pendingIntent) in <lambda>()
460 .setTitle(controlInfo.controlTitle) in <lambda>()
461 .setSubtitle(controlInfo.controlSubtitle) in <lambda>()
463 .setDeviceType(controlInfo.deviceType) in <lambda>()
491 controlInfo: ControlInfo in <lambda>()
495 if (Favorites.addFavorite(componentName, structureName, controlInfo)) { in <lambda>()
547 controlInfo: ControlInfo, in <lambda>()
551 bindingController.action(componentName, controlInfo, action) in <lambda>()
641 val controlInfo = if (updatedControl.title != c.controlTitle || in updateControls() constant
[all …]
DControlsController.kt83 fun action(componentName: ComponentName, controlInfo: ControlInfo, action: ControlAction) in loadForComponent()
165 controlInfo: ControlInfo in loadForComponent()
DControlsBindingController.kt83 fun action(componentName: ComponentName, controlInfo: ControlInfo, action: ControlAction) in bindAndLoad()
DControlsBindingControllerImpl.kt160 controlInfo: ControlInfo, in action()
167 .maybeBindAndSendAction(controlInfo.controlId, action) in action()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DAllModelTest.kt122 private fun sameControl(controlInfo: ControlInfo, control: Control): Boolean { in <lambda>()
123 return controlInfo.controlId == control.controlId && in <lambda>()
124 controlInfo.controlTitle == control.title && in <lambda>()
125 controlInfo.controlSubtitle == control.subtitle && in <lambda>()
126 controlInfo.deviceType == control.deviceType in <lambda>()
DFavoritesModelTest.kt88 (it as ControlInfoWrapper).controlInfo in <lambda>()