Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleWindowTest.java20 import android.car.VehicleAreaWindow;
43 assertThat(VehicleAreaWindow.WINDOW_FRONT_WINDSHIELD).isEqualTo( in testMatchWithVehicleHal()
44 android.hardware.automotive.vehicle.VehicleAreaWindow.FRONT_WINDSHIELD); in testMatchWithVehicleHal()
45 assertThat(VehicleAreaWindow.WINDOW_REAR_WINDSHIELD).isEqualTo( in testMatchWithVehicleHal()
46 android.hardware.automotive.vehicle.VehicleAreaWindow.REAR_WINDSHIELD); in testMatchWithVehicleHal()
47 assertThat(VehicleAreaWindow.WINDOW_ROW_1_LEFT) in testMatchWithVehicleHal()
48 .isEqualTo(android.hardware.automotive.vehicle.VehicleAreaWindow.ROW_1_LEFT); in testMatchWithVehicleHal()
49 assertThat(VehicleAreaWindow.WINDOW_ROW_1_RIGHT) in testMatchWithVehicleHal()
50 .isEqualTo(android.hardware.automotive.vehicle.VehicleAreaWindow.ROW_1_RIGHT); in testMatchWithVehicleHal()
51 assertThat(VehicleAreaWindow.WINDOW_ROW_2_LEFT) in testMatchWithVehicleHal()
[all …]
DCarPropertyConfigTest.java24 import android.car.VehicleAreaWindow;
221 VehicleAreaWindow.WINDOW_ROW_1_LEFT).build(); in getFirstAndOnlyAreaId_returnsAreaId()
224 VehicleAreaWindow.WINDOW_ROW_1_LEFT); in getFirstAndOnlyAreaId_returnsAreaId()
231 VehicleAreaWindow.WINDOW_ROW_1_LEFT).addArea( in getFirstAndOnlyAreaId_throwsIllegalStateException()
232 VehicleAreaWindow.WINDOW_ROW_1_RIGHT).build(); in getFirstAndOnlyAreaId_throwsIllegalStateException()
249 VehicleAreaWindow.WINDOW_REAR_WINDSHIELD).build(); in getAreaIdConfigs_returnsAreaIdConfigThatIsSupplied()
261 VehicleAreaWindow.WINDOW_REAR_WINDSHIELD).build(); in getAreaIdConfigs_returnsMultipleAreaIdConfigsThatAreSupplied()
264 VehicleAreaWindow.WINDOW_FRONT_WINDSHIELD).build(); in getAreaIdConfigs_returnsMultipleAreaIdConfigsThatAreSupplied()
286 VehicleAreaWindow.WINDOW_REAR_WINDSHIELD).build(); in getAreaIdConfig_returnsAreaIdConfigThatIsSupplied()
292 VehicleAreaWindow.WINDOW_REAR_WINDSHIELD)).isEqualTo(areaIdConfig); in getAreaIdConfig_returnsAreaIdConfigThatIsSupplied()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarHvacManagerTest.java32 import android.hardware.automotive.vehicle.VehicleAreaWindow;
73 .addAreaConfig(VehicleAreaWindow.FRONT_WINDSHIELD, 0, 0); in configureMockedHal()
99 VehicleAreaWindow.FRONT_WINDSHIELD, true); in testHvacRearDefrosterOn()
101 VehicleAreaWindow.FRONT_WINDSHIELD); in testHvacRearDefrosterOn()
105 VehicleAreaWindow.FRONT_WINDSHIELD, false); in testHvacRearDefrosterOn()
107 VehicleAreaWindow.FRONT_WINDSHIELD); in testHvacRearDefrosterOn()
157 final int AREA = VehicleAreaWindow.FRONT_WINDSHIELD; in testError()
197 .setAreaId(VehicleAreaWindow.FRONT_WINDSHIELD) in testEvent()
206 assertEquals(mEventZoneVal, VehicleAreaWindow.FRONT_WINDSHIELD); in testEvent()
251 .setAreaId(VehicleAreaWindow.FRONT_WINDSHIELD) in testUnregisterCallback()
[all …]
DCarCabinManagerTest.java29 import android.hardware.automotive.vehicle.VehicleAreaWindow;
69 .addAreaConfig(VehicleAreaWindow.ROW_1_LEFT, 0, 0); in configureMockedHal()
99 VehicleAreaWindow.ROW_1_LEFT, 50); in testCabinWindowPos()
101 VehicleAreaWindow.ROW_1_LEFT); in testCabinWindowPos()
105 VehicleAreaWindow.ROW_1_LEFT, 25); in testCabinWindowPos()
107 VehicleAreaWindow.ROW_1_LEFT); in testCabinWindowPos()
165 .setAreaId(VehicleAreaWindow.ROW_1_LEFT) in testEvent()
174 assertEquals(VehicleAreaWindow.ROW_1_LEFT, mEventZoneVal); in testEvent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vehiclectrl/
DVehicleCtrlFragment.java23 import android.car.VehicleAreaWindow;
88 initWindowBtns(view, VehicleAreaWindow.WINDOW_ROW_1_LEFT, in onCreateView()
90 initWindowBtns(view, VehicleAreaWindow.WINDOW_ROW_1_RIGHT, in onCreateView()
92 initWindowBtns(view, VehicleAreaWindow.WINDOW_ROW_2_LEFT, in onCreateView()
94 initWindowBtns(view, VehicleAreaWindow.WINDOW_ROW_2_RIGHT, in onCreateView()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java43 import android.car.VehicleAreaWindow;
264 VehicleAreaWindow.WINDOW_ROW_1_LEFT).build()) in setUp()
267 VehicleAreaWindow.WINDOW_ROW_1_RIGHT).build()) in setUp()
279 VehicleAreaWindow.WINDOW_ROW_1_LEFT).build()) in setUp()
282 VehicleAreaWindow.WINDOW_ROW_1_RIGHT).build()) in setUp()
948 VehicleAreaWindow.WINDOW_ROW_1_LEFT}, 0f), in testregisterListener_alreadySubscribedOptionFilteredOut()
950 VehicleAreaWindow.WINDOW_ROW_1_LEFT, VehicleAreaWindow.WINDOW_ROW_1_RIGHT}, in testregisterListener_alreadySubscribedOptionFilteredOut()
969 VehicleAreaWindow.WINDOW_ROW_1_LEFT, VehicleAreaWindow.WINDOW_ROW_1_RIGHT}, in testregisterListener_alreadySubscribedOptionFilteredOut()
972 VehicleAreaWindow.WINDOW_ROW_1_LEFT}, 10f), in testregisterListener_alreadySubscribedOptionFilteredOut()
974 VehicleAreaWindow.WINDOW_ROW_1_RIGHT}, 30f)); in testregisterListener_alreadySubscribedOptionFilteredOut()
[all …]
/packages/services/Car/car-lib/src/android/car/
DVehicleAreaWindow.java26 public final class VehicleAreaWindow { class
38 private VehicleAreaWindow() {} in VehicleAreaWindow() method in VehicleAreaWindow
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java22 import android.car.VehicleAreaWindow;
164 if ((zones & VehicleAreaWindow.WINDOW_FRONT_WINDSHIELD)
165 == VehicleAreaWindow.WINDOW_FRONT_WINDSHIELD) {
168 if ((zones & VehicleAreaWindow.WINDOW_REAR_WINDSHIELD)
169 == VehicleAreaWindow.WINDOW_REAR_WINDSHIELD) {
538 if (prop1.hasArea(VehicleAreaWindow.WINDOW_FRONT_WINDSHIELD)) { in configureDefrosterOn()
543 VehicleAreaWindow.WINDOW_FRONT_WINDSHIELD, mTbDefrostFront.isChecked()); in configureDefrosterOn()
546 if (prop1.hasArea(VehicleAreaWindow.WINDOW_REAR_WINDSHIELD)) { in configureDefrosterOn()
551 VehicleAreaWindow.WINDOW_REAR_WINDSHIELD, mTbDefrostRear.isChecked()); in configureDefrosterOn()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DHalPropertyDebugUtilsUnitTest.java34 import android.hardware.automotive.vehicle.VehicleAreaWindow;
121 VehicleAreaWindow.FRONT_WINDSHIELD)).isEqualTo("FRONT_WINDSHIELD(0x1)"); in testToAreaIdString_handlesWindowAreaType()
123 VehicleAreaWindow.ROOF_TOP_1 | VehicleAreaWindow.ROOF_TOP_2)).isEqualTo( in testToAreaIdString_handlesWindowAreaType()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParser.java32 import android.hardware.automotive.vehicle.VehicleAreaWindow;
97 private static final int WINDOW_1_LEFT = VehicleAreaWindow.ROW_1_LEFT;
98 private static final int WINDOW_1_RIGHT = VehicleAreaWindow.ROW_1_RIGHT;
99 private static final int WINDOW_2_LEFT = VehicleAreaWindow.ROW_2_LEFT;
100 private static final int WINDOW_2_RIGHT = VehicleAreaWindow.ROW_2_RIGHT;
101 private static final int WINDOW_ROOF_TOP_1 = VehicleAreaWindow.ROOF_TOP_1;
/packages/services/Car/service/src/com/android/car/hal/property/
DHalPropertyDebugUtils.java31 import android.hardware.automotive.vehicle.VehicleAreaWindow;
127 return convertAreaIdToDebugString(VehicleAreaWindow.class, areaId); in toAreaIdString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java43 import android.hardware.automotive.vehicle.VehicleAreaWindow;
94 private static final int WINDOW_1_LEFT = VehicleAreaWindow.ROW_1_LEFT;
183 .isEqualTo(VehicleAreaWindow.ROW_1_LEFT); in testGetAllPropConfigsWithoutCustomConfig()
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt1356 UnflaggedApi: android.car.VehicleAreaWindow:
1357 New API must be flagged with @FlaggedApi: class android.car.VehicleAreaWindow
1358 UnflaggedApi: android.car.VehicleAreaWindow#WINDOW_FRONT_WINDSHIELD:
1359 …New API must be flagged with @FlaggedApi: field android.car.VehicleAreaWindow.WINDOW_FRONT_WINDSHI…
1360 UnflaggedApi: android.car.VehicleAreaWindow#WINDOW_REAR_WINDSHIELD:
1361 …New API must be flagged with @FlaggedApi: field android.car.VehicleAreaWindow.WINDOW_REAR_WINDSHIE…
1362 UnflaggedApi: android.car.VehicleAreaWindow#WINDOW_ROOF_TOP_1:
1363 New API must be flagged with @FlaggedApi: field android.car.VehicleAreaWindow.WINDOW_ROOF_TOP_1
1364 UnflaggedApi: android.car.VehicleAreaWindow#WINDOW_ROOF_TOP_2:
1365 New API must be flagged with @FlaggedApi: field android.car.VehicleAreaWindow.WINDOW_ROOF_TOP_2
[all …]
Dsystem-current.txt273 public final class VehicleAreaWindow {
Dtest-current.txt276 public final class VehicleAreaWindow {
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt983 class @hide @SystemApi VehicleAreaWindow package android.car
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt273 public final class VehicleAreaWindow {