Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/tests/
Dcamera_provider_tests.cc31 std::unique_ptr<MockProviderHwl> mock_provider_hwl = nullptr) { in CreateCameraProviderAndCheck() argument
32 if (mock_provider_hwl == nullptr) { in CreateCameraProviderAndCheck()
33 mock_provider_hwl = MockProviderHwl::Create(); in CreateCameraProviderAndCheck()
37 provider_ = CameraProvider::Create(std::move(mock_provider_hwl)); in CreateCameraProviderAndCheck()
73 auto mock_provider_hwl = MockProviderHwl::Create(); in TEST_F() local
74 mock_provider_hwl->camera_device_status_ = mock_device_status; in TEST_F()
76 CreateCameraProviderAndCheck(std::move(mock_provider_hwl)); in TEST_F()
90 auto mock_provider_hwl = MockProviderHwl::Create(); in TEST_F() local
91 mock_provider_hwl->torch_status_ = mock_torch_status; in TEST_F()
93 CreateCameraProviderAndCheck(std::move(mock_provider_hwl)); in TEST_F()
[all …]