/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | Utils.java | 23 import android.hardware.automotive.vehicle.V2_0.IVehicle; 24 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 25 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 43 static boolean isVhalPropertyAvailable(IVehicle vehicle, int prop) throws RemoteException { in isVhalPropertyAvailable() argument 44 return vehicle.getAllPropConfigs() in isVhalPropertyAvailable() 50 IVehicle vehicle, in readVhalProperty() argument 53 Objects.requireNonNull(vehicle); in readVhalProperty() 57 vehicle.get( in readVhalProperty() 71 IVehicle vehicle, in readVhalProperty() argument 74 return readVhalProperty(vehicle, propertyId, 0, f); in readVhalProperty() [all …]
|
D | JsonVhalEventGenerator.java | 20 import android.hardware.automotive.vehicle.V2_0.IVehicle; 21 import android.hardware.automotive.vehicle.V2_0.StatusCode; 22 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 37 JsonVhalEventGenerator(IVehicle vehicle) { in JsonVhalEventGenerator() argument 38 mVehicle = vehicle; in JsonVhalEventGenerator()
|
D | LinearVhalEventGenerator.java | 20 import android.hardware.automotive.vehicle.V2_0.IVehicle; 21 import android.hardware.automotive.vehicle.V2_0.StatusCode; 22 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 39 LinearVhalEventGenerator(IVehicle vehicle) { in LinearVhalEventGenerator() argument 40 mVehicle = vehicle; in LinearVhalEventGenerator()
|
D | Obd2LiveFrameTest.java | 26 import android.hardware.automotive.vehicle.V2_0.IVehicle; 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 28 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 29 import android.hardware.automotive.vehicle.V2_0.VehicleProperty;
|
D | Obd2FreezeFrameTest.java | 26 import android.hardware.automotive.vehicle.V2_0.IVehicle; 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 28 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 29 import android.hardware.automotive.vehicle.V2_0.VehicleProperty;
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | VehicleWindowTest.java | 26 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.FRONT_WINDSHIELD, in testMatchWithVehicleHal() 28 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.REAR_WINDSHIELD, in testMatchWithVehicleHal() 30 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROW_1_LEFT, in testMatchWithVehicleHal() 32 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROW_1_RIGHT, in testMatchWithVehicleHal() 34 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROW_2_LEFT, in testMatchWithVehicleHal() 36 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROW_2_RIGHT, in testMatchWithVehicleHal() 38 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROW_3_LEFT, in testMatchWithVehicleHal() 40 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROW_3_RIGHT, in testMatchWithVehicleHal() 42 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROOF_TOP_1, in testMatchWithVehicleHal() 44 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow.ROOF_TOP_2, in testMatchWithVehicleHal()
|
D | VehicleSeatTest.java | 26 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_1_LEFT, in testMatchWithVehicleHal() 28 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_1_CENTER, in testMatchWithVehicleHal() 30 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_1_RIGHT, in testMatchWithVehicleHal() 32 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_2_LEFT, in testMatchWithVehicleHal() 34 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_2_CENTER, in testMatchWithVehicleHal() 36 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_2_RIGHT, in testMatchWithVehicleHal() 38 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_3_LEFT, in testMatchWithVehicleHal() 40 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_3_CENTER, in testMatchWithVehicleHal() 42 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat.ROW_3_RIGHT, in testMatchWithVehicleHal()
|
D | VehicleDoorTest.java | 26 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.HOOD, in testMatchWithVehicleHal() 28 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.REAR, in testMatchWithVehicleHal() 30 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.ROW_1_LEFT, in testMatchWithVehicleHal() 32 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.ROW_1_RIGHT, in testMatchWithVehicleHal() 34 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.ROW_2_LEFT, in testMatchWithVehicleHal() 36 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.ROW_2_RIGHT, in testMatchWithVehicleHal() 38 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.ROW_3_LEFT, in testMatchWithVehicleHal() 40 assertEquals(android.hardware.automotive.vehicle.V2_0.VehicleAreaDoor.ROW_3_RIGHT, in testMatchWithVehicleHal()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/ |
D | VehicleHalFragment.java | 21 import android.hardware.automotive.vehicle.V2_0.IVehicle; 22 import android.hardware.automotive.vehicle.V2_0.StatusCode; 23 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 24 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 25 import android.hardware.automotive.vehicle.V2_0.VehicleProperty; 69 final IVehicle vehicle; in onResume() local 71 vehicle = Objects.requireNonNull(IVehicle.getService()); in onResume() 79 propConfigList = Objects.requireNonNull(vehicle.getAllPropConfigs()); in onResume() 90 mListView.setAdapter(new ListAdapter(mActivity, vehicle, supportedProperties)); in onResume() 125 public String getValue(IVehicle vehicle) { in getValue() argument [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/ |
D | InputTestFragment.java | 18 import static android.hardware.automotive.vehicle.V2_0.SubscribeFlags.EVENTS_FROM_ANDROID; 19 import static android.hardware.automotive.vehicle.V2_0.SubscribeFlags.EVENTS_FROM_CAR; 20 import static android.hardware.automotive.vehicle.V2_0.VehicleDisplay.INSTRUMENT_CLUSTER; 21 import static android.hardware.automotive.vehicle.V2_0.VehicleHwKeyInputAction.ACTION_DOWN; 22 import static android.hardware.automotive.vehicle.V2_0.VehicleHwKeyInputAction.ACTION_UP; 23 import static android.hardware.automotive.vehicle.V2_0.VehicleProperty.HW_KEY_INPUT; 27 import android.hardware.automotive.vehicle.V2_0.IVehicle; 28 import android.hardware.automotive.vehicle.V2_0.IVehicleCallback; 29 import android.hardware.automotive.vehicle.V2_0.IVehicleCallback.Stub; 30 import android.hardware.automotive.vehicle.V2_0.SubscribeOptions; [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarService.java | 24 import android.hardware.automotive.vehicle.V2_0.IVehicle; 149 IVehicle vehicle = getVehicle(); in getVehicleWithTimeout() local 151 while (vehicle == null && (start + waitMilliseconds) > elapsedRealtime()) { in getVehicleWithTimeout() 158 vehicle = getVehicle(); in getVehicleWithTimeout() 161 if (vehicle != null) { in getVehicleWithTimeout() 165 return vehicle; in getVehicleWithTimeout() 171 return android.hardware.automotive.vehicle.V2_0.IVehicle.getService(); in getVehicle() 216 private static void linkToDeath(IVehicle vehicle, DeathRecipient recipient) { in linkToDeath() argument 218 vehicle.linkToDeath(recipient, 0); in linkToDeath()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 19 import static android.hardware.automotive.vehicle.V2_0.VehicleProperty.AP_POWER_STATE_REPORT; 20 import static android.hardware.automotive.vehicle.V2_0.VehicleProperty.AP_POWER_STATE_REQ; 21 import static android.hardware.automotive.vehicle.V2_0.VehicleProperty.DISPLAY_BRIGHTNESS; 24 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateConfigFlag; 25 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateReport; 26 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateReq; 27 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateReqIndex; 28 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateShutdownParam; 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 30 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; [all …]
|
D | HalClient.java | 21 import android.hardware.automotive.vehicle.V2_0.IVehicle; 22 import android.hardware.automotive.vehicle.V2_0.IVehicleCallback; 23 import android.hardware.automotive.vehicle.V2_0.StatusCode; 24 import android.hardware.automotive.vehicle.V2_0.SubscribeOptions; 25 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 26 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 62 HalClient(IVehicle vehicle, Looper looper, IVehicleCallback callback) { in HalClient() argument 63 mVehicle = vehicle; in HalClient()
|
D | VehicleHal.java | 27 import android.hardware.automotive.vehicle.V2_0.IVehicle; 28 import android.hardware.automotive.vehicle.V2_0.IVehicleCallback; 29 import android.hardware.automotive.vehicle.V2_0.SubscribeFlags; 30 import android.hardware.automotive.vehicle.V2_0.SubscribeOptions; 31 import android.hardware.automotive.vehicle.V2_0.VehicleAreaConfig; 32 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 33 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 34 import android.hardware.automotive.vehicle.V2_0.VehicleProperty; 35 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyAccess; 36 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyChangeMode; [all …]
|
D | VmsHalService.java | 33 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 34 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 35 import android.hardware.automotive.vehicle.V2_0.VehicleProperty; 36 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyGroup; 37 import android.hardware.automotive.vehicle.V2_0.VmsBaseMessageIntegerValuesIndex; 38 import android.hardware.automotive.vehicle.V2_0.VmsMessageType; 39 import android.hardware.automotive.vehicle.V2_0.VmsMessageWithLayerAndPublisherIdIntegerValuesIndex; 40 import android.hardware.automotive.vehicle.V2_0.VmsMessageWithLayerIntegerValuesIndex; 41 import android.hardware.automotive.vehicle.V2_0.VmsOfferingMessageIntegerValuesIndex; 42 import android.hardware.automotive.vehicle.V2_0.VmsPublisherInformationIntegerValuesIndex; [all …]
|
D | InputHalService.java | 18 import static android.hardware.automotive.vehicle.V2_0.VehicleProperty.HW_KEY_INPUT; 20 import android.hardware.automotive.vehicle.V2_0.VehicleDisplay; 21 import android.hardware.automotive.vehicle.V2_0.VehicleHwKeyInputAction; 22 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 23 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue;
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | MockedVmsTestBase.java | 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 30 import android.hardware.automotive.vehicle.V2_0.VehicleProperty; 31 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyAccess; 32 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyChangeMode; 33 import android.hardware.automotive.vehicle.V2_0.VmsAvailabilityStateIntegerValuesIndex; 34 import android.hardware.automotive.vehicle.V2_0.VmsBaseMessageIntegerValuesIndex; 35 import android.hardware.automotive.vehicle.V2_0.VmsMessageType; 36 import android.hardware.automotive.vehicle.V2_0.VmsStartSessionMessageIntegerValuesIndex;
|
D | CarPowerManagementTest.java | 21 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateConfigFlag; 22 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateReport; 23 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateReq; 24 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateReqIndex; 25 import android.hardware.automotive.vehicle.V2_0.VehicleApPowerStateShutdownParam; 26 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 27 import android.hardware.automotive.vehicle.V2_0.VehicleProperty; 28 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyAccess; 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyChangeMode;
|
D | CarDiagnosticConstantsTest.java | 148 validateMatch(android.hardware.automotive.vehicle.V2_0.Obd2FuelSystemStatus.class, in testFuelSystemStatus() 153 validateMatch(android.hardware.automotive.vehicle.V2_0.Obd2FuelType.class, in testFuelType() 158 validateMatch(android.hardware.automotive.vehicle.V2_0.Obd2SecondaryAirStatus.class, in testSecondaryAirStatus() 163 validateMatch(android.hardware.automotive.vehicle.V2_0.Obd2CommonIgnitionMonitors.class, in testIgnitionMonitors() 166 … validateMatch(android.hardware.automotive.vehicle.V2_0.Obd2CompressionIgnitionMonitors.class, in testIgnitionMonitors() 169 validateMatch(android.hardware.automotive.vehicle.V2_0.Obd2SparkIgnitionMonitors.class, in testIgnitionMonitors()
|
D | CarVendorExtensionManagerTest.java | 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 28 import android.hardware.automotive.vehicle.V2_0.VehicleArea; 29 import android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat; 30 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 31 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 32 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyGroup; 33 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
|
D | CarProjectionManagerTest.java | 24 import android.hardware.automotive.vehicle.V2_0.VehicleDisplay; 25 import android.hardware.automotive.vehicle.V2_0.VehicleHwKeyInputAction; 26 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 27 import android.hardware.automotive.vehicle.V2_0.VehicleProperty; 28 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyAccess;
|
D | CarHvacManagerTest.java | 28 import android.hardware.automotive.vehicle.V2_0.VehicleAreaSeat; 29 import android.hardware.automotive.vehicle.V2_0.VehicleAreaWindow; 30 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 31 import android.hardware.automotive.vehicle.V2_0.VehicleProperty; 32 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyAccess; 33 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyChangeMode;
|
D | VmsPublisherClientServiceTest.java | 24 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 25 import android.hardware.automotive.vehicle.V2_0.VmsBaseMessageIntegerValuesIndex; 26 import android.hardware.automotive.vehicle.V2_0.VmsMessageType; 27 import android.hardware.automotive.vehicle.V2_0.VmsMessageWithLayerIntegerValuesIndex;
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 25 import android.hardware.automotive.vehicle.V2_0.IVehicle; 26 import android.hardware.automotive.vehicle.V2_0.IVehicleCallback; 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 28 import android.hardware.automotive.vehicle.V2_0.SubscribeOptions; 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 30 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue; 31 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyAccess;
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | DiagnosticJsonReader.java | 19 import static android.hardware.automotive.vehicle.V2_0.VehicleProperty.OBD2_FREEZE_FRAME; 20 import static android.hardware.automotive.vehicle.V2_0.VehicleProperty.OBD2_LIVE_FRAME; 22 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 23 import android.hardware.automotive.vehicle.V2_0.VehiclePropValue;
|