/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/toggle/ |
D | HvacIntegerToggleButtonTest.java | 112 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 …]
|
D | HvacBooleanToggleButtonTest.java | 104 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/ |
D | FanSpeedBarTest.java | 95 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 …]
|
D | SeatTemperatureLevelButtonTest.java | 83 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()
|
D | FanDirectionButtonTest.java | 241 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()
|
D | TemperatureControlViewTest.java | 135 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/ |
D | HvacPropertySetter.java | 28 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
|
D | SeatTemperatureLevelButton.java | 85 mHvacPropertySetter.setHvacProperty(getHvacPropertyToView(), mAreaId, newLevel); in onFinishInflate() 96 mHvacPropertySetter.setHvacProperty(getHvacPropertyToView(), mAreaId, newLevel); in onFinishInflate()
|
D | HvacController.java | 205 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
|
D | TemperatureControlView.java | 235 mHvacPropertySetter.setHvacProperty(HVAC_TEMPERATURE_SET, mAreaId, newTempC); in incrementTemperature()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/toggle/ |
D | HvacBooleanToggleButton.java | 50 propertySetter.setHvacProperty(getHvacPropertyToView(), getAreaId(), !mCurrentValue); in handleClick()
|
D | HvacIntegerToggleButton.java | 77 propertySetter.setHvacProperty(getHvacPropertyToView(), getAreaId(), newValue); in handleClick()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/custom/ |
D | FanDirectionButton.java | 89 propertySetter.setHvacProperty(getHvacPropertyToView(), getAreaId(), newFanDirection); in handleClick()
|
D | FanSpeedSeekBar.java | 67 mHvacPropertySetter.setHvacProperty(HVAC_FAN_SPEED, getAreaId(), progress);
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/ |
D | FanDirectionButtons.java | 117 mHvacPropertySetter.setHvacProperty(HVAC_FAN_DIRECTION, getAreaId(), in onFinishInflate()
|
D | FanSpeedBar.java | 272 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/ |
D | CarUiPortraitTemperatureControlView.java | 234 mHvacPropertySetter.setHvacProperty(HVAC_TEMPERATURE_SET, mAreaId, newTempC); in incrementTemperature()
|