/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/ |
D | CarPropertyManagerUnitTest.java | 21 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/ |
D | HvacControllerTest.java | 25 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 …]
|
D | TemperatureControlViewTest.java | 20 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/ |
D | PropertyHalServiceTest.java | 20 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 …]
|
D | VehicleHalTest.java | 19 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/ |
D | CarPropertyManagerTest.java | 289 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 …]
|
D | CarHvacManagerTest.java | 76 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/ |
D | CarUiPortraitTemperatureControlView.java | 20 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/ |
D | TemperatureControlView.java | 20 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()
|
D | HvacController.java | 41 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/ |
D | BackgroundAdjustingTemperatureControlViewTest.java | 19 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/ |
D | CarPropertyConfigListUnitTest.java | 19 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/ |
D | CarPropertyTest.java | 179 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/ |
D | AidlVehicleStubUnitTest.java | 19 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()
|
D | CarPropertyServiceUnitTest.java | 114 private static final int HVAC_TEMP = VehiclePropertyIds.HVAC_TEMPERATURE_SET;
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | PropertyPermissionMapping.java | 85 VehiclePropertyIds.HVAC_TEMPERATURE_SET, in PropertyPermissionMapping()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/ |
D | KitchenSinkRemoteTaskService.java | 125 VehiclePropertyIds.HVAC_TEMPERATURE_SET, VehicleAreaSeat.SEAT_ROW_1_LEFT, in handleTaskData()
|
/packages/services/Car/car-lib/api/ |
D | baseline.txt | 80 MissingPermission: android.car.VehiclePropertyIds#HVAC_TEMPERATURE_SET: 81 …RMISSION_CONTROL_CAR_CLIMATE required by field VehiclePropertyIds.HVAC_TEMPERATURE_SET is hidden o…
|
D | test-baseline.txt | 80 MissingPermission: android.car.VehiclePropertyIds#HVAC_TEMPERATURE_SET: 81 …RMISSION_CONTROL_CAR_CLIMATE required by field VehiclePropertyIds.HVAC_TEMPERATURE_SET is hidden o…
|
D | current.txt | 391 …roid.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_TEMPERATURE_SET = 358614275…
|
D | lint-baseline.txt | 836 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/ |
D | VehiclePropertyIdsTest.java | 191 propsToString.put(VehiclePropertyIds.HVAC_TEMPERATURE_SET, "HVAC_TEMPERATURE_SET"); in testToString()
|
/packages/services/Car/car-lib/src/android/car/ |
D | VehiclePropertyIds.java | 1582 public static final int HVAC_TEMPERATURE_SET = 358614275; field in VehiclePropertyIds
|
/packages/services/Car/car-lib-module/api/ |
D | current.txt | 391 …roid.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_TEMPERATURE_SET = 358614275…
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 2548 field TIRAMISU_0 int HVAC_TEMPERATURE_SET = 358614275;
|