OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:vehiclePropValue
(Results
1 - 4
of
4
) sorted by null
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
Obd2FreezeFrameGeneratorTest.java
24
import android.hardware.automotive.vehicle.V2_0.
VehiclePropValue
;
105
VehiclePropValue
vehiclePropValue
= diagnosticJsonReader.build(jsonReader);
106
assertEquals(OBD2_FREEZE_FRAME,
vehiclePropValue
.prop);
107
assertEquals(1155, (long)
vehiclePropValue
.value.int32Values.get(0xC));
108
assertEquals(130, (long)
vehiclePropValue
.value.int32Values.get(0xD));
109
vehiclePropValue
= diagnosticJsonReader.build(jsonReader);
110
assertEquals(OBD2_FREEZE_FRAME,
vehiclePropValue
.prop);
111
assertEquals(1155, (long)
vehiclePropValue
.value.int32Values.get(0xC));
112
assertEquals(131, (long)
vehiclePropValue
.value.int32Values.get(0xD))
[
all
...]
Obd2LiveFrameGeneratorTest.java
24
import android.hardware.automotive.vehicle.V2_0.
VehiclePropValue
;
83
VehiclePropValue
vehiclePropValue
= diagnosticJsonReader.build(jsonReader);
84
assertEquals(OBD2_LIVE_FRAME,
vehiclePropValue
.prop);
85
assertEquals(1155, (long)
vehiclePropValue
.value.int32Values.get(0xC));
86
assertEquals(130, (long)
vehiclePropValue
.value.int32Values.get(0xD));
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DiagnosticJson.java
19
import android.hardware.automotive.vehicle.V2_0.
VehiclePropValue
;
48
VehiclePropValue
build(DiagnosticEventBuilder builder) {
58
VehiclePropValue
vehiclePropValue
= builder.build(timestamp);
60
return
vehiclePropValue
;
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
VtsHalAutomotiveVehicleV2_0HostTest.py
113
vp = self.vtypes.Py2Pb("
VehiclePropValue
",
144
vp = self.vtypes.Py2Pb("
VehiclePropValue
", propValue)
193
# added the status field in
VehiclePropValue
. Need to update the test for this.
550
def onPropertySet(
vehiclePropValue
):
551
logging.info("onPropertySet notification received: %s",
vehiclePropValue
)
622
value: the
VehiclePropValue
returned from Vehicle HAL.
624
Returns: a
VehiclePropValue
instance, or None on failure."""
634
propValue: a dictionary in the format of a
VehiclePropValue
.
655
requestPropValue = self.test.vtypes.Py2Pb("
VehiclePropValue
",
691
propValue: a dictionary in the format of a
VehiclePropValue
[
all
...]
Completed in 221 milliseconds