Home
last modified time | relevance | path

Searched refs:control_ (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/camera/3_4/metadata/
Dpartial_metadata_factory_test.cpp44 control_.reset(); in SetUp()
48 ASSERT_EQ(control_->StaticTags().size(), 1u); in ExpectControlTags()
49 EXPECT_EQ(control_->StaticTags()[0], options_tag_); in ExpectControlTags()
50 ASSERT_EQ(control_->ControlTags().size(), 1u); in ExpectControlTags()
51 EXPECT_EQ(control_->ControlTags()[0], delegate_tag_); in ExpectControlTags()
52 ASSERT_EQ(control_->DynamicTags().size(), 1u); in ExpectControlTags()
53 EXPECT_EQ(control_->DynamicTags()[0], delegate_tag_); in ExpectControlTags()
59 ASSERT_EQ(control_->PopulateStaticFields(&metadata), 0); in ExpectControlOptions()
66 ASSERT_EQ(control_->PopulateDynamicFields(&metadata), 0); in ExpectControlValue()
71 std::unique_ptr<Control<uint8_t>> control_; member in v4l2_camera_hal::PartialMetadataFactoryTest
[all …]
Dcontrol_test.cpp44 control_.reset(); in SetUp()
58 control_.reset( in PrepareControl()
61 control_.reset(new Control<uint8_t>(std::move(delegate))); in PrepareControl()
67 ASSERT_EQ(control_->StaticTags().size(), 1u); in ExpectTags()
68 EXPECT_EQ(control_->StaticTags()[0], options_tag_); in ExpectTags()
70 EXPECT_TRUE(control_->StaticTags().empty()); in ExpectTags()
73 ASSERT_EQ(control_->ControlTags().size(), 1u); in ExpectTags()
74 EXPECT_EQ(control_->ControlTags()[0], delegate_tag_); in ExpectTags()
75 ASSERT_EQ(control_->DynamicTags().size(), 1u); in ExpectTags()
76 EXPECT_EQ(control_->DynamicTags()[0], delegate_tag_); in ExpectTags()
[all …]