Home
last modified time | relevance | path

Searched refs:ControlInfo (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlInfo.kt34 data class ControlInfo( dataClass
43 fun fromControl(control: Control): ControlInfo { in fromControl()
44 return ControlInfo( in fromControl()
DControlsController.kt87 fun action(componentName: ComponentName, controlInfo: ControlInfo, action: ControlAction) in loadForComponent()
158 ): List<ControlInfo> in loadForComponent()
169 controlInfo: ControlInfo in loadForComponent()
DStructureInfo.kt33 val controls: List<ControlInfo>
DControlsBindingController.kt74 fun action(componentName: ComponentName, controlInfo: ControlInfo, action: ControlAction) in bindAndLoad()
DControlsFavoritePersistenceWrapper.kt183 var controls = mutableListOf<ControlInfo>() in <lambda>()
196 controls.add(ControlInfo(id, title, subtitle, deviceType)) in <lambda>()
DControlsBindingControllerImpl.kt152 controlInfo: ControlInfo, in action()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsFavoritePersistenceWrapperTest.kt62 ControlInfo("id1", "name_1", "", DeviceTypes.TYPE_UNKNOWN) in testSaveAndRestore()
70 ControlInfo("id2", "name_2", "sub2", DeviceTypes.TYPE_GENERIC_ON_OFF), in testSaveAndRestore()
71 ControlInfo("id3", "name_3", "sub3", DeviceTypes.TYPE_GENERIC_ON_OFF) in testSaveAndRestore()
DControlsBindingControllerImplTest.kt269 val controlInfo1 = ControlInfo("id_1", "", "", DeviceTypes.TYPE_UNKNOWN) in testSubscribe()
270 val controlInfo2 = ControlInfo("id_2", "", "", DeviceTypes.TYPE_UNKNOWN) in testSubscribe()
299 val controlInfo1 = ControlInfo("id_1", "", "", DeviceTypes.TYPE_UNKNOWN) in testUnsubscribe_refreshing()
300 val controlInfo2 = ControlInfo("id_2", "", "", DeviceTypes.TYPE_UNKNOWN) in testUnsubscribe_refreshing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsModel.kt24 import com.android.systemui.controls.controller.ControlInfo
39 val favorites: List<ControlInfo>
119 val controlInfo: ControlInfo,
DAllModel.kt22 import com.android.systemui.controls.controller.ControlInfo in <lambda>()
53 override val favorites: List<ControlInfo> in <lambda>()
57 ControlInfo.fromControl(it) in <lambda>()
DFavoritesModel.kt24 import com.android.systemui.controls.controller.ControlInfo
39 favorites: List<ControlInfo>,
80 override val favorites: List<ControlInfo>
DControlsRequestDialog.kt36 import com.android.systemui.controls.controller.ControlInfo
175 ControlInfo(control.controlId, control.title, control.subtitle, control.deviceType) in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlWithState.kt22 import com.android.systemui.controls.controller.ControlInfo
35 val ci: ControlInfo,
DControlsUiControllerImpl.kt47 import com.android.systemui.controls.controller.ControlInfo in <lambda>()
91 mutableListOf<ControlInfo>() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestDialogTest.kt36 import com.android.systemui.controls.controller.ControlInfo
77 private lateinit var captor: ArgumentCaptor<ControlInfo>
DFavoritesModelTest.kt25 import com.android.systemui.controls.controller.ControlInfo in <lambda>()
52 ControlInfo("$ID_PREFIX$it", "title$it", "subtitle$it", it) in <lambda>()
282 model.favorites.map(ControlInfo::controlId) in <lambda>()
DAllModelTest.kt26 import com.android.systemui.controls.controller.ControlInfo in <lambda>()
121 private fun sameControl(controlInfo: ControlInfo, control: Control): Boolean { in <lambda>()