Home
last modified time | relevance | path

Searched refs:VehicleGear (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleGearTest.java18 import android.car.VehicleGear;
30 assertThat(VehicleGear.GEAR_UNKNOWN) in testMatchWithVehicleHal()
31 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleGear.GEAR_UNKNOWN); in testMatchWithVehicleHal()
33 assertThat(VehicleGear.GEAR_NEUTRAL) in testMatchWithVehicleHal()
34 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleGear.GEAR_NEUTRAL); in testMatchWithVehicleHal()
36 assertThat(VehicleGear.GEAR_REVERSE) in testMatchWithVehicleHal()
37 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleGear.GEAR_REVERSE); in testMatchWithVehicleHal()
39 assertThat(VehicleGear.GEAR_PARK) in testMatchWithVehicleHal()
40 .isEqualTo(android.hardware.automotive.vehicle.V2_0.VehicleGear.GEAR_PARK); in testMatchWithVehicleHal()
42 assertThat(VehicleGear.GEAR_DRIVE) in testMatchWithVehicleHal()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarSensorManagerTest.java27 import android.hardware.automotive.vehicle.V2_0.VehicleGear;
296 VehicleGear.GEAR_PARK, CarSensorEvent.GEAR_PARK, in testGear()
297 VehicleGear.GEAR_DRIVE, CarSensorEvent.GEAR_DRIVE, in testGear()
298 VehicleGear.GEAR_NEUTRAL, CarSensorEvent.GEAR_NEUTRAL, in testGear()
299 VehicleGear.GEAR_REVERSE, CarSensorEvent.GEAR_REVERSE, in testGear()
300 VehicleGear.GEAR_1, CarSensorEvent.GEAR_FIRST, in testGear()
301 VehicleGear.GEAR_2, CarSensorEvent.GEAR_SECOND, in testGear()
302 VehicleGear.GEAR_3, CarSensorEvent.GEAR_THIRD, in testGear()
303 VehicleGear.GEAR_4, CarSensorEvent.GEAR_FOURTH, in testGear()
304 VehicleGear.GEAR_5, CarSensorEvent.GEAR_FIFTH, in testGear()
[all …]
DCarDrivingRestrictionsTest.java30 import android.hardware.automotive.vehicle.V2_0.VehicleGear;
101 .addIntValue(VehicleGear.GEAR_PARK) in testDrivingStateChange()
121 .addIntValue(VehicleGear.GEAR_DRIVE) in testDrivingStateChange()
191 .addIntValue(VehicleGear.GEAR_PARK) in testDrivingStateChangeForMalformedInputs()
DCarPropertyServiceTest.java31 import android.hardware.automotive.vehicle.V2_0.VehicleGear;
70 .addIntValue(VehicleGear.GEAR_DRIVE) in CarPropertyServiceTest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceIdsTest.java22 import android.hardware.automotive.vehicle.V2_0.VehicleGear;
69 .addIntValue(VehicleGear.GEAR_DRIVE)
73 .addIntValue(VehicleGear.GEAR_DRIVE)
74 .addIntValue(VehicleGear.GEAR_1)
/packages/services/Car/evs/apps/default/
DEvsStateControl.cpp222 static int32_t sDummyGear = int32_t(VehicleGear::GEAR_REVERSE); in selectStateForCurrentConditions()
245 sDummyGear = int32_t(VehicleGear::GEAR_DRIVE); in selectStateForCurrentConditions()
256 if (mGearValue.value.int32Values[0] == int32_t(VehicleGear::GEAR_REVERSE)) { in selectStateForCurrentConditions()
262 } else if (mGearValue.value.int32Values[0] == int32_t(VehicleGear::GEAR_PARK)) { in selectStateForCurrentConditions()
/packages/services/Car/car-lib/src/android/car/
DVehicleGear.java26 public final class VehicleGear { class
68 private VehicleGear() {} in VehicleGear() method in VehicleGear
/packages/services/Car/service/src/com/android/car/
DCarDrivingStateService.java31 import android.hardware.automotive.vehicle.V2_0.VehicleGear;
437 if (mLastGearTimestamp != NOT_RECEIVED && mLastGear == VehicleGear.GEAR_PARK) { in isVehicleKnownToBeParkedLocked()
459 && !mSupportedGears.contains(VehicleGear.GEAR_PARK)) { in isCarManualTransmissionTypeLocked()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalServiceIds.java30 import android.hardware.automotive.vehicle.V2_0.VehicleGear;
83 new HashSet<>(getIntegersFromDataEnums(VehicleGear.class));
/packages/services/Car/car-lib/api/
Dlint-baseline.txt112 MissingNullability: android.car.VehicleGear#toString(int):
Dcurrent.txt208 public final class VehicleGear {