Home
last modified time | relevance | path

Searched refs:mPropValue (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/
DAidlVehiclePropValueBuilder.java27 private final VehiclePropValue mPropValue; field in AidlVehiclePropValueBuilder
44 mPropValue = new VehiclePropValue(); in AidlVehiclePropValueBuilder()
45 mPropValue.value = new RawPropValues(); in AidlVehiclePropValueBuilder()
46 mPropValue.value.int32Values = new int[0]; in AidlVehiclePropValueBuilder()
47 mPropValue.value.floatValues = new float[0]; in AidlVehiclePropValueBuilder()
48 mPropValue.value.int64Values = new long[0]; in AidlVehiclePropValueBuilder()
49 mPropValue.value.byteValues = new byte[0]; in AidlVehiclePropValueBuilder()
50 mPropValue.value.stringValue = new String(); in AidlVehiclePropValueBuilder()
51 mPropValue.prop = propId; in AidlVehiclePropValueBuilder()
55 mPropValue = clone(propValue); in AidlVehiclePropValueBuilder()
[all …]
DHidlVehiclePropValueBuilder.java25 private final VehiclePropValue mPropValue; field in HidlVehiclePropValueBuilder
36 mPropValue = new VehiclePropValue(); in HidlVehiclePropValueBuilder()
37 mPropValue.prop = propId; in HidlVehiclePropValueBuilder()
41 mPropValue = clone(propValue); in HidlVehiclePropValueBuilder()
61 mPropValue.areaId = areaId; in setAreaId()
67 mPropValue.timestamp = timestamp; in setTimestamp()
73 mPropValue.timestamp = SystemClock.elapsedRealtimeNanos(); in setTimestamp()
80 mPropValue.value.int32Values.add(val); in addIntValue()
88 mPropValue.value.floatValues.add(val); in addFloatValue()
96 mPropValue.value.bytes.add(val); in addByteValue()
[all …]
/packages/services/Car/cpp/vhal/client/src/
DAidlHalPropValue.cpp28 mPropValue = {}; in AidlHalPropValue()
29 mPropValue.prop = propId; in AidlHalPropValue()
33 mPropValue = {}; in AidlHalPropValue()
34 mPropValue.prop = propId; in AidlHalPropValue()
35 mPropValue.areaId = areaId; in AidlHalPropValue()
39 mPropValue = std::move(value); in AidlHalPropValue()
43 return mPropValue.prop; in getPropId()
47 return mPropValue.areaId; in getAreaId()
51 return mPropValue.timestamp; in getTimestamp()
55 return mPropValue.status; in getStatus()
[all …]
DHidlHalPropValue.cpp28 mPropValue = {}; in HidlHalPropValue()
29 mPropValue.prop = propId; in HidlHalPropValue()
33 mPropValue = {}; in HidlHalPropValue()
34 mPropValue.prop = propId; in HidlHalPropValue()
35 mPropValue.areaId = areaId; in HidlHalPropValue()
39 mPropValue = std::move(value); in HidlHalPropValue()
43 return mPropValue.prop; in getPropId()
47 return mPropValue.areaId; in getAreaId()
51 return mPropValue.timestamp; in getTimestamp()
55 return static_cast<VehiclePropertyStatus>(mPropValue.status); in getStatus()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DSetPropRule.java39 @NonNull private final String mPropValue; field in SetPropRule
43 mPropValue = propValue.trim(); in SetPropRule()
59 String setPropCmd = SETPROP_PREFIX + " " + mPropTag + " " + mPropValue; in apply()
/packages/services/Car/cpp/vhal/client/include/
DAidlHalPropValue.h70 VehiclePropValue mPropValue;
DHidlHalPropValue.h69 ::android::hardware::automotive::vehicle::V2_0::VehiclePropValue mPropValue;
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp65 callback(mStatus, mPropValue); in get()
95 void setVehiclePropValue(VehiclePropValue value) { mPropValue = value; } in setVehiclePropValue()
116 VehiclePropValue mPropValue; member in android::frameworks::automotive::vhal::hidl_test::MockVhal
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java173 private final HalPropValue mPropValue = mPropValueBuilder.build( field in PropertyHalServiceTest
302 return deliverOkayGetResult(invocation, mPropValue); in deliverOkayGetResult()
313 mPropValue, true); in deliverOkayGetResult()
773 new GetVehicleStubAsyncResult(RECEIVED_REQUEST_ID_1, mPropValue)); in testGetCarPropertyValuesAsync_multipleResultsSameCall()
775 new GetVehicleStubAsyncResult(RECEIVED_REQUEST_ID_2, mPropValue)); in testGetCarPropertyValuesAsync_multipleResultsSameCall()
822 mPropValue))); in testGetCarPropertyValuesAsync_multipleResultsDifferentCalls()
825 mPropValue))); in testGetCarPropertyValuesAsync_multipleResultsDifferentCalls()
1054 serviceWrap.get(0).onHalEvents(List.of(mPropValue)); in testSetCarPropertyValuesAsync_mixWaitNoWaitForPropertyUpdate()
1450 serviceWrap.get(0).onHalEvents(List.of(mPropValue)); in testSetCarPropertyValuesAsync_propertyUpdatedThroughEvent()
1512 serviceWrap.get(0).onHalEvents(List.of(mPropValue)); in testSetCarPropertyValuesAsync_propertyUpdatedThroughEvent_ignoreNonTargetEvent()
[all …]