Searched refs:updatedValues (Results 1 – 10 of 10) sorted by relevance
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/ |
D | VehiclePropertyStoreTest.cpp | 532 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/ |
D | SubscriptionManagerTest.cpp | 101 [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/ |
D | VehiclePropertyStore.cpp | 202 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/ |
D | ConnectedClient.cpp | 254 std::vector<VehiclePropValue>&& updatedValues) { in sendUpdatedValues() argument 255 if (updatedValues.empty()) { in sendUpdatedValues() 263 vectorToStableLargeParcelable(std::move(updatedValues), &vehiclePropValues); in sendUpdatedValues()
|
D | DefaultVehicleHal.cpp | 129 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()
|
D | SubscriptionManager.cpp | 423 SubscriptionManager::getSubscribedClients(std::vector<VehiclePropValue>&& updatedValues) { in getSubscribedClients() argument 427 for (auto& value : updatedValues) { in getSubscribedClients()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/ |
D | ConnectedClient.h | 112 updatedValues);
|
D | DefaultVehicleHal.h | 220 std::vector<aidlvhal::VehiclePropValue>&& updatedValues); 229 std::vector<aidlvhal::VehiclePropValue>&& updatedValues);
|
D | SubscriptionManager.h | 114 std::vector<VehiclePropValue>&& updatedValues);
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/ |
D | FakeVehicleHardwareTest.cpp | 624 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()
|