Home
last modified time | relevance | path

Searched refs:PROPERTY_ID (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyValueTest.java33 private static final int PROPERTY_ID = 1234; field in CarPropertyValueTest
38 PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, VALUE);
72 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, null).hashCode()); in hashCode_returnsDifferentValueForDifferentCarPropertyValue()
102 new CarPropertyValue<>(PROPERTY_ID, differentAreaId, TIMESTAMP_NANOS, VALUE))) in equals_returnsFalseForDifferentAreaIds()
110 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, differentStatus, TIMESTAMP_NANOS, in equals_returnsFalseForDifferentStatuses()
118 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, differentTimestampNanos, VALUE))) in equals_returnsFalseForDifferentTimestamps()
126 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, differentValue))) in equals_returnsFalseForDifferentValues()
133 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, null))) in equals_returnsFalseForDifferentValueWithNull()
140 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, VALUE))) in equals_returnsTrueWhenEqual()
147 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, null).equals( in equals_returnsTrueWhenEqualWithNullValues()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DSeatTemperatureLevelButtonTest.java51 private static final int PROPERTY_ID = HVAC_SEAT_TEMPERATURE; field in SeatTemperatureLevelButtonTest
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()
158 when(mCarPropertyValue.getPropertyId()).thenReturn(PROPERTY_ID); in setCarPropertyValue()
DFanSpeedBarTest.java54 private static final int PROPERTY_ID = HVAC_FAN_SPEED; field in FanSpeedBarTest
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()
DFanDirectionButtonTest.java61 private static final int PROPERTY_ID = HVAC_FAN_DIRECTION; field in FanDirectionButtonTest
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()
350 verify(mHvacPropertySetter).setHvacProperty(PROPERTY_ID, GLOBAL_AREA_ID, in onClickWhenNotHvacPowerDependent_autoOff_setsNewValue()
370 when(mCarPropertyValue.getPropertyId()).thenReturn(PROPERTY_ID); in setCarPropertyValue()
DTemperatureControlViewTest.java65 private static final int PROPERTY_ID = HVAC_TEMPERATURE_SET; field in TemperatureControlViewTest
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/toggle/
DHvacIntegerToggleButtonTest.java54 private static final int PROPERTY_ID = HVAC_FAN_SPEED; field in HvacIntegerToggleButtonTest
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()
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()
258 verify(mHvacPropertySetterKeepOnPreventOff).setHvacProperty(PROPERTY_ID, AREA_ID, ON_VALUE); in onClickKeepOnPreventOffButton_currentValueOff_turnOn()
288 verify(mHvacPropertySetterTurnOffWhenAutoOn).setHvacProperty(PROPERTY_ID, AREA_ID, in onClickWhenNotHvacPowerDependent_autoOff_setsNewValue()
310 when(mCarPropertyValue.getPropertyId()).thenReturn(PROPERTY_ID); in setCarPropertyValue()
DHvacBooleanToggleButtonTest.java55 private static final int PROPERTY_ID = HVAC_AC_ON; field in HvacBooleanToggleButtonTest
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()
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()
249 verify(mHvacPropertySetterTurnOffWhenAutoOn).setHvacProperty(PROPERTY_ID, AREA_ID, false); in onClickWhenNotHvacPowerDependent_autoOff_setsNewValue()
270 when(mCarPropertyValue.getPropertyId()).thenReturn(PROPERTY_ID); in setCarPropertyValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/property/
DInputSanitizationUtilsUnitTest.java38 private static final int PROPERTY_ID = 123; field in InputSanitizationUtilsUnitTest
44 Integer.class, PROPERTY_ID, VehicleAreaType.VEHICLE_AREA_TYPE_GLOBAL);
152 CarSubscription inputOption = newCarSubscription(PROPERTY_ID, new int[]{1, 2, 3}, in testSanitizeEnableVariableUpdateRate()
173 newCarSubscription(PROPERTY_ID, new int[]{1}, DEFAULT_UPDATE_RATE_HZ, true), in testSanitizeEnableVariableUpdateRate()
174 newCarSubscription(PROPERTY_ID, new int[]{2, 3}, DEFAULT_UPDATE_RATE_HZ, false)); in testSanitizeEnableVariableUpdateRate()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyEventTest.java35 private static final int PROPERTY_ID = 1234; field in CarPropertyEventTest
40 PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, VALUE);
124 CarPropertyValue<Integer> differentCarPropertyValue = new CarPropertyValue<>(PROPERTY_ID, in equals_returnsFalseForDifferentCarPropertyValues()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/referenceui/
DBackgroundAdjustingTemperatureControlViewTest.java49 private static final int PROPERTY_ID = HVAC_TEMPERATURE_SET; field in BackgroundAdjustingTemperatureControlViewTest