Searched refs:controlStatus (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | AllModel.kt | 70 it is ControlStatusWrapper && it.controlStatus.control.controlId == controlId in <lambda>() 72 if (favorite == toChange?.controlStatus?.favorite) return in <lambda>() 86 it.controlStatus.favorite = favorite in <lambda>()
|
D | ControlsModel.kt | 119 val controlStatus: ControlStatus constant in com.android.systemui.controls.management.ControlStatusWrapper 120 ) : ElementWrapper(), ControlInterface by controlStatus
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImplTest.kt | 308 val controlStatus = controls[0] in <lambda>() constant 309 assertEquals(ControlStatus(control, TEST_COMPONENT, false), controlStatus) in <lambda>() 339 val controlStatus = controls.first { it.control.controlId == TEST_CONTROL_ID } in <lambda>() constant 340 assertEquals(ControlStatus(control, TEST_COMPONENT, true), controlStatus) in <lambda>() 370 val controlStatus = controls[0] in <lambda>() constant 371 assertEquals(TEST_CONTROL_ID, controlStatus.control.controlId) in <lambda>() 372 assertEquals(TEST_STRUCTURE_INFO.structure, controlStatus.control.structure) in <lambda>() 373 assertTrue(controlStatus.favorite) in <lambda>() 374 assertTrue(controlStatus.removed) in <lambda>() 401 val controlStatus = controls[0] in <lambda>() constant [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | AllModelTest.kt | 175 it is ControlStatusWrapper && it.controlStatus.control.controlId == id in <lambda>() 177 .controlStatus.favorite in <lambda>() 224 it is ControlStatusWrapper && it.controlStatus.control.controlId == id in <lambda>() 226 .controlStatus.favorite in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlViewHolder.kt | 115 val controlStatus: Int constant in com.android.systemui.controls.ui.ControlViewHolder 162 if (controlStatus == Control.STATUS_UNKNOWN || controlStatus == Control.STATUS_NOT_FOUND) { in bindData() 186 findBehaviorClass(controlStatus, controlTemplate, deviceType)) in bindData() 281 val deviceTypeOrError = if (controlStatus == Control.STATUS_OK || in applyRenderInfo() 282 controlStatus == Control.STATUS_UNKNOWN) { in applyRenderInfo()
|