Home
last modified time | relevance | path

Searched refs:mock_delegate_ (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/modules/camera/3_4/metadata/
Dtagged_control_delegate_test.cpp34 mock_delegate_.reset(new ControlDelegateInterfaceMock<uint8_t>()); in SetUp()
44 new TaggedControlDelegate<uint8_t>(tag_, std::move(mock_delegate_))); in PrepareDUT()
48 std::unique_ptr<ControlDelegateInterfaceMock<uint8_t>> mock_delegate_; member in v4l2_camera_hal::TaggedControlDelegateTest
59 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
69 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
77 EXPECT_CALL(*mock_delegate_, SetValue(value)).WillOnce(Return(0)); in TEST_F()
85 EXPECT_CALL(*mock_delegate_, SetValue(value)).WillOnce(Return(err)); in TEST_F()
Dstate_test.cpp39 mock_delegate_.reset(new StateDelegateInterfaceMock<uint8_t>()); in SetUp()
48 state_.reset(new State<uint8_t>(tag_, std::move(mock_delegate_))); in PrepareState()
52 std::unique_ptr<StateDelegateInterfaceMock<uint8_t>> mock_delegate_; member in v4l2_camera_hal::StateTest
75 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
88 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
Dcontrol_test.cpp40 mock_delegate_.reset(new ControlDelegateInterfaceMock<uint8_t>()); in SetUp()
52 delegate_tag_, std::move(mock_delegate_)); in PrepareControl()
101 std::unique_ptr<ControlDelegateInterfaceMock<uint8_t>> mock_delegate_; member in v4l2_camera_hal::ControlTest
151 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
161 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
171 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
179 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
217 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
231 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
357 EXPECT_CALL(*mock_delegate_, SetValue(test_option)) in TEST_F()
[all …]