/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | VehicleSeatTest.java | 18 import android.car.VehicleAreaSeat; 30 assertThat(VehicleAreaSeat.SEAT_ROW_1_LEFT) in testMatchWithVehicleHal() 31 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_1_LEFT); in testMatchWithVehicleHal() 32 assertThat(VehicleAreaSeat.SEAT_ROW_1_CENTER) in testMatchWithVehicleHal() 33 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_1_CENTER); in testMatchWithVehicleHal() 34 assertThat(VehicleAreaSeat.SEAT_ROW_1_RIGHT) in testMatchWithVehicleHal() 35 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_1_RIGHT); in testMatchWithVehicleHal() 36 assertThat(VehicleAreaSeat.SEAT_ROW_2_LEFT) in testMatchWithVehicleHal() 37 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_2_LEFT); in testMatchWithVehicleHal() 38 assertThat(VehicleAreaSeat.SEAT_ROW_2_CENTER) in testMatchWithVehicleHal() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarHvacManagerTest.java | 31 import android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat; 77 .addAreaConfig(VehicleAreaSeat.ROW_1_LEFT, 0, 0); in configureMockedHal() 79 .addAreaConfig(VehicleAreaSeat.ROW_1_LEFT, 0, 0); in configureMockedHal() 83 .addAreaConfig(VehicleAreaSeat.ROW_1_LEFT | VehicleAreaSeat.ROW_1_RIGHT, 0, 0); in configureMockedHal() 92 VehicleAreaSeat.ROW_1_LEFT, 0); in setUp() 117 VehicleAreaSeat.ROW_1_CENTER)).isFalse(); in testHvacPropertyAvailable() 119 VehicleAreaSeat.ROW_1_LEFT)).isTrue(); in testHvacPropertyAvailable() 126 VehicleAreaSeat.ROW_1_LEFT, 15); in testHvacFanSpeed() 128 VehicleAreaSeat.ROW_1_LEFT); in testHvacFanSpeed() 132 VehicleAreaSeat.ROW_1_LEFT, 23); in testHvacFanSpeed() [all …]
|
D | CarVendorExtensionManagerTest.java | 29 import android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat; 98 .addAreaConfig(VehicleAreaSeat.ROW_1_LEFT | VehicleAreaSeat.ROW_1_RIGHT, 0, 0) 99 .addAreaConfig(VehicleAreaSeat.ROW_1_LEFT, MIN_PROP_FLOAT, MAX_PROP_FLOAT) 100 .addAreaConfig(VehicleAreaSeat.ROW_2_RIGHT, MIN_PROP_FLOAT, MAX_PROP_FLOAT) 103 .addAreaConfig(VehicleAreaSeat.ROW_1_LEFT | VehicleAreaSeat.ROW_1_RIGHT, 0, 0) 153 VehicleAreaSeat.ROW_1_RIGHT, in testFloatZonedProperty() 157 Float.class, CUSTOM_ZONED_FLOAT_PROP_ID, VehicleAreaSeat.ROW_1_RIGHT); in testFloatZonedProperty()
|
D | CarPropertyManagerTest.java | 37 import android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat; 147 private static final int DRIVER_SIDE_AREA_ID = VehicleAreaSeat.ROW_1_LEFT 148 | VehicleAreaSeat.ROW_2_LEFT; 149 private static final int PASSENGER_SIDE_AREA_ID = VehicleAreaSeat.ROW_1_RIGHT 150 | VehicleAreaSeat.ROW_2_CENTER 151 | VehicleAreaSeat.ROW_2_RIGHT; 371 int result = mManager.getAreaId(CUSTOM_SEAT_MIXED_PROP_ID_1, VehicleAreaSeat.ROW_1_LEFT); in testGetAreaId() 375 mManager.getAreaId(CUSTOM_GLOBAL_MIXED_PROP_ID_2, VehicleAreaSeat.ROW_1_LEFT); in testGetAreaId() 379 CUSTOM_SEAT_MIXED_PROP_ID_1, VehicleAreaSeat.ROW_3_CENTER)); in testGetAreaId() 381 VehicleAreaSeat.ROW_1_LEFT)); in testGetAreaId()
|
D | CarInfoManagerTest.java | 23 import android.car.VehicleAreaSeat; 100 .addIntValue(VehicleAreaSeat.SEAT_ROW_1_LEFT).build()); in configureMockedHal() 199 assertThat(mCarInfoManager.getDriverSeat()).isEqualTo(VehicleAreaSeat.SEAT_ROW_1_LEFT); in testGetDriverSeat() 204 assertThat(mCarInfoManager.getDriverSeat()).isEqualTo(VehicleAreaSeat.SEAT_UNKNOWN); in testGetDriverSeat_unimplemented()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 24 import android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat; 423 if (prop.hasArea(VehicleAreaSeat.ROW_1_LEFT | VehicleAreaSeat.ROW_2_LEFT in configureTempSetpoint() 424 | VehicleAreaSeat.ROW_2_CENTER)) { in configureTempSetpoint() 425 mZoneForSetTempD = VehicleAreaSeat.ROW_1_LEFT | VehicleAreaSeat.ROW_2_LEFT in configureTempSetpoint() 426 | VehicleAreaSeat.ROW_2_CENTER; in configureTempSetpoint() 429 if (prop.hasArea(VehicleAreaSeat.ROW_1_RIGHT | VehicleAreaSeat.ROW_2_RIGHT)) { in configureTempSetpoint() 430 mZoneForSetTempP = VehicleAreaSeat.ROW_1_RIGHT | VehicleAreaSeat.ROW_2_RIGHT; in configureTempSetpoint()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacController.java | 21 import android.car.VehicleAreaSeat; 43 private static final int DRIVER_ZONE_ID = VehicleAreaSeat.SEAT_ROW_1_LEFT | 44 VehicleAreaSeat.SEAT_ROW_2_LEFT | VehicleAreaSeat.SEAT_ROW_2_CENTER; 45 private static final int PASSENGER_ZONE_ID = VehicleAreaSeat.SEAT_ROW_1_RIGHT | 46 VehicleAreaSeat.SEAT_ROW_2_RIGHT; 268 if (zone == VehicleAreaSeat.SEAT_ROW_1_LEFT) { in handleSeatWarmerUpdate() 532 setSeatWarmerLevel(VehicleAreaSeat.SEAT_ROW_1_LEFT, level); in setDriverSeatWarmerLevel() 536 setSeatWarmerLevel(VehicleAreaSeat.SEAT_ROW_1_RIGHT, level); in setPassengerSeatWarmerLevel()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarOccupantZoneService.java | 31 import android.car.VehicleAreaSeat; 235 private int mDriverSeat = VehicleAreaSeat.SEAT_UNKNOWN; 877 int driverSeatSide = VehicleAreaSeat.SIDE_LEFT; // default LHD : Left Hand Drive in parseOccupantZoneConfigsLocked() 878 if (driverSeat == VehicleAreaSeat.SEAT_ROW_1_RIGHT) { in parseOccupantZoneConfigsLocked() 879 driverSeatSide = VehicleAreaSeat.SIDE_RIGHT; in parseOccupantZoneConfigsLocked() 886 int seatSide = VehicleAreaSeat.SIDE_LEFT; in parseOccupantZoneConfigsLocked() 925 seatSide = VehicleAreaSeat.SIDE_LEFT; in parseOccupantZoneConfigsLocked() 928 seatSide = VehicleAreaSeat.SIDE_CENTER; in parseOccupantZoneConfigsLocked() 931 seatSide = VehicleAreaSeat.SIDE_RIGHT; in parseOccupantZoneConfigsLocked() 961 int seat = VehicleAreaSeat.fromRowAndSide(seatRow, seatSide); in parseOccupantZoneConfigsLocked() [all …]
|
D | BluetoothDeviceConnectionPolicy.java | 21 import android.car.VehicleAreaSeat; 223 int defaultLocation = VehicleAreaSeat.SEAT_ROW_1_LEFT; in getDriverSeatLocationFromVhal()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarOccupantZoneServiceTest.java | 35 import android.car.VehicleAreaSeat; 139 VehicleAreaSeat.SEAT_ROW_1_LEFT); 142 VehicleAreaSeat.SEAT_ROW_1_RIGHT); 145 VehicleAreaSeat.SEAT_ROW_2_LEFT); 148 VehicleAreaSeat.SEAT_ROW_2_RIGHT); 243 doReturn(VehicleAreaSeat.SEAT_ROW_1_LEFT).when(mService).getDriverSeat(); in setUp() 280 doReturn(VehicleAreaSeat.SEAT_ROW_1_RIGHT).when(mService).getDriverSeat(); in testDefaultOccupantConfigForRHD() 288 VehicleAreaSeat.SEAT_ROW_1_RIGHT)).isEqualTo(configs.get(0)); in testDefaultOccupantConfigForRHD() 290 VehicleAreaSeat.SEAT_ROW_1_LEFT)).isEqualTo(configs.get(1)); in testDefaultOccupantConfigForRHD() 327 doReturn(VehicleAreaSeat.SEAT_ROW_1_LEFT).when(mService).getDriverSeat(); in setUpServiceWithProfileSupportEnabled()
|
D | BluetoothDeviceConnectionPolicyTest.java | 37 import android.car.VehicleAreaSeat; 122 private static final int DRIVER_SEAT = VehicleAreaSeat.SEAT_ROW_1_RIGHT; 123 private static final int PASSENGER_SEAT = VehicleAreaSeat.SEAT_ROW_1_LEFT;
|
/packages/services/Car/car-lib/src/android/car/ |
D | VehicleAreaSeat.java | 39 public final class VehicleAreaSeat { class 77 private VehicleAreaSeat() {} in VehicleAreaSeat() method in VehicleAreaSeat
|
D | CarInfoManager.java | 247 public @VehicleAreaSeat.Enum int getDriverSeat() { in getDriverSeat() 249 VehicleAreaSeat.SEAT_UNKNOWN); in getDriverSeat()
|
D | CarOccupantZoneManager.java | 145 @VehicleAreaSeat.Enum 150 @VehicleAreaSeat.Enum int seat) { in OccupantZoneInfo()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PropertyHalServiceIds.java | 31 import android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat; 83 new HashSet<>(getIntegersFromDataEnums(VehicleAreaSeat.class));
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 180 public final class VehicleAreaSeat {
|