Searched refs:converter_ (Results 1 – 3 of 3) sorted by relevance
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | enum_converter_test.cpp | 28 converter_.reset( in SetUp() 37 std::unique_ptr<EnumConverter> converter_; member in v4l2_camera_hal::EnumConverterTest 54 ASSERT_EQ(converter_->V4L2ToMetadata(one_to_one_v4l2_, &metadata_val), 0); in TEST_F() 58 ASSERT_EQ(converter_->MetadataToV4L2(one_to_one_metadata_, &v4l2_val), 0); in TEST_F() 65 ASSERT_EQ(converter_->V4L2ToMetadata(one_to_many_v4l2_, &metadata_val), 0); in TEST_F() 70 ASSERT_EQ(converter_->MetadataToV4L2(one_to_many_metadata_, &v4l2_val), 0); in TEST_F() 77 ASSERT_EQ(converter_->V4L2ToMetadata(many_to_one_v4l2_1_, &metadata_val), 0); in TEST_F() 80 ASSERT_EQ(converter_->V4L2ToMetadata(many_to_one_v4l2_2_, &metadata_val), 0); in TEST_F() 84 ASSERT_EQ(converter_->MetadataToV4L2(many_to_one_metadata_1_, &v4l2_val), 0); in TEST_F() 87 ASSERT_EQ(converter_->MetadataToV4L2(many_to_one_metadata_2_, &v4l2_val), 0); in TEST_F() [all …]
|
D | ranged_converter_test.cpp | 34 converter_.reset(new ConverterInterfaceMock<int, int32_t>()); in SetUp() 36 new RangedConverter<int, int32_t>(converter_, min_, max_, step_)); in SetUp() 41 EXPECT_CALL(*converter_, MetadataToV4L2(initial, _)) in ExpectConvert() 49 std::shared_ptr<ConverterInterfaceMock<int, int32_t>> converter_; member in v4l2_camera_hal::RangedConverterTest 80 EXPECT_CALL(*converter_, MetadataToV4L2(initial, _)).WillOnce(Return(err)); in TEST_F()
|
D | v4l2_control_delegate.h | 36 converter_(std::move(converter)){}; in V4L2ControlDelegate() 45 return converter_->V4L2ToMetadata(v4l2_value, value); in GetValue() 50 int res = converter_->MetadataToV4L2(value, &v4l2_value); in SetValue() 61 std::shared_ptr<ConverterInterface<TMetadata, TV4L2>> converter_; variable
|