Home
last modified time | relevance | path

Searched refs:IsSupported (Results 1 – 16 of 16) sorted by relevance

/hardware/libhardware/modules/camera/3_4/metadata/
Dslider_control_options_test.cpp53 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 …]
Dmenu_control_options_test.cpp51 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()
Dtagged_control_options_test.cpp68 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()
Dtagged_control_options.h46 virtual bool IsSupported(const T& value) override { in IsSupported() function
47 return options_->IsSupported(value); in IsSupported()
Dmenu_control_options.h41 virtual bool IsSupported(const T& option) override { in IsSupported() function
55 IsSupported(*default_value)) { in DefaultValueForTemplate()
Dcontrol_test.cpp270 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()
Dcontrol_options_interface_mock.h33 MOCK_METHOD1_T(IsSupported, bool(const T&));
Dcontrol_options_interface.h35 virtual bool IsSupported(const T& option);
Dcontrol.h162 return options_->IsSupported(requested); in SupportsRequestValues()
185 if (options_ && !options_->IsSupported(requested)) { in SetRequestValues()
Dslider_control_options.h46 virtual bool IsSupported(const T& option) override { in IsSupported() function
/hardware/google/camera/common/hal/google_camera_hal/
Drealtime_process_block.cc33 if (!IsSupported(device_session_hwl)) { in Create()
48 bool RealtimeProcessBlock::IsSupported( in IsSupported() function in android::google_camera_hal::RealtimeProcessBlock
Drealtime_process_block.h66 static bool IsSupported(CameraDeviceSessionHwl* device_session_hwl);
Dhdrplus_process_block.cc33 if (!IsSupported(device_session_hwl)) { in Create()
48 bool HdrplusProcessBlock::IsSupported(CameraDeviceSessionHwl* device_session_hwl) { in IsSupported() function in android::google_camera_hal::HdrplusProcessBlock
Dhdrplus_process_block.h65 static bool IsSupported(CameraDeviceSessionHwl* device_session_hwl);
Dmulticam_realtime_process_block.h82 static bool IsSupported(CameraDeviceSessionHwl* device_session_hwl);
Dmulticam_realtime_process_block.cc35 if (!IsSupported(device_session_hwl)) { in Create()
54 bool MultiCameraRtProcessBlock::IsSupported( in IsSupported() function in android::google_camera_hal::MultiCameraRtProcessBlock