Home
last modified time | relevance | path

Searched refs:vehicle (Results 1 – 25 of 83) sorted by relevance

1234

/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DUtils.java23 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 …]
DJsonVhalEventGenerator.java20 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()
DLinearVhalEventGenerator.java20 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()
DObd2LiveFrameTest.java26 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;
DObd2FreezeFrameTest.java26 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/
DVehicleWindowTest.java26 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()
DVehicleSeatTest.java26 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()
DVehicleDoorTest.java26 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/
DVehicleHalFragment.java21 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/
DInputTestFragment.java18 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/
DCarService.java24 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/
DPowerHalService.java19 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 …]
DHalClient.java21 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()
DVehicleHal.java27 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 …]
DVmsHalService.java33 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 …]
DInputHalService.java18 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/
DMockedVmsTestBase.java29 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;
DCarPowerManagementTest.java21 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;
DCarDiagnosticConstantsTest.java148 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()
DCarVendorExtensionManagerTest.java27 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;
DCarProjectionManagerTest.java24 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;
DCarHvacManagerTest.java28 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;
DVmsPublisherClientServiceTest.java24 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/
DMockedVehicleHal.java25 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/
DDiagnosticJsonReader.java19 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;

1234