Home
last modified time | relevance | path

Searched refs:valuePool (Results 1 – 2 of 2) 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::__anonf6348d300111::VehicleObjectPoolTest
60 auto value = valuePool->obtain(VehiclePropertyType::INT32); in TEST_F()
62 ASSERT_EQ(value.get(), valuePool->obtain(VehiclePropertyType::INT32).get()); in TEST_F()
64 ASSERT_NE(value.get(), valuePool->obtain(VehiclePropertyType::FLOAT).get()); in TEST_F()
71 valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
72 auto vs = valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
77 auto vs2 = valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
79 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::STRING).get()); in TEST_F()
92 auto poolPtr = valuePool.get(); in TEST_F()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleHalServer.cpp104 void VehicleHalServer::setValuePool(VehiclePropValuePool* valuePool) { in setValuePool() argument
105 if (!valuePool) { in setValuePool()
108 mValuePool = valuePool; in setValuePool()