Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleObjectPool_test.cpp38 valuePool.reset(new VehiclePropValuePool); in SetUp()
56 std::unique_ptr<VehiclePropValuePool> valuePool; member in android::hardware::automotive::vehicle::V2_0::__anon259f01440111::VehicleObjectPoolTest
60 auto value = valuePool->obtain(VehiclePropertyType::INT32); in TEST_F()
64 ASSERT_EQ(raw, valuePool->obtain(VehiclePropertyType::INT32).get()); in TEST_F()
66 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::FLOAT).get()); in TEST_F()
73 valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
74 auto vs = valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
79 auto vs2 = valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
81 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::STRING).get()); in TEST_F()
94 auto poolPtr = valuePool.get(); in TEST_F()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/test/
DObd2SensorStoreTest.cpp37 std::shared_ptr<VehiclePropValuePool> valuePool = std::make_shared<VehiclePropValuePool>(); in TEST() local
38 Obd2SensorStore sensorStore(valuePool, 1, 1); in TEST()
68 std::shared_ptr<VehiclePropValuePool> valuePool = std::make_shared<VehiclePropValuePool>(); in TEST() local
69 Obd2SensorStore sensorStore(valuePool, 1, 1); in TEST()
DFakeObd2FrameTest.cpp43 std::shared_ptr<VehiclePropValuePool> valuePool = std::make_shared<VehiclePropValuePool>(); in SetUp() local
44 mPropertyStore = std::make_shared<VehiclePropertyStore>(valuePool); in SetUp()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/include/
DFakeUserHal.h44 explicit FakeUserHal(std::shared_ptr<VehiclePropValuePool> valuePool) : mValuePool(valuePool) {} in FakeUserHal() argument
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DVehiclePropertyStore.h76 explicit VehiclePropertyStore(std::shared_ptr<VehiclePropValuePool> valuePool) in VehiclePropertyStore() argument
77 : mValuePool(valuePool) {} in VehiclePropertyStore()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/src/
DObd2SensorStore.cpp73 Obd2SensorStore::Obd2SensorStore(std::shared_ptr<VehiclePropValuePool> valuePool, in Obd2SensorStore() argument
75 : mValuePool(valuePool) { in Obd2SensorStore()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHalServer.h54 void setValuePool(VehiclePropValuePool* valuePool);
DDefaultVehicleHalServer.cpp110 void DefaultVehicleHalServer::setValuePool(VehiclePropValuePool* valuePool) { in setValuePool() argument
111 if (!valuePool) { in setValuePool()
114 mValuePool = valuePool; in setValuePool()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/include/
DObd2SensorStore.h43 Obd2SensorStore(std::shared_ptr<VehiclePropValuePool> valuePool, size_t numVendorIntegerSensors,