Searched refs:valuePool (Results 1 – 2 of 2) sorted by relevance
38 valuePool.reset(new VehiclePropValuePool); in SetUp()56 std::unique_ptr<VehiclePropValuePool> valuePool; member in android::hardware::automotive::vehicle::V2_0::__anonf6348d300111::VehicleObjectPoolTest60 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()
104 void VehicleHalServer::setValuePool(VehiclePropValuePool* valuePool) { in setValuePool() argument105 if (!valuePool) { in setValuePool()108 mValuePool = valuePool; in setValuePool()