class FakeSystemActivityGovernor

Defined at line 25 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

In-process fake SAG for wake leases to avoid Power Framework Testing Client dependencies.

Public Methods

void FakeSystemActivityGovernor ()

Defined at line 28 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

fidl::ProtocolHandler<fuchsia_power_system::ActivityGovernor> CreateHandler ()

Defined at line 30 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

void GetPowerElements (GetPowerElementsCompleter::Sync & completer)

Defined at line 35 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

zx::eventpair AcquireWakeLease ()

Defined at line 40 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

void AcquireWakeLease (AcquireWakeLeaseRequest & request, AcquireWakeLeaseCompleter::Sync & completer)

Defined at line 48 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

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

Defined at line 53 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

void handle_unknown_method (fidl::UnknownMethodMetadata<fuchsia_power_system::ActivityGovernor> md, fidl::UnknownMethodCompleter::Sync & completer)

Defined at line 57 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc

bool GetLeaseRequested ()

Defined at line 60 of file ../../src/devices/hrtimer/drivers/aml-hrtimer/unit-tests.cc