class FakeController

Defined at line 22 of file ../../src/camera/lib/fake_controller/fake_controller.h

Public Methods

void FakeController ()

Defined at line 126 of file ../../src/camera/lib/fake_controller/fake_controller.cc

void ~FakeController ()

Defined at line 129 of file ../../src/camera/lib/fake_controller/fake_controller.cc

fpromise::result<std::unique_ptr<FakeController>, zx_status_t> Create (fidl::InterfaceRequest<fuchsia::camera2::hal::Controller> request, fuchsia::sysmem2::AllocatorHandle allocator, std::vector<fuchsia::camera2::hal::Config> configs)

The controller hands out |configs| through GetNextConfig, the default ones unless given.

Defined at line 94 of file ../../src/camera/lib/fake_controller/fake_controller.cc

std::vector<fuchsia::camera2::hal::Config> GetDefaultConfigs ()

Defined at line 122 of file ../../src/camera/lib/fake_controller/fake_controller.cc

zx_status_t SendFrameViaLegacyStream (fuchsia::camera2::FrameAvailableInfo info)

Defined at line 143 of file ../../src/camera/lib/fake_controller/fake_controller.cc

bool LegacyStreamBufferIsOutstanding (uint32_t id)

Defined at line 131 of file ../../src/camera/lib/fake_controller/fake_controller.cc