/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | AidlVehiclePropValueBuilder.java | 26 public final class AidlVehiclePropValueBuilder { class 32 public static AidlVehiclePropValueBuilder newBuilder(int propId) { in newBuilder() 33 return new AidlVehiclePropValueBuilder(propId); in newBuilder() 39 public static AidlVehiclePropValueBuilder newBuilder(VehiclePropValue propValue) { in newBuilder() 40 return new AidlVehiclePropValueBuilder(propValue); in newBuilder() 43 private AidlVehiclePropValueBuilder(int propId) { in AidlVehiclePropValueBuilder() method in AidlVehiclePropValueBuilder 54 private AidlVehiclePropValueBuilder(VehiclePropValue propValue) { in AidlVehiclePropValueBuilder() method in AidlVehiclePropValueBuilder 95 public AidlVehiclePropValueBuilder setAreaId(int areaId) { in setAreaId() 104 public AidlVehiclePropValueBuilder setStatus(@VehiclePropertyStatus int status) { in setStatus() 113 public AidlVehiclePropValueBuilder setTimestamp(long timestamp) { in setTimestamp() [all …]
|
D | DiagnosticEventBuilder.java | 154 AidlVehiclePropValueBuilder propValueBuilder = AidlVehiclePropValueBuilder.newBuilder( in build()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarInfoManagerTest.java | 31 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 67 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MAKE) in configureMockedHal() 71 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MODEL_YEAR) in configureMockedHal() 74 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_FUEL_CAPACITY) in configureMockedHal() 77 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_EV_BATTERY_CAPACITY) in configureMockedHal() 80 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_MODEL) in configureMockedHal() 83 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_FUEL_TYPE) in configureMockedHal() 88 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_EV_CONNECTOR_TYPE) in configureMockedHal() 93 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_EV_PORT_LOCATION) in configureMockedHal() 96 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.INFO_FUEL_DOOR_LOCATION) in configureMockedHal() [all …]
|
D | CarSensorManagerTest.java | 37 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 55 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in configureMockedHal() 59 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in configureMockedHal() 63 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.FUEL_LEVEL) in configureMockedHal() 67 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in configureMockedHal() 71 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.CURRENT_GEAR) in configureMockedHal() 75 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal() 79 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.IGNITION_STATE) in configureMockedHal() 163 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in testEvents() 188 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in testEvents() [all …]
|
D | CarPropertyServiceTest.java | 55 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 92 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in CarPropertyServiceTest() 96 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in CarPropertyServiceTest() 100 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in CarPropertyServiceTest() 104 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in CarPropertyServiceTest() 160 AidlVehiclePropValueBuilder.newBuilder(TEST_SUBSCRIBE_PROP) in testregisterListener() 189 AidlVehiclePropValueBuilder.newBuilder(TEST_SUBSCRIBE_PROP) in testregisterListener_exceptionAndRetry() 228 AidlVehiclePropValueBuilder.newBuilder(TEST_SUBSCRIBE_PROP) in testUnregisterListener() 255 AidlVehiclePropValueBuilder.newBuilder(TEST_SUBSCRIBE_PROP) in testUnregisterListener_exceptionAndRetry()
|
D | CarDrivingRestrictionsTest.java | 39 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 65 addAidlProperty(VehicleProperty.PERF_VEHICLE_SPEED, AidlVehiclePropValueBuilder in configureMockedHal() 69 addAidlProperty(VehicleProperty.PARKING_BRAKE_ON, AidlVehiclePropValueBuilder in configureMockedHal() 73 addAidlProperty(VehicleProperty.GEAR_SELECTION, AidlVehiclePropValueBuilder in configureMockedHal() 77 addAidlProperty(VehicleProperty.IGNITION_STATE, AidlVehiclePropValueBuilder in configureMockedHal() 104 AidlVehiclePropValueBuilder.newBuilder(propertyId) in aidlInjectIntEvent() 113 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in aidlInjectVehicleSpeedEvent() 122 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in aidlInjectParkingBrakeEvent()
|
D | CarHvacManagerTest.java | 45 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 196 VehiclePropValue v = AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_DEFROSTER) in testEvent() 209 v = AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_TEMPERATURE_CURRENT) in testEvent() 222 v = AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_FAN_SPEED) in testEvent() 250 VehiclePropValue v = AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_DEFROSTER) in testUnregisterCallback() 305 VehiclePropValue placeholderValue = AidlVehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe()
|
D | CarCabinManagerTest.java | 40 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 150 VehiclePropValue v = AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.DOOR_LOCK) in testEvent() 164 v = AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.WINDOW_POS) in testEvent() 190 return AidlVehiclePropValueBuilder.newBuilder(value.prop) in onPropertyGet()
|
D | CarProjectionManagerTest.java | 37 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 132 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVoiceKey() 150 injectValue = AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in sendVoiceKey()
|
D | MockedVmsTestBase.java | 40 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 191 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.VEHICLE_MAP_SERVICE) in sendMessage() 198 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.VEHICLE_MAP_SERVICE) in sendMessage()
|
D | CarFeatureControllerTest.java | 30 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 51 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.DISABLED_OPTIONAL_FEATURES) in configureMockedHal()
|
D | CarDiagnosticManagerTest.java | 55 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 193 AidlVehiclePropValueBuilder builder = in onPropertyGet() 194 AidlVehiclePropValueBuilder.newBuilder(VEHICLE_PROPERTY); in onPropertyGet()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CarInputManagerTest.java | 47 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 222 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in configureMockedHal() 226 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HW_ROTARY_INPUT) in configureMockedHal() 230 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HW_CUSTOM_INPUT) in configureMockedHal() 1007 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in injectKeyEvent() 1013 AidlVehiclePropValueBuilder builder = AidlVehiclePropValueBuilder.newBuilder( in injectRotaryNavigationEvent() 1024 AidlVehiclePropValueBuilder builder = AidlVehiclePropValueBuilder.newBuilder( in injectCustomInputEvent()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 55 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 385 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE_REQ) in testInvalidPowerStateEvent() 878 return AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE_REQ) in onPropertyGet() 968 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.AP_POWER_STATE_REQ) in sendPowerState()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/ |
D | ClusterHomeManagerTest.java | 56 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 456 AidlVehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/ |
D | AidlMockedVehicleHal.java | 260 result.prop = AidlVehiclePropValueBuilder.newBuilder(prop).build(); in getValues()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | PropertyHalServiceTest.java | 74 import com.android.car.hal.test.AidlVehiclePropValueBuilder; 2432 AidlVehiclePropValueBuilder.newBuilder(INT32_PROP) in testGetPropertySyncErrorPropStatus() 2444 AidlVehiclePropValueBuilder.newBuilder(INT32_PROP) in testGetPropertySyncUnavailablePropStatus() 2458 AidlVehiclePropValueBuilder.newBuilder(INT32_PROP).build()); in testGetPropertySyncInvalidProp()
|