class FakeCompositeRingBuffer

Defined at line 26 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

Public Members

static const bool kDefaultNeedsCacheFlushInvalidate
static const uint32_t kDefaultDriverTransferBytes
static const bool kDefaultSupportsActiveChannels
static optional kDefaultTurnOnDelay
static optional kDefaultInternalDelay
static optional kDefaultExternalDelay

Public Methods

void FakeCompositeRingBuffer (FakeComposite * parent, ElementId element_id, fuchsia_hardware_audio::PcmFormat format, size_t ring_buffer_allocated_size)

Defined at line 26 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void FakeCompositeRingBuffer ()

Defined at line 38 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void ~FakeCompositeRingBuffer ()

Defined at line 43 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void on_rb_unbind (FakeCompositeRingBuffer * fake_ring_buffer, fidl::UnbindInfo info, fidl::ServerEnd<fuchsia_hardware_audio::RingBuffer> server_end)
void GetProperties (GetPropertiesCompleter::Sync & completer)

Defined at line 65 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void GetVmo (GetVmoRequest & request, GetVmoCompleter::Sync & completer)

Defined at line 87 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void Start (StartCompleter::Sync & completer)

Defined at line 117 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void Stop (StopCompleter::Sync & completer)

Defined at line 135 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void SetActiveChannels (SetActiveChannelsRequest & request, SetActiveChannelsCompleter::Sync & completer)

Defined at line 153 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void WatchDelayInfo (WatchDelayInfoCompleter::Sync & completer)

Defined at line 178 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void WatchClockRecoveryPositionInfo (WatchClockRecoveryPositionInfoCompleter::Sync & completer)

Defined at line 230 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void handle_unknown_method (fidl::UnknownMethodMetadata<fuchsia_hardware_audio::RingBuffer> metadata, fidl::UnknownMethodCompleter::Sync & completer)

Defined at line 241 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void NotImplemented_ (const std::string & name, ::fidl::CompleterBase & completer)

Defined at line 59 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void AllocateRingBuffer (ElementId element_id, size_t size)

Defined at line 50 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

ElementId element_id ()

Accessors

Defined at line 68 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

bool started ()

To be used during run-time

Defined at line 71 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

zx::time mono_start_time ()

Defined at line 72 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

uint64_t active_channels_bitmask ()

Defined at line 73 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

zx::time set_active_channels_completed_at ()

Defined at line 74 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void enable_active_channels_support ()

For configuring the object before it starts being used.

Defined at line 77 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void disable_active_channels_support ()

Defined at line 78 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void set_turn_on_delay (zx::duration turn_on_delay)

Defined at line 79 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void clear_turn_on_delay ()

Defined at line 80 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void set_internal_delay (zx::duration internal_delay)

Defined at line 81 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void set_external_delay (zx::duration external_delay)

Defined at line 82 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void clear_external_delay ()

Defined at line 83 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

uint64_t count ()

Defined at line 85 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

FakeComposite * parent ()

Defined at line 86 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.h

void InjectDelayUpdate (std::optional<zx::duration> internal_delay, std::optional<zx::duration> external_delay)

Defined at line 196 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

void MaybeCompleteWatchDelayInfo ()

Defined at line 209 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc

bool responsive ()

Defined at line 48 of file ../../src/media/audio/services/device_registry/testing/fakes/fake_composite_ring_buffer.cc