/packages/services/Car/tests/CarServiceTest/dep/src/com/android/car/hal/test/ |
D | AidlMockedVehicleHal.java | 169 VehiclePropValues propValues = new VehiclePropValues(); in injectEvent() local 170 propValues.payloads = new VehiclePropValue[1]; in injectEvent() 171 propValues.payloads[0] = value; in injectEvent() 172 callback.onPropertyEvent(propValues, /* sharedMemoryCount= */ 0); in injectEvent() 329 VehiclePropValues propValues = new VehiclePropValues(); in setValues() local 331 propValues.payloads = new VehiclePropValue[updatedValues.size()]; in setValues() 333 propValues.payloads[i] = updatedValues.get(i); in setValues() 336 subCallback.onPropertyEvent(propValues, /* sharedMemoryCount= */ 0); in setValues() 415 List<VehiclePropValue> propValues = handler.onGetSupportedValuesList(propId, areaId); in getSupportedValuesLists() local 416 if (propValues != null) { in getSupportedValuesLists() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 387 private void handleOnPropertyEvent(List<HalPropValue> propValues) { in handleOnPropertyEvent() argument 388 maybeHandleRecording(propValues); in handleOnPropertyEvent() 392 propValues, in handleOnPropertyEvent() 396 Arrays.toString(propValues.toArray())); in handleOnPropertyEvent() 399 propValues = filteredPropValues; in handleOnPropertyEvent() 402 dispatchPropertyEvents(propValues); in handleOnPropertyEvent() 405 private void dispatchPropertyEvents(List<HalPropValue> propValues) { in dispatchPropertyEvents() argument 408 for (int i = 0; i < propValues.size(); i++) { in dispatchPropertyEvents() 409 HalPropValue v = propValues.get(i); in dispatchPropertyEvents() 1270 public void onPropertyEvent(List<HalPropValue> propValues) { in onPropertyEvent() argument [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VehicleHalTest.java | 1202 ArrayList<HalPropValue> propValues = new ArrayList<>(); 1203 propValues.add(propValue); 1206 mVehicleHal.onPropertyEvent(propValues); 1222 ArrayList<HalPropValue> propValues = new ArrayList<>(); 1223 propValues.add(propValue); 1227 mVehicleHal.onPropertyEvent(propValues); 1240 ArrayList<HalPropValue> propValues = new ArrayList<>(); 1241 propValues.add(propValue); 1245 mVehicleHal.onPropertyEvent(propValues); 1259 ArrayList<HalPropValue> propValues = new ArrayList<>(); [all …]
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | CarPropertyController.java | 49 void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues); in updateValues() argument
|
D | FakeCarPropertyService.java | 284 public void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues) { in updateValues() argument 285 for (CarPropertyValue v : propValues) { in updateValues()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | AidlVehicleStubUnitTest.java | 1302 VehiclePropValues propValues = new VehiclePropValues(); in testAidlVehicleCallbackOnPropertyEventSmallData() local 1307 propValues.payloads = new VehiclePropValue[]{propValue}; in testAidlVehicleCallbackOnPropertyEventSmallData() 1309 aidlCallback.onPropertyEvent(propValues, /*sharedMemoryFileCount=*/0); in testAidlVehicleCallbackOnPropertyEventSmallData() 1321 VehiclePropValues propValues = new VehiclePropValues(); in testAidlVehicleCallbackOnPropertyEventLargeData() local 1328 propValues.payloads = new VehiclePropValue[]{propValue}; in testAidlVehicleCallbackOnPropertyEventLargeData() 1329 propValues = (VehiclePropValues) LargeParcelable.toLargeParcelable(propValues, () -> { in testAidlVehicleCallbackOnPropertyEventLargeData() 1334 assertThat(propValues.sharedMemoryFd).isNotNull(); in testAidlVehicleCallbackOnPropertyEventLargeData() 1339 aidlCallback.onPropertyEvent(propValues, /*sharedMemoryFileCount=*/0); in testAidlVehicleCallbackOnPropertyEventLargeData()
|
/packages/services/Car/service/src/com/android/car/ |
D | HidlVehicleStub.java | 359 public void onPropertyEvent(ArrayList<VehiclePropValue> propValues) { in onPropertyEvent() argument 361 for (VehiclePropValue value : propValues) { in onPropertyEvent()
|
D | AidlVehicleStub.java | 731 public void onPropertyEvent(VehiclePropValues propValues, int sharedMemoryFileCount) in onPropertyEvent() argument 735 propValues, propValues.sharedMemoryFd, VehiclePropValues.CREATOR); in onPropertyEvent() 912 public void onPropertyEvent(VehiclePropValues propValues, int sharedMemoryFileCount) in onPropertyEvent() argument
|
/packages/services/Car/cpp/vhal/client/src/ |
D | HidlVhalClient.cpp | 327 Return<void> SubscriptionCallback::onPropertyEvent(const hidl_vec<VehiclePropValue>& propValues) { in onPropertyEvent() argument 329 for (const VehiclePropValue& value : propValues) { in onPropertyEvent()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStub.java | 674 HalPropValue propValues = get(mHalPropValueBuilder.build(VehicleProperty.HVAC_POWER_ON, in checkPropAvailable() local 676 if (propValues.getInt32ValuesSize() >= 1 && propValues.getInt32Value(0) == 0) { in checkPropAvailable()
|
/packages/services/Car/cpp/vhal/client/include/ |
D | HidlVhalClient.h | 140 hardware::automotive::vehicle::V2_0::VehiclePropValue>& propValues) override;
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogProcessService.cpp | 1482 const std::vector<std::unique_ptr<IHalPropValue>>& propValues) { in onPropertyEvent() argument 1483 for (const auto& value : propValues) { in onPropertyEvent()
|
/packages/services/Car/cpp/watchdog/stable_server/src/ |
D | WatchdogProcessService.cpp | 1482 const std::vector<std::unique_ptr<IHalPropValue>>& propValues) { in onPropertyEvent() argument 1483 for (const auto& value : propValues) { in onPropertyEvent()
|
/packages/services/Car/cpp/vhal/client/test/ |
D | AidlVhalClientTest.cpp | 217 VehiclePropValues propValues = { in triggerOnPropertyEvent() local 220 mSubscriptionCallback->onPropertyEvent(propValues, /*sharedMemoryCount=*/0); in triggerOnPropertyEvent()
|