Home
last modified time | relevance | path

Searched refs:V4L2ToMetadata (Results 1 – 13 of 13) sorted by relevance

/hardware/libhardware/modules/camera/3_4/metadata/
Denum_converter_test.cpp55 ASSERT_EQ(converter_->V4L2ToMetadata(one_to_one_v4l2_, &metadata_val), 0); in TEST_F()
66 ASSERT_EQ(converter_->V4L2ToMetadata(one_to_many_v4l2_, &metadata_val), 0); in TEST_F()
78 ASSERT_EQ(converter_->V4L2ToMetadata(many_to_one_v4l2_1_, &metadata_val), 0); in TEST_F()
81 ASSERT_EQ(converter_->V4L2ToMetadata(many_to_one_v4l2_2_, &metadata_val), 0); in TEST_F()
94 EXPECT_EQ(converter_->V4L2ToMetadata(1, &metadata_val), -EINVAL); in TEST_F()
Dranged_converter.h40 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) override;
93 int RangedConverter<TMetadata, TV4L2>::V4L2ToMetadata(TV4L2 value, in V4L2ToMetadata() function
97 return wrapped_converter_->V4L2ToMetadata(value, conversion); in V4L2ToMetadata()
Dmap_converter_test.cpp97 EXPECT_CALL(*converter_, V4L2ToMetadata(kv->first, _)) in TEST_F()
101 ASSERT_EQ(dut_->V4L2ToMetadata(kv->second, &actual), 0); in TEST_F()
107 ASSERT_EQ(dut_->V4L2ToMetadata(100, &unused), -EINVAL); in TEST_F()
Dmap_converter.h40 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) override;
105 int MapConverter<TMetadata, TV4L2, TMapKey>::V4L2ToMetadata( in V4L2ToMetadata() function
119 res = wrapped_converter_->V4L2ToMetadata(kv.first, conversion); in V4L2ToMetadata()
Dscaling_converter.h33 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) override;
64 int ScalingConverter<TMetadata, TV4L2>::V4L2ToMetadata(TV4L2 value, in V4L2ToMetadata() function
Dpartial_metadata_factory_test.cpp269 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(kv.first, _)) in TEST_F()
274 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(7, _)).WillOnce(Return(-EINVAL)); in TEST_F()
301 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(_, _)).WillOnce(Return(-1)); in TEST_F()
325 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(1, _)).WillOnce(Return(-EINVAL)); in TEST_F()
353 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(kv.first, _)) in TEST_F()
393 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(1, _)).WillOnce(Return(-EINVAL)); in TEST_F()
Dconverter_interface_mock.h33 MOCK_METHOD2_T(V4L2ToMetadata, int(TV4L2, TMetadata*));
Dconverter_interface.h32 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) = 0;
Dv4l2_control_delegate_test.cpp52 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(device_result, _)) in TEST_F()
65 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(device_result, _)) in TEST_F()
Denum_converter.h33 virtual int V4L2ToMetadata(int32_t value, uint8_t* conversion) override;
Denum_converter.cpp60 int EnumConverter::V4L2ToMetadata(int32_t value, uint8_t* conversion) { in V4L2ToMetadata() function in v4l2_camera_hal::EnumConverter
Dv4l2_control_delegate.h45 return converter_->V4L2ToMetadata(v4l2_value, value); in GetValue()
Dpartial_metadata_factory.h233 res = converter->V4L2ToMetadata(i, &metadata_val); in V4L2Control()
270 res = result_converter->V4L2ToMetadata(control_min, &metadata_min); in V4L2Control()
278 res = result_converter->V4L2ToMetadata(control_max, &metadata_max); in V4L2Control()