Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/tests/
Dcamera_device_session_tests.cc99 std::unique_ptr<MockDeviceSessionHwl>* session_hwl) { in CreateMockSessionHwlAndCheck() argument
100 ASSERT_NE(session_hwl, nullptr); in CreateMockSessionHwlAndCheck()
102 *session_hwl = std::make_unique<MockDeviceSessionHwl>(); in CreateMockSessionHwlAndCheck()
103 ASSERT_NE(*session_hwl, nullptr); in CreateMockSessionHwlAndCheck()
106 void CreateSessionAndCheck(std::unique_ptr<MockDeviceSessionHwl> session_hwl, in CreateSessionAndCheck() argument
110 *session = CameraDeviceSession::Create(std::move(session_hwl), in CreateSessionAndCheck()
116 std::unique_ptr<MockDeviceSessionHwl> session_hwl; in TestInvalidDefaultRequestSettingsForType() local
117 CreateMockSessionHwlAndCheck(&session_hwl); in TestInvalidDefaultRequestSettingsForType()
118 session_hwl->DelegateCallsToFakeSession(); in TestInvalidDefaultRequestSettingsForType()
120 EXPECT_CALL(*session_hwl, ConstructDefaultRequestSettings( in TestInvalidDefaultRequestSettingsForType()
[all …]
Dmock_device_hwl.h104 auto session_hwl = std::make_unique<MockDeviceSessionHwl>(); in CreateCameraDeviceSessionHwl() local
105 if (session_hwl == nullptr) { in CreateCameraDeviceSessionHwl()
108 session_hwl->DelegateCallsToFakeSession(); in CreateCameraDeviceSessionHwl()
109 *session = std::move(session_hwl); in CreateCameraDeviceSessionHwl()
Dtest_utils.cc79 bool IsLogicalCamera(CameraDeviceSessionHwl* session_hwl) { in IsLogicalCamera() argument
80 return session_hwl->GetPhysicalCameraIds().size() > 1; in IsLogicalCamera()
Dtest_utils.h45 bool IsLogicalCamera(CameraDeviceSessionHwl* session_hwl);
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device.cc224 std::unique_ptr<CameraDeviceSessionHwl> session_hwl; in CreateCameraDeviceSession() local
226 camera_allocator_hwl_, &session_hwl); in CreateCameraDeviceSession()
233 *session = CameraDeviceSession::Create(std::move(session_hwl), in CreateCameraDeviceSession()