Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/service/controls/templates/
DControlTemplateTest.java128 ControlTemplate toParcel = new TemperatureControlTemplate( in testUnparcelingCorrectClass_thermostat()
131 TemperatureControlTemplate.MODE_OFF, in testUnparcelingCorrectClass_thermostat()
132 TemperatureControlTemplate.MODE_OFF, in testUnparcelingCorrectClass_thermostat()
133 TemperatureControlTemplate.FLAG_MODE_OFF); in testUnparcelingCorrectClass_thermostat()
138 assertTrue(fromParcel instanceof TemperatureControlTemplate); in testUnparcelingCorrectClass_thermostat()
143 TemperatureControlTemplate thermostat = new TemperatureControlTemplate( in testThermostatParams_wrongMode()
147 TemperatureControlTemplate.MODE_OFF, in testThermostatParams_wrongMode()
148 TemperatureControlTemplate.FLAG_MODE_OFF); in testThermostatParams_wrongMode()
149 assertEquals(TemperatureControlTemplate.MODE_UNKNOWN, thermostat.getCurrentMode()); in testThermostatParams_wrongMode()
151 thermostat = new TemperatureControlTemplate( in testThermostatParams_wrongMode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DRenderInfo.kt25 import android.service.controls.templates.TemperatureControlTemplate
88 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_OFF) to
90 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_HEAT) to
92 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_COOL) to
101 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_OFF) to
103 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_HEAT) to
105 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_COOL) to
107 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_HEAT_COOL) to
109 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_ECO) to
DTemperatureControlBehavior.kt23 import android.service.controls.templates.TemperatureControlTemplate in <lambda>()
47 val template = control.getControlTemplate() as TemperatureControlTemplate in <lambda>()
54 val enabled = activeMode != 0 && activeMode != TemperatureControlTemplate.MODE_OFF in <lambda>()
DToggleBehavior.kt22 import android.service.controls.templates.TemperatureControlTemplate
50 is TemperatureControlTemplate -> controlTemplate.getTemplate() as ToggleTemplate in bind()
DToggleRangeBehavior.kt29 import android.service.controls.templates.TemperatureControlTemplate in <lambda>()
114 is TemperatureControlTemplate -> setupTemplate(template.getTemplate()) in <lambda>()
/frameworks/base/core/java/android/service/controls/templates/
DTemperatureControlTemplate.java37 public final class TemperatureControlTemplate extends ControlTemplate { class
163 public TemperatureControlTemplate(@NonNull String templateId, in TemperatureControlTemplate() method in TemperatureControlTemplate
200 TemperatureControlTemplate(@NonNull Bundle b) { in TemperatureControlTemplate() method in TemperatureControlTemplate
DControlTemplate.java193 return new TemperatureControlTemplate(bundle); in createTemplateFromBundle()
/frameworks/base/core/java/android/service/controls/actions/
DModeAction.java23 import android.service.controls.templates.TemperatureControlTemplate;
/frameworks/base/api/
Dcurrent.txt43610 …public final class TemperatureControlTemplate extends android.service.controls.templates.ControlTe…
43611 …ctor public TemperatureControlTemplate(@NonNull String, @NonNull android.service.controls.template…