Home
last modified time | relevance | path

Searched refs:VehiclePropValueBuilder (Results 1 – 23 of 23) 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.java39 import com.android.car.vehiclehal.VehiclePropValueBuilder;
65 addProperty(VehicleProperty.PERF_VEHICLE_SPEED, VehiclePropValueBuilder in configureMockedHal()
69 addProperty(VehicleProperty.PARKING_BRAKE_ON, VehiclePropValueBuilder in configureMockedHal()
73 addProperty(VehicleProperty.GEAR_SELECTION, VehiclePropValueBuilder in configureMockedHal()
100 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in testDrivingStateChange()
110 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
120 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in testDrivingStateChange()
132 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
148 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
167 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in testDrivingStateChange()
[all …]
DCarInfoManagerTest.java31 import com.android.car.vehiclehal.VehiclePropValueBuilder;
67 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MAKE) in configureMockedHal()
71 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MODEL_YEAR) in configureMockedHal()
74 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_FUEL_CAPACITY) in configureMockedHal()
77 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_EV_BATTERY_CAPACITY) in configureMockedHal()
80 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MODEL) in configureMockedHal()
83 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_FUEL_TYPE) in configureMockedHal()
88 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_EV_CONNECTOR_TYPE) in configureMockedHal()
93 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_EV_PORT_LOCATION) in configureMockedHal()
96 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_FUEL_DOOR_LOCATION) in configureMockedHal()
[all …]
DCarSensorManagerTest.java37 import com.android.car.vehiclehal.VehiclePropValueBuilder;
55 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in configureMockedHal()
59 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in configureMockedHal()
63 VehiclePropValueBuilder.newBuilder(VehicleProperty.FUEL_LEVEL) in configureMockedHal()
67 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in configureMockedHal()
71 VehiclePropValueBuilder.newBuilder(VehicleProperty.CURRENT_GEAR) in configureMockedHal()
75 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal()
79 VehiclePropValueBuilder.newBuilder(VehicleProperty.IGNITION_STATE) in configureMockedHal()
166 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in testEvents()
191 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in testEvents()
[all …]
DCarPropertyServiceTest.java40 import com.android.car.vehiclehal.VehiclePropValueBuilder;
69 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in CarPropertyServiceTest()
73 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in CarPropertyServiceTest()
77 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in CarPropertyServiceTest()
81 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in CarPropertyServiceTest()
DCarHvacManagerTest.java44 import com.android.car.vehiclehal.VehiclePropValueBuilder;
195 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_DEFROSTER) in testEvent()
208 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_TEMPERATURE_CURRENT) in testEvent()
221 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_FAN_SPEED) in testEvent()
248 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_DEFROSTER) in testUnregisterCallback()
286 VehiclePropValue placeholderValue = VehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe()
DCarCabinManagerTest.java40 import com.android.car.vehiclehal.VehiclePropValueBuilder;
152 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.DOOR_LOCK) in testEvent()
166 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.WINDOW_POS) in testEvent()
200 VehiclePropValue placeholderValue = 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.java39 import com.android.car.vehiclehal.VehiclePropValueBuilder;
190 VehiclePropValueBuilder.newBuilder(VehicleProperty.VEHICLE_MAP_SERVICE) in sendMessage()
197 VehiclePropValueBuilder.newBuilder(VehicleProperty.VEHICLE_MAP_SERVICE) in sendMessage()
DCarFeatureControllerTest.java30 import com.android.car.vehiclehal.VehiclePropValueBuilder;
51 VehiclePropValueBuilder.newBuilder(VehicleProperty.DISABLED_OPTIONAL_FEATURES) in configureMockedHal()
DCarDiagnosticManagerTest.java49 import com.android.car.vehiclehal.VehiclePropValueBuilder;
167 VehiclePropValueBuilder builder = in onPropertyGet()
168 VehiclePropValueBuilder.newBuilder(VEHICLE_PROPERTY); in onPropertyGet()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceIdsTest.java36 import com.android.car.vehiclehal.VehiclePropValueBuilder;
70 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION)
74 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION)
79 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION)
83 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION)
87 VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_FAN_DIRECTION)
91 VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_FAN_DIRECTION)
/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.java35 import com.android.car.vehiclehal.VehiclePropValueBuilder;
68 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/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java47 import com.android.car.vehiclehal.VehiclePropValueBuilder;
208 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in configureMockedHal()
212 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_ROTARY_INPUT) in configureMockedHal()
216 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_CUSTOM_INPUT) in configureMockedHal()
800 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in injectKeyEvent()
806 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in injectRotaryEvent()
816 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in injectCustomInputEvent()
/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java40 import com.android.car.vehiclehal.VehiclePropValueBuilder;
524 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in getFreezeFrame()
544 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in clearFreezeFrames()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java39 import com.android.car.vehiclehal.VehiclePropValueBuilder;
392 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE_REQ) in onPropertyGet()
483 VehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE_REQ) in sendPowerState()
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java50 import com.android.car.vehiclehal.VehiclePropValueBuilder;
306 VehiclePropValue placeholderValue = VehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe()