Home
last modified time | relevance | path

Searched refs:valuePool (Results 1 – 1 of 1) 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::__anon528b45d90111::VehicleObjectPoolTest
60 void* raw = valuePool->obtain(VehiclePropertyType::INT32).get(); in TEST_F()
62 ASSERT_EQ(raw, valuePool->obtain(VehiclePropertyType::INT32).get()); in TEST_F()
64 ASSERT_NE(raw, 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()