Home
last modified time | relevance | path

Searched refs:HVAC_TEMPERATURE_SET (Results 1 – 25 of 25) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyManagerUnitTest.java21 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
120 private static final int FLOAT_PROP = HVAC_TEMPERATURE_SET;
185 CarPropertyValue<Integer> value = new CarPropertyValue<>(HVAC_TEMPERATURE_SET, 0, in createErrorCarPropertyEventList()
194 CarPropertyValue<Float> value = new CarPropertyValue<>(HVAC_TEMPERATURE_SET, 0, 17.0f); in createCarPropertyEventList()
304 CarPropertyValue<Float> value = new CarPropertyValue<>(HVAC_TEMPERATURE_SET, 0, 17.0f); in testGetProperty_returnsValue()
306 when(mICarProperty.getProperty(HVAC_TEMPERATURE_SET, 0)).thenReturn(value); in testGetProperty_returnsValue()
308 assertThat(mCarPropertyManager.getProperty(HVAC_TEMPERATURE_SET, 0)).isEqualTo(value); in testGetProperty_returnsValue()
329 when(mICarProperty.getProperty(HVAC_TEMPERATURE_SET, 0)).thenThrow( in testGetProperty_unsupportedPropertyInSvc_exceptionAtU()
333 () -> mCarPropertyManager.getProperty(HVAC_TEMPERATURE_SET, 0)); in testGetProperty_unsupportedPropertyInSvc_exceptionAtU()
339 when(mICarProperty.getProperty(HVAC_TEMPERATURE_SET, 0)).thenThrow( in testGetProperty_unsupportedPropertyInSvc_nullBeforeU()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacControllerTest.java25 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
118 when(mTestHvacView1.getHvacPropertyToView()).thenReturn(HVAC_TEMPERATURE_SET); in registerHvacView_viewRegisteredInMapBySubscribingProperty()
122 assertThat(mHvacController.getHvacPropertyViewMap().get(HVAC_TEMPERATURE_SET).get( in registerHvacView_viewRegisteredInMapBySubscribingProperty()
129 when(mTestHvacView1.getHvacPropertyToView()).thenReturn(HVAC_TEMPERATURE_SET); in registerHvacView_skipHvacPropertiesToGetOnInit()
130 when(mCarPropertyManager.getCarPropertyConfig(HVAC_TEMPERATURE_SET).getAreaType()) in registerHvacView_skipHvacPropertiesToGetOnInit()
135 assertThat(mHvacController.getHvacPropertyViewMap().get(HVAC_TEMPERATURE_SET).get( in registerHvacView_skipHvacPropertiesToGetOnInit()
144 when(mTestHvacView1.getHvacPropertyToView()).thenReturn(HVAC_TEMPERATURE_SET); in registerHvacView_retrieveHvacPropertiesToGetOnInit()
151 when(mCarPropertyManager.getProperty(HVAC_TEMPERATURE_SET, AREA_1)) in registerHvacView_retrieveHvacPropertiesToGetOnInit()
160 assertThat(mHvacController.getHvacPropertyViewMap().get(HVAC_TEMPERATURE_SET).get( in registerHvacView_retrieveHvacPropertiesToGetOnInit()
171 when(mTestHvacView1.getHvacPropertyToView()).thenReturn(HVAC_TEMPERATURE_SET); in registerHvacView_propertyNotImplemented()
[all …]
DTemperatureControlViewTest.java20 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
65 private static final int PROPERTY_ID = HVAC_TEMPERATURE_SET;
87 when(mCarPropertyValue.getPropertyId()).thenReturn(HVAC_TEMPERATURE_SET); in setUp()
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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java20 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
149 new AsyncPropertyServiceRequest(REQUEST_ID_1, HVAC_TEMPERATURE_SET, /* areaId= */ 0);
151 new AsyncPropertyServiceRequest(REQUEST_ID_2, HVAC_TEMPERATURE_SET, /* areaId= */ 0);
155 new AsyncPropertyServiceRequest(REQUEST_ID_1, HVAC_TEMPERATURE_SET, /* areaId= */ 0,
156 new CarPropertyValue(HVAC_TEMPERATURE_SET, /* areaId= */ 0, SAMPLE_RATE_HZ));
174 HVAC_TEMPERATURE_SET, /* areaId= */ 0, TEST_UPDATE_TIMESTAMP_NANOS, /* status= */ 0,
177 HVAC_TEMPERATURE_SET, /* areaId= */ 0, TEST_UPDATE_TIMESTAMP_NANOS, /* status= */ 0,
199 when(mockPropConfig1.getPropId()).thenReturn(VehicleProperty.HVAC_TEMPERATURE_SET); in setUp()
201 when(mockPropConfig1.toCarPropertyConfig(eq(VehicleProperty.HVAC_TEMPERATURE_SET), any())) in setUp()
378 assertThat(gotRequest.getHalPropValue().getPropId()).isEqualTo(HVAC_TEMPERATURE_SET); in testGetCarPropertyValuesAsync()
[all …]
DVehicleHalTest.java19 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
131 private final HalPropValue mHalPropValue = mPropValueBuilder.build(HVAC_TEMPERATURE_SET, 0);
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyManagerTest.java289 case VehiclePropertyIds.HVAC_TEMPERATURE_SET: in testMixedPropertyConfigs()
509 VehiclePropertyIds.HVAC_TEMPERATURE_SET); in testGetPermission()
512 VehiclePropertyIds.HVAC_TEMPERATURE_SET); in testGetPermission()
747 mManager.registerCallback(callback, VehiclePropertyIds.HVAC_TEMPERATURE_SET, in testNotReceiveOnErrorEvent()
750 injectErrorEvent(VehiclePropertyIds.HVAC_TEMPERATURE_SET, PASSENGER_SIDE_AREA_ID, in testNotReceiveOnErrorEvent()
760 mManager.registerCallback(callback, VehiclePropertyIds.HVAC_TEMPERATURE_SET, in testReceiveOnErrorEvent()
764 VehiclePropertyIds.HVAC_TEMPERATURE_SET, PASSENGER_SIDE_AREA_ID, in testReceiveOnErrorEvent()
766 injectErrorEvent(VehiclePropertyIds.HVAC_TEMPERATURE_SET, PASSENGER_SIDE_AREA_ID, in testReceiveOnErrorEvent()
777 mManager.registerCallback(callback1, VehiclePropertyIds.HVAC_TEMPERATURE_SET, in testNotReceiveOnErrorEventAfterUnregister()
782 mManager.registerCallback(callback2, VehiclePropertyIds.HVAC_TEMPERATURE_SET, in testNotReceiveOnErrorEventAfterUnregister()
[all …]
DCarHvacManagerTest.java76 addAidlProperty(VehicleProperty.HVAC_TEMPERATURE_SET, mHandler) in configureMockedHal()
295 case VehicleProperty.HVAC_TEMPERATURE_SET: in onPropertySubscribe()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
DCarUiPortraitTemperatureControlView.java20 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
112 if (value.getPropertyId() == HVAC_TEMPERATURE_SET) { in onPropertyChanged()
125 return HVAC_TEMPERATURE_SET; in getHvacPropertyToView()
234 mHvacPropertySetter.setHvacProperty(HVAC_TEMPERATURE_SET, mAreaId, newTempC); in incrementTemperature()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureControlView.java20 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
111 if (value.getPropertyId() == HVAC_TEMPERATURE_SET) { in onPropertyChanged()
124 return HVAC_TEMPERATURE_SET; in getHvacPropertyToView()
235 mHvacPropertySetter.setHvacProperty(HVAC_TEMPERATURE_SET, mAreaId, newTempC); in incrementTemperature()
DHvacController.java41 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
88 {HVAC_FAN_SPEED, HVAC_FAN_DIRECTION, HVAC_TEMPERATURE_CURRENT, HVAC_TEMPERATURE_SET,
99 HVAC_TEMPERATURE_SET, HVAC_DEFROSTER, HVAC_AC_ON, HVAC_MAX_AC_ON, HVAC_MAX_DEFROST_ON,
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/referenceui/
DBackgroundAdjustingTemperatureControlViewTest.java19 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
49 private static final int PROPERTY_ID = HVAC_TEMPERATURE_SET;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/property/
DCarPropertyConfigListUnitTest.java19 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
62 CarPropertyConfig.newBuilder(Float.class, HVAC_TEMPERATURE_SET, in testSerializeThenDeserializeWithValidResults()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java179 saveProperty(VehicleProperty.HVAC_TEMPERATURE_SET, HVAC_LEFT); in setUp()
191 restoreProperty(VehicleProperty.HVAC_TEMPERATURE_SET, HVAC_LEFT); in tearDown()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java19 import static android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET;
105 HVAC_PROP_VALUE = builder.build(HVAC_TEMPERATURE_SET, /* areaId= */ 0, 17.0f);
410 assertThat(request.prop.prop).isEqualTo(HVAC_TEMPERATURE_SET); in testGetAsyncAidl()
447 assertThat(request.prop.prop).isEqualTo(HVAC_TEMPERATURE_SET); in testGetAsyncAidlError()
1071 assertThat(request.value.prop).isEqualTo(HVAC_TEMPERATURE_SET); in testSetAsync()
DCarPropertyServiceUnitTest.java114 private static final int HVAC_TEMP = VehiclePropertyIds.HVAC_TEMPERATURE_SET;
/packages/services/Car/car-lib/src/com/android/car/internal/
DPropertyPermissionMapping.java85 VehiclePropertyIds.HVAC_TEMPERATURE_SET, in PropertyPermissionMapping()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/
DKitchenSinkRemoteTaskService.java125 VehiclePropertyIds.HVAC_TEMPERATURE_SET, VehicleAreaSeat.SEAT_ROW_1_LEFT, in handleTaskData()
/packages/services/Car/car-lib/api/
Dbaseline.txt80 MissingPermission: android.car.VehiclePropertyIds#HVAC_TEMPERATURE_SET:
81 …RMISSION_CONTROL_CAR_CLIMATE required by field VehiclePropertyIds.HVAC_TEMPERATURE_SET is hidden o…
Dtest-baseline.txt80 MissingPermission: android.car.VehiclePropertyIds#HVAC_TEMPERATURE_SET:
81 …RMISSION_CONTROL_CAR_CLIMATE required by field VehiclePropertyIds.HVAC_TEMPERATURE_SET is hidden o…
Dcurrent.txt391 …roid.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_TEMPERATURE_SET = 358614275…
Dlint-baseline.txt836 UnflaggedApi: android.car.VehiclePropertyIds#HVAC_TEMPERATURE_SET:
837 …New API must be flagged with @FlaggedApi: field android.car.VehiclePropertyIds.HVAC_TEMPERATURE_SET
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehiclePropertyIdsTest.java191 propsToString.put(VehiclePropertyIds.HVAC_TEMPERATURE_SET, "HVAC_TEMPERATURE_SET"); in testToString()
/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyIds.java1582 public static final int HVAC_TEMPERATURE_SET = 358614275; field in VehiclePropertyIds
/packages/services/Car/car-lib-module/api/
Dcurrent.txt391 …roid.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_TEMPERATURE_SET = 358614275…
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2548 field TIRAMISU_0 int HVAC_TEMPERATURE_SET = 358614275;