Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/toggle/
DHvacIntegerToggleButtonTest.java112 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, ON_VALUE); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
126 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, OFF_VALUE); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
140 verify(mHvacPropertySetterDefault, never()).setHvacProperty(anyInt(), anyInt(), in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
155 verify(mHvacPropertySetterDefault, never()).setHvacProperty(anyInt(), anyInt(), in onClickDefaultButton_powerOff_autoOff_currentValueTrue_doesNotSetNewValue()
170 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, ON_VALUE); in onClickDefaultButton_powerOn_autoOn_currentValueFalse_setsValueToTrue()
184 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, OFF_VALUE); in onClickDefaultButton_powerOn_autoOn_currentValueTrue_setsValueToFalse()
198 verify(mHvacPropertySetterTurnOnWhenPowerOff).setHvacProperty(PROPERTY_ID, AREA_ID, in onClickTurnOnWhenPowerOffButton_powerOff_currentValueTrue_setsValueToFalse()
213 verify(mHvacPropertySetterTurnOnWhenPowerOff).setHvacProperty(PROPERTY_ID, AREA_ID, in onClickTurnOnWhenPowerOffButton_powerOff_currentValueFalse_setsValueToTrue()
228 verify(mHvacPropertySetterTurnOffWhenAutoOn, never()).setHvacProperty(anyInt(), anyInt(), in onClickTurnOffWhenAutoOnButton_autoOn_currentValueTrue_doesNotSetNewValue()
243 verify(mHvacPropertySetterTurnOffWhenAutoOn, never()).setHvacProperty(anyInt(), anyInt(), in onClickTurnOffWhenAutoOnButton_autoOn_currentValueFalse_doesNotSetNewValue()
[all …]
DHvacBooleanToggleButtonTest.java104 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, true); in onClickDefaultButton_powerOn_autoOff_currentValueFalse_setsValueToTrue()
118 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, false); in onClickDefaultButton_powerOn_autoOff_currentValueTrue_setsValueToFalse()
132 verify(mHvacPropertySetterDefault, never()).setHvacProperty(anyInt(), anyInt(), in onClickDefaultButton_powerOff_autoOff_currentValueFalse_doesNotSetNewValue()
147 verify(mHvacPropertySetterDefault, never()).setHvacProperty(anyInt(), anyInt(), in onClickDefaultButton_powerOff_autoOff_currentValueTrue_doesNotSetNewValue()
162 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, true); in onClickDefaultButton_powerOn_autoOn_currentValueFalse_setsValueToTrue()
176 verify(mHvacPropertySetterDefault).setHvacProperty(PROPERTY_ID, AREA_ID, false); in onClickDefaultButton_powerOn_autoOn_currentValueTrue_setsValueToFalse()
190 verify(mHvacPropertySetterTurnOnWhenPowerOff).setHvacProperty(PROPERTY_ID, AREA_ID, false); in onClickTurnOnWhenPowerOffButton_powerOff_currentValueTrue_setsValueToFalse()
204 verify(mHvacPropertySetterTurnOnWhenPowerOff).setHvacProperty(PROPERTY_ID, AREA_ID, true); in onClickTurnOnWhenPowerOffButton_powerOff_currentValueFalse_setsValueToTrue()
218 verify(mHvacPropertySetterTurnOffWhenAutoOn, never()).setHvacProperty(anyInt(), anyInt(), in onClickTurnOffWhenAutoOnButton_autoOn_currentValueTrue_doesNotSetNewValue()
233 verify(mHvacPropertySetterTurnOffWhenAutoOn, never()).setHvacProperty(anyInt(), anyInt(), in onClickTurnOffWhenAutoOnButton_autoOn_currentValueFalse_doesNotSetNewValue()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DFanSpeedBarTest.java95 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, /* val= */ 1); in onClickOffButton_allowsControl_setsFanSpeedToMin()
107 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, /* val= */ 2); in onClickSpeedOneButton_allowsControl_setsFanSpeedToTwo()
119 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, /* val= */ 3); in onClickSpeedTwoButton_allowsControl_setsFanSpeedToThree()
131 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, /* val= */ 4); in onClickSpeedThreeButton_allowsControl_setsFanSpeedToFour()
143 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, /* val= */ 5); in onClickSpeedFourButton_allowsControl_setsFanSpeedToFive()
155 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, /* val= */ 6); in onClickMaxButton_allowsControl_setsFanSpeedToMax()
167 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickOffButton_doesNotAllowsControl_doesNotSetNewValue()
179 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickSpeedOneButton_doesNotAllowsControl_doesNotSetNewValue()
191 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickSpeedTwoButton_doesNotAllowsControl_doesNotSetNewValue()
203 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickSpeedThreeButton_doesNotAllowsControl_doesNotSetNewValue()
[all …]
DSeatTemperatureLevelButtonTest.java83 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 1); in onClick_currentLevelZero_setsHeatLevelToOne()
93 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 2); in onClick_currentLevelOne_setsHeatLevelToTwo()
103 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 3); in onClick_currentLevelTwo_setsHeatLevelToThree()
113 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 0); in onClick_currentLevelThree_setsHeatLevelToZero()
123 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 3); in onLongClick_currentLevelZero_setsHeatLevelToThree()
133 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 0); in onLongClick_currentLevelOne_setsHeatLevelToZero()
143 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 0); in onLongClick_currentLevelTwo_setsHeatLevelToZero()
153 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, AREA_ID, 0); in onLongClick_currentLevelThree_setsHeatLevelToZero()
DFanDirectionButtonTest.java241 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, in onClickFaceDirectionButton_allowsControl_setsFanDirectionToFace()
255 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, in onClickFaceAndFloorDirectionButton_allowsControl_setsFanDirectionToFaceAndFloor()
269 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, in onClickFloorDirectionButton_allowsControl_setsFanDirectionToFloor()
283 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, in onClickDefrostDirectionButton_allowsControl_setsFanDirectionToDefrost()
297 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickFaceDirectionButton_doesNotAllowsControl_doesNotSetNewValue()
310 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickFaceAndFloorDirectionButton_doesNotAllowsControl_doesNotSetNewValue()
323 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickFloorDirectionButton_doesNotAllowsControl_doesNotSetNewValue()
336 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickDefrostDirectionButton_doesNotAllowsControl_doesNotSetNewValue()
350 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, in onClickWhenNotHvacPowerDependent_autoOff_setsNewValue()
365 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyInt()); in onClickWhenNotHvacPowerDependent_autoOn_doesNotSetNewValue()
DTemperatureControlViewTest.java135 verify(mHvacPropertySetter, times(intervalTimes)).setHvacProperty(eq(HVAC_TEMPERATURE_SET), in onHoldIncreaseButtonDown_inCelsius_increasesThreeDegreesCelsius()
156 verify(mHvacPropertySetter, times(intervalTimes)).setHvacProperty(eq(HVAC_TEMPERATURE_SET), in onHoldDecreaseButtonDown_inCelsius_decreasesThreeDegreesCelsius()
177 verify(mHvacPropertySetter, times(intervalTimes)).setHvacProperty(eq(HVAC_TEMPERATURE_SET), in onHoldIncreaseButtonDown_inFahrenheit_increasesThreeDegreesFahrenheit()
198 verify(mHvacPropertySetter, times(intervalTimes)).setHvacProperty(eq(HVAC_TEMPERATURE_SET), in onHoldDecreaseButtonDown_inFahrenheit_decreasesThreeDegreesFahrenheit()
215 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyFloat()); in onHoldIncreaseButtonDown_powerOff_doesNotSetNewValues()
231 verify(mHvacPropertySetter, never()).setHvacProperty(anyInt(), anyInt(), anyFloat()); in onHoldDecreaseButtonDown_powerOff_doesNotSetNewValues()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacPropertySetter.java28 void setHvacProperty(@HvacController.HvacProperty Integer propertyId, int areaId, int val); in setHvacProperty() method
34 void setHvacProperty(@HvacController.HvacProperty Integer propertyId, int areaId, float val); in setHvacProperty() method
40 void setHvacProperty(@HvacController.HvacProperty Integer propertyId, int areaId, boolean val); in setHvacProperty() method
DSeatTemperatureLevelButton.java85 mHvacPropertySetter.setHvacProperty(getHvacPropertyToView(), mAreaId, newLevel); in onFinishInflate()
96 mHvacPropertySetter.setHvacProperty(getHvacPropertyToView(), mAreaId, newLevel); in onFinishInflate()
DHvacController.java205 public void setHvacProperty(@HvacProperty Integer propertyId, int targetAreaId, in setHvacProperty() method in HvacController
229 public void setHvacProperty(@HvacProperty Integer propertyId, int targetAreaId, in setHvacProperty() method in HvacController
253 public void setHvacProperty(@HvacProperty Integer propertyId, int targetAreaId, in setHvacProperty() method in HvacController
DTemperatureControlView.java235 mHvacPropertySetter.setHvacProperty(HVAC_TEMPERATURE_SET, mAreaId, newTempC); in incrementTemperature()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/toggle/
DHvacBooleanToggleButton.java50 propertySetter.setHvacProperty(getHvacPropertyToView(), getAreaId(), !mCurrentValue); in handleClick()
DHvacIntegerToggleButton.java77 propertySetter.setHvacProperty(getHvacPropertyToView(), getAreaId(), newValue); in handleClick()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/custom/
DFanDirectionButton.java89 propertySetter.setHvacProperty(getHvacPropertyToView(), getAreaId(), newFanDirection); in handleClick()
DFanSpeedSeekBar.java67 mHvacPropertySetter.setHvacProperty(HVAC_FAN_SPEED, getAreaId(), progress);
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/
DFanDirectionButtons.java117 mHvacPropertySetter.setHvacProperty(HVAC_FAN_DIRECTION, getAreaId(), in onFinishInflate()
DFanSpeedBar.java272 mHvacPropertySetter.setHvacProperty(HVAC_FAN_SPEED, getAreaId(), fanSpeed); in getOnClickListener()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
DCarUiPortraitTemperatureControlView.java234 mHvacPropertySetter.setHvacProperty(HVAC_TEMPERATURE_SET, mAreaId, newTempC); in incrementTemperature()