Home
last modified time | relevance | path

Searched refs:VehiclePropValueBuilder (Results 1 – 22 of 22) 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/test/
DCarSensorManagerTest.java31 import com.android.car.vehiclehal.VehiclePropValueBuilder;
45 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in configureMockedHal()
49 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in configureMockedHal()
53 VehiclePropValueBuilder.newBuilder(VehicleProperty.FUEL_LEVEL_LOW) in configureMockedHal()
57 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in configureMockedHal()
61 VehiclePropValueBuilder.newBuilder(VehicleProperty.CURRENT_GEAR) in configureMockedHal()
65 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal()
69 VehiclePropValueBuilder.newBuilder(VehicleProperty.DRIVING_STATUS) in configureMockedHal()
73 VehiclePropValueBuilder.newBuilder(VehicleProperty.IGNITION_STATE) in configureMockedHal()
168 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in testEvents()
[all …]
DCarVolumeServiceTest.java41 import com.android.car.vehiclehal.VehiclePropValueBuilder;
280 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_VOLUME) in onPropertySet()
290 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_VOLUME) in onPropertyGet()
340 return VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT)
383 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_HW_VARIANT) in startVolumeEmulation()
397 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVolumeKey()
409 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVolumeKey()
DCarPowerManagementTest.java31 import com.android.car.vehiclehal.VehiclePropValueBuilder;
50 VehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_BOOTUP_REASON) in setupPowerPropertyAndStart()
133 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE) in onPropertyGet()
184 VehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE) in sendPowerState()
DCarAudioFocusSystemSoundTest.java40 import com.android.car.vehiclehal.VehiclePropValueBuilder;
79 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_HW_VARIANT) in configureMockedHal()
98 getMockedVehicleHal().injectEvent(VehiclePropValueBuilder.newBuilder(AUDIO_STREAM_STATE) in notifyStreamState()
333 VehiclePropValueBuilder.newBuilder(AUDIO_FOCUS) in sendAudioFocusState()
377 return VehiclePropValueBuilder.newBuilder(AUDIO_FOCUS) in onPropertyGet()
DCarHvacManagerTest.java35 import com.android.car.vehiclehal.VehiclePropValueBuilder;
157 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_DEFROSTER) in testEvent()
170 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_TEMPERATURE_CURRENT) in testEvent()
183 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_FAN_SPEED) in testEvent()
DAudioRoutingPolicyTest.java27 import com.android.car.vehiclehal.VehiclePropValueBuilder;
71 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_HW_VARIANT) in testHwVariant0()
84 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_HW_VARIANT) in testHwVariantForTest()
DCarProjectionManagerTest.java30 import com.android.car.vehiclehal.VehiclePropValueBuilder;
114 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVoiceKey()
127 injectValue = VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVoiceKey()
DCarRadioManagerTest.java32 import com.android.car.vehiclehal.VehiclePropValueBuilder;
93 return VehiclePropValueBuilder.newBuilder(VehicleProperty.RADIO_PRESET) in onPropertyGet()
179 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.RADIO_PRESET) in testSubscribe()
DSystemActivityMonitoringServiceTest.java29 import com.android.car.vehiclehal.VehiclePropValueBuilder;
56 VehiclePropValueBuilder.newBuilder(VehicleProperty.DRIVING_STATUS) in init()
206 return VehiclePropValueBuilder.newBuilder(VehicleProperty.DRIVING_STATUS) in onPropertyGet()
DCarAudioManagerTest.java26 import com.android.car.vehiclehal.VehiclePropValueBuilder;
145 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_PARAMETERS) in sendAudioParamChange()
185 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_PARAMETERS) in onPropertyGet()
DCarCabinManagerTest.java33 import com.android.car.vehiclehal.VehiclePropValueBuilder;
134 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.DOOR_LOCK) in testEvent()
148 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.WINDOW_POS) in testEvent()
DCarInfoManagerTest.java22 import com.android.car.vehiclehal.VehiclePropValueBuilder;
32 VehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MAKE) in configureMockedHal()
DCarAudioFocusTest.java40 import com.android.car.vehiclehal.VehiclePropValueBuilder;
76 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_HW_VARIANT) in configureMockedHal()
563 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_FOCUS) in sendAudioFocusState()
601 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_FOCUS) in onPropertyGet()
DCarAudioExtFocusTest.java41 import com.android.car.vehiclehal.VehiclePropValueBuilder;
88 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_HW_VARIANT) in configureMockedHal()
919 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_FOCUS) in sendAudioFocusState()
959 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_FOCUS) in onPropertyGet()
DCarDiagnosticManagerTest.java39 import com.android.car.vehiclehal.VehiclePropValueBuilder;
147 VehiclePropValueBuilder builder = in onPropertyGet()
148 VehiclePropValueBuilder.newBuilder(VEHICLE_PROPERTY); in onPropertyGet()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarEmulator.java39 import com.android.car.vehiclehal.VehiclePropValueBuilder;
127 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in injectKey()
144 return VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT)
217 mHalEmulator.injectEvent(VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_FOCUS) in injectCurrentStateToHal()
225 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_FOCUS) in onPropertyGet()
237 return VehiclePropValueBuilder.newBuilder(AUDIO_VOLUME_LIMIT) in onPropertyGet()
264 VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_VOLUME) in onPropertySet()
278 return VehiclePropValueBuilder.newBuilder(VehicleProperty.AUDIO_VOLUME) in onPropertyGet()
/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java34 import com.android.car.vehiclehal.VehiclePropValueBuilder;
306 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in getFreezeFrame()
323 VehiclePropValueBuilder builder = VehiclePropValueBuilder.newBuilder( in clearFreezeFrames()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DObd2FreezeFrameTest.java32 import com.android.car.vehiclehal.VehiclePropValueBuilder;
62 VehiclePropValueBuilder.newBuilder(VehicleProperty.OBD2_FREEZE_FRAME) in testFreezeFrame()
DUtils.java26 import com.android.car.vehiclehal.VehiclePropValueBuilder;
80 VehiclePropValueBuilder.newBuilder(propertyId).setAreaId(areaId).build(); in readVhalProperty()
DE2ePerformanceTest.java55 import com.android.car.vehiclehal.VehiclePropValueBuilder;
422 VehiclePropValueBuilder.newBuilder(GENERATE_FAKE_DATA_CONTROLLING_PROPERTY) in start()
436 VehiclePropValueBuilder.newBuilder(GENERATE_FAKE_DATA_CONTROLLING_PROPERTY) in stop()