Home
last modified time | relevance | path

Searched refs:updatedValues (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehiclePropertyStoreTest.cpp532 std::vector<VehiclePropValue> updatedValues; in TEST_F() local
540 [&updatedValues](std::vector<VehiclePropValue> values) { updatedValues = values; }); in TEST_F()
547 ASSERT_THAT(updatedValues, ElementsAre(fuelCapacity)); in TEST_F()
551 std::vector<VehiclePropValue> updatedValues; in TEST_F() local
553 [&updatedValues](std::vector<VehiclePropValue> values) { updatedValues = values; }); in TEST_F()
564 updatedValues.clear(); in TEST_F()
568 ASSERT_EQ(updatedValues.size(), 1u); in TEST_F()
569 ASSERT_EQ(updatedValues[0].prop, propId); in TEST_F()
570 ASSERT_EQ(updatedValues[0].areaId, areaId); in TEST_F()
571 ASSERT_EQ(updatedValues[0].value.floatValues[0], 1.0); in TEST_F()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DSubscriptionManagerTest.cpp101 [callbackClient](std::vector<VehiclePropValue> updatedValues) { in SetUp() argument
103 .payloads = std::move(updatedValues), in SetUp()
348 std::vector<VehiclePropValue> updatedValues = { in TEST_F() local
358 auto clients = getManager()->getSubscribedClients(std::vector<VehiclePropValue>(updatedValues)); in TEST_F()
395 std::vector<VehiclePropValue> updatedValues = { in TEST_F() local
413 auto clients = getManager()->getSubscribedClients(std::vector<VehiclePropValue>(updatedValues)); in TEST_F()
416 UnorderedElementsAre(updatedValues[0], updatedValues[1], updatedValues[2])); in TEST_F()
417 ASSERT_THAT(clients[client2], ElementsAre(updatedValues[0])); in TEST_F()
494 std::vector<VehiclePropValue> updatedValues = { in TEST_F() local
504 auto clients = getManager()->getSubscribedClients(std::vector<VehiclePropValue>(updatedValues)); in TEST_F()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehiclePropertyStore.cpp202 std::vector<VehiclePropValue> updatedValues; in refreshTimestamps() local
229 updatedValues.push_back(*(it->second)); in refreshTimestamps()
238 if (updatedValues.empty()) { in refreshTimestamps()
243 for (const auto& updateValue : updatedValues) { in refreshTimestamps()
251 onValuesChangeCallback(updatedValues); in refreshTimestamps()
254 for (const auto& updateValue : updatedValues) { in refreshTimestamps()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/
DConnectedClient.cpp254 std::vector<VehiclePropValue>&& updatedValues) { in sendUpdatedValues() argument
255 if (updatedValues.empty()) { in sendUpdatedValues()
263 vectorToStableLargeParcelable(std::move(updatedValues), &vehiclePropValues); in sendUpdatedValues()
DDefaultVehicleHal.cpp129 eventBatchingWindow](std::vector<VehiclePropValue> updatedValues) { in DefaultVehicleHal() argument
132 std::move(updatedValues)); in DefaultVehicleHal()
135 std::move(updatedValues)); in DefaultVehicleHal()
187 std::vector<VehiclePropValue>&& updatedValues) { in batchPropertyChangeEvent() argument
193 batchedEventQueueStrong->push(std::move(updatedValues)); in batchPropertyChangeEvent()
202 std::vector<VehiclePropValue>&& updatedValues) { in onPropertyChangeEvent() argument
209 auto updatedValuesByClients = manager->getSubscribedClients(std::move(updatedValues)); in onPropertyChangeEvent()
DSubscriptionManager.cpp423 SubscriptionManager::getSubscribedClients(std::vector<VehiclePropValue>&& updatedValues) { in getSubscribedClients() argument
427 for (auto& value : updatedValues) { in getSubscribedClients()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/
DConnectedClient.h112 updatedValues);
DDefaultVehicleHal.h220 std::vector<aidlvhal::VehiclePropValue>&& updatedValues);
229 std::vector<aidlvhal::VehiclePropValue>&& updatedValues);
DSubscriptionManager.h114 std::vector<VehiclePropValue>&& updatedValues);
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/
DFakeVehicleHardwareTest.cpp624 auto updatedValues = getChangedProperties(); in TEST_F() local
626 for (auto& value : updatedValues) { in TEST_F()
3375 auto updatedValues = getChangedProperties(); in TEST_F() local
3376 for (auto& value : updatedValues) { in TEST_F()
3412 auto updatedValues = getChangedProperties(); in TEST_F() local
3414 for (auto& value : updatedValues) { in TEST_F()