Searched refs:IsSupported (Results 1 – 10 of 10) sorted by relevance
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | slider_control_options_test.cpp | 53 TEST_F(SliderControlOptionsTest, IsSupported) { in TEST_F() argument 55 EXPECT_TRUE(dut_->IsSupported(i)); in TEST_F() 58 EXPECT_FALSE(dut_->IsSupported(min_ - 1)); in TEST_F() 59 EXPECT_FALSE(dut_->IsSupported(max_ + 1)); in TEST_F() 65 ASSERT_TRUE(dut_->IsSupported(expected)); in TEST_F() 79 ASSERT_FALSE(dut_->IsSupported(default_val)); in TEST_F() 80 ASSERT_TRUE(dut_->IsSupported(expected)); in TEST_F() 95 ASSERT_FALSE(dut_->IsSupported(default_val)); in TEST_F() 96 ASSERT_TRUE(dut_->IsSupported(expected)); in TEST_F() 108 ASSERT_FALSE(dut_->IsSupported(actual)); in TEST_F() [all …]
|
D | menu_control_options_test.cpp | 51 TEST_F(MenuControlOptionsTest, IsSupported) { in TEST_F() argument 53 EXPECT_TRUE(dut_->IsSupported(option)); in TEST_F() 56 EXPECT_FALSE(dut_->IsSupported(99)); in TEST_F() 62 ASSERT_TRUE(dut_->IsSupported(expected)); in TEST_F() 74 ASSERT_FALSE(dut_->IsSupported(default_val)); in TEST_F() 82 EXPECT_TRUE(dut_->IsSupported(actual)); in TEST_F() 88 ASSERT_FALSE(dut_->IsSupported(actual)); in TEST_F() 96 EXPECT_TRUE(dut_->IsSupported(actual)); in TEST_F()
|
D | tagged_control_options_test.cpp | 68 EXPECT_CALL(*mock_options_, IsSupported(value)).WillOnce(Return(supported)); in TEST_F() 70 ASSERT_EQ(dut_->IsSupported(value), supported); in TEST_F() 76 EXPECT_CALL(*mock_options_, IsSupported(value)).WillOnce(Return(supported)); in TEST_F() 78 ASSERT_EQ(dut_->IsSupported(value), supported); in TEST_F()
|
D | tagged_control_options.h | 46 virtual bool IsSupported(const T& value) override { in IsSupported() function 47 return options_->IsSupported(value); in IsSupported()
|
D | menu_control_options.h | 41 virtual bool IsSupported(const T& option) override { in IsSupported() function 55 IsSupported(*default_value)) { in DefaultValueForTemplate()
|
D | control_test.cpp | 270 EXPECT_CALL(*mock_options_, IsSupported(test_option)).WillOnce(Return(true)); in TEST_F() 292 EXPECT_CALL(*mock_options_, IsSupported(test_option)).WillOnce(Return(true)); in TEST_F() 303 EXPECT_CALL(*mock_options_, IsSupported(test_option)).WillOnce(Return(false)); in TEST_F() 316 EXPECT_CALL(*mock_options_, IsSupported(test_option)).WillOnce(Return(false)); in TEST_F() 355 EXPECT_CALL(*mock_options_, IsSupported(test_option)) in TEST_F() 388 EXPECT_CALL(*mock_options_, IsSupported(test_option)) in TEST_F() 406 EXPECT_CALL(*mock_options_, IsSupported(test_option)) in TEST_F() 421 EXPECT_CALL(*mock_options_, IsSupported(test_option)).WillOnce(Return(false)); in TEST_F()
|
D | control_options_interface_mock.h | 33 MOCK_METHOD1_T(IsSupported, bool(const T&));
|
D | control_options_interface.h | 35 virtual bool IsSupported(const T& option);
|
D | control.h | 162 return options_->IsSupported(requested); in SupportsRequestValues() 185 if (options_ && !options_->IsSupported(requested)) { in SetRequestValues()
|
D | slider_control_options.h | 46 virtual bool IsSupported(const T& option) override { in IsSupported() function
|