Home
last modified time | relevance | path

Searched refs:propValues (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/
DAidlMockedVehicleHal.java154 VehiclePropValues propValues = new VehiclePropValues(); in injectEvent() local
155 propValues.payloads = new VehiclePropValue[1]; in injectEvent()
156 propValues.payloads[0] = value; in injectEvent()
157 callback.onPropertyEvent(propValues, /* sharedMemoryCount= */ 0); in injectEvent()
316 VehiclePropValues propValues = new VehiclePropValues(); in setValues() local
318 propValues.payloads = new VehiclePropValue[updatedValues.size()]; in setValues()
320 propValues.payloads[i] = updatedValues.get(i); in setValues()
323 subCallback.onPropertyEvent(propValues, /* sharedMemoryCount= */ 0); in setValues()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DCarPropertyController.java49 void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues); in updateValues() argument
DFakeCarPropertyService.java227 public void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues) { in updateValues() argument
228 for (CarPropertyValue v : propValues) { in updateValues()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java1260 VehiclePropValues propValues = new VehiclePropValues(); in testAidlVehicleCallbackOnPropertyEventSmallData() local
1265 propValues.payloads = new VehiclePropValue[]{propValue}; in testAidlVehicleCallbackOnPropertyEventSmallData()
1267 aidlCallback.onPropertyEvent(propValues, /*sharedMemoryFileCount=*/0); in testAidlVehicleCallbackOnPropertyEventSmallData()
1278 VehiclePropValues propValues = new VehiclePropValues(); in testAidlVehicleCallbackOnPropertyEventLargeData() local
1285 propValues.payloads = new VehiclePropValue[]{propValue}; in testAidlVehicleCallbackOnPropertyEventLargeData()
1286 propValues = (VehiclePropValues) LargeParcelable.toLargeParcelable(propValues, () -> { in testAidlVehicleCallbackOnPropertyEventLargeData()
1291 assertThat(propValues.sharedMemoryFd).isNotNull(); in testAidlVehicleCallbackOnPropertyEventLargeData()
1296 aidlCallback.onPropertyEvent(propValues, /*sharedMemoryFileCount=*/0); in testAidlVehicleCallbackOnPropertyEventLargeData()
/packages/services/Car/cpp/vhal/client/src/
DHidlVhalClient.cpp288 Return<void> SubscriptionCallback::onPropertyEvent(const hidl_vec<VehiclePropValue>& propValues) { in onPropertyEvent() argument
290 for (const VehiclePropValue& value : propValues) { in onPropertyEvent()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTest.java1188 ArrayList<HalPropValue> propValues = new ArrayList<>();
1189 propValues.add(propValue);
1192 mVehicleHal.onPropertyEvent(propValues);
1208 ArrayList<HalPropValue> propValues = new ArrayList<>();
1209 propValues.add(propValue);
1212 mVehicleHal.onPropertyEvent(propValues);
1213 mVehicleHal.onPropertyEvent(propValues);
1234 ArrayList<HalPropValue> propValues = new ArrayList<>();
1235 propValues.add(propValue);
1237 mVehicleHal.onPropertyEvent(propValues);
/packages/services/Car/service/src/com/android/car/
DHidlVehicleStub.java368 public void onPropertyEvent(ArrayList<VehiclePropValue> propValues) { in onPropertyEvent() argument
370 for (VehiclePropValue value : propValues) { in onPropertyEvent()
DAidlVehicleStub.java615 public void onPropertyEvent(VehiclePropValues propValues, int sharedMemoryFileCount) in onPropertyEvent() argument
618 LargeParcelable.reconstructStableAIDLParcelable(propValues, in onPropertyEvent()
731 public void onPropertyEvent(VehiclePropValues propValues, int sharedMemoryFileCount) in onPropertyEvent() argument
/packages/services/Car/cpp/vhal/client/include/
DHidlVhalClient.h130 hardware::automotive::vehicle::V2_0::VehiclePropValue>& propValues) override;
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java355 private void handleOnPropertyEvent(List<HalPropValue> propValues) { in handleOnPropertyEvent() argument
357 for (int i = 0; i < propValues.size(); i++) { in handleOnPropertyEvent()
358 HalPropValue v = propValues.get(i); in handleOnPropertyEvent()
1208 public void onPropertyEvent(ArrayList<HalPropValue> propValues) { in onPropertyEvent() argument
1209 mHandler.post(() -> handleOnPropertyEvent(propValues)); in onPropertyEvent()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java799 HalPropValue propValues = get(mHalPropValueBuilder.build(VehicleProperty.HVAC_POWER_ON, in checkPropAvailable() local
801 if (propValues.getInt32ValuesSize() >= 1 && propValues.getInt32Value(0) == 0) { in checkPropAvailable()
/packages/services/Car/cpp/vhal/client/test/
DAidlVhalClientTest.cpp194 VehiclePropValues propValues = { in triggerOnPropertyEvent() local
197 mSubscriptionCallback->onPropertyEvent(propValues, /*sharedMemoryCount=*/0); in triggerOnPropertyEvent()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp1405 const std::vector<std::unique_ptr<IHalPropValue>>& propValues) { in onPropertyEvent() argument
1406 for (const auto& value : propValues) { in onPropertyEvent()