Home
last modified time | relevance | path

Searched refs:VehiclePropValueBuilder (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DVehiclePropValueBuilder.java24 public class VehiclePropValueBuilder { class
27 public static VehiclePropValueBuilder newBuilder(int propId) { in newBuilder()
28 return new VehiclePropValueBuilder(propId); in newBuilder()
31 public static VehiclePropValueBuilder newBuilder(VehiclePropValue propValue) { in newBuilder()
32 return new VehiclePropValueBuilder(propValue); in newBuilder()
35 private VehiclePropValueBuilder(int propId) { in VehiclePropValueBuilder() method in VehiclePropValueBuilder
40 private VehiclePropValueBuilder(VehiclePropValue propValue) { in VehiclePropValueBuilder() method in VehiclePropValueBuilder
60 public VehiclePropValueBuilder setAreaId(int areaId) { in setAreaId()
66 public VehiclePropValueBuilder setTimestamp(long timestamp) { in setTimestamp()
72 public VehiclePropValueBuilder setTimestamp() { in setTimestamp()
[all …]
DDiagnosticEventBuilder.java150 VehiclePropValueBuilder propValueBuilder = VehiclePropValueBuilder.newBuilder(mPropertyId); in build()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java38 import com.android.car.vehiclehal.VehiclePropValueBuilder;
64 addProperty(VehicleProperty.PERF_VEHICLE_SPEED, VehiclePropValueBuilder in configureMockedHal()
68 addProperty(VehicleProperty.PARKING_BRAKE_ON, VehiclePropValueBuilder in configureMockedHal()
72 addProperty(VehicleProperty.GEAR_SELECTION, VehiclePropValueBuilder in configureMockedHal()
99 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in testDrivingStateChange()
109 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
119 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in testDrivingStateChange()
131 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
147 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
166 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in testDrivingStateChange()
[all …]
DCarSensorManagerTest.java35 import com.android.car.vehiclehal.VehiclePropValueBuilder;
51 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in configureMockedHal()
55 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in configureMockedHal()
59 VehiclePropValueBuilder.newBuilder(VehicleProperty.FUEL_LEVEL) in configureMockedHal()
63 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in configureMockedHal()
67 VehiclePropValueBuilder.newBuilder(VehicleProperty.CURRENT_GEAR) in configureMockedHal()
71 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal()
75 VehiclePropValueBuilder.newBuilder(VehicleProperty.IGNITION_STATE) in configureMockedHal()
162 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in testEvents()
186 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in testEvents()
[all …]
DCarHvacManagerTest.java41 import com.android.car.vehiclehal.VehiclePropValueBuilder;
177 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_DEFROSTER) in testEvent()
190 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_TEMPERATURE_CURRENT) in testEvent()
203 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_FAN_SPEED) in testEvent()
236 VehiclePropValue dummyValue = VehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe()
DCarCabinManagerTest.java39 import com.android.car.vehiclehal.VehiclePropValueBuilder;
150 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.DOOR_LOCK) in testEvent()
164 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.WINDOW_POS) in testEvent()
198 VehiclePropValue dummyValue = VehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe()
DCarProjectionManagerTest.java36 import com.android.car.vehiclehal.VehiclePropValueBuilder;
132 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVoiceKey()
150 injectValue = VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVoiceKey()
DMockedVmsTestBase.java40 import com.android.car.vehiclehal.VehiclePropValueBuilder;
207 VehiclePropValueBuilder.newBuilder(VehicleProperty.VEHICLE_MAP_SERVICE) in sendMessage()
214 VehiclePropValueBuilder.newBuilder(VehicleProperty.VEHICLE_MAP_SERVICE) in sendMessage()
DCarInfoManagerTest.java28 import com.android.car.vehiclehal.VehiclePropValueBuilder;
43 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MAKE) in configureMockedHal()
DCarPowerManagementTest.java38 import com.android.car.vehiclehal.VehiclePropValueBuilder;
358 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE_REQ) in onPropertyGet()
438 VehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE_REQ) in sendPowerState()
DCarDiagnosticManagerTest.java48 import com.android.car.vehiclehal.VehiclePropValueBuilder;
166 VehiclePropValueBuilder builder = in onPropertyGet()
167 VehiclePropValueBuilder.newBuilder(VEHICLE_PROPERTY); in onPropertyGet()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalJsonReader.java23 import com.android.car.vehiclehal.VehiclePropValueBuilder;
96 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder(prop); in getEvent()
115 private static void copyValuesArray(VehiclePropValueBuilder builder, JSONArray jsonArray, in copyValuesArray()
DJsonVhalEventGenerator.java25 import com.android.car.vehiclehal.VehiclePropValueBuilder;
52 VehiclePropValueBuilder.newBuilder(GENERATE_FAKE_DATA_CONTROLLING_PROPERTY) in start()
62 VehiclePropValueBuilder.newBuilder(GENERATE_FAKE_DATA_CONTROLLING_PROPERTY) in stop()
DLinearVhalEventGenerator.java25 import com.android.car.vehiclehal.VehiclePropValueBuilder;
81 VehiclePropValueBuilder.newBuilder(GENERATE_FAKE_DATA_CONTROLLING_PROPERTY) in start()
92 VehiclePropValueBuilder.newBuilder(GENERATE_FAKE_DATA_CONTROLLING_PROPERTY) in stop()
DCarDiagnosticTest.java35 import com.android.car.vehiclehal.VehiclePropValueBuilder;
81 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder(prop); in fromCarDiagnosticEvent()
DObd2FreezeFrameTest.java33 import com.android.car.vehiclehal.VehiclePropValueBuilder;
63 VehiclePropValueBuilder.newBuilder(VehicleProperty.OBD2_FREEZE_FRAME) in testFreezeFrame()
DUtils.java29 import com.android.car.vehiclehal.VehiclePropValueBuilder;
83 VehiclePropValueBuilder.newBuilder(propertyId).setAreaId(areaId).build(); in readVhalProperty()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarEmulator.java33 import com.android.car.vehiclehal.VehiclePropValueBuilder;
81 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in injectKey()
98 return VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT)
/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java36 import com.android.car.vehiclehal.VehiclePropValueBuilder;
501 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in getFreezeFrame()
518 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in clearFreezeFrames()