class TestFailClock

Defined at line 90 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

Simple clock implementation that returns ZX_ERR_INTERNAL for each call.

Public Methods

void TestFailClock (const char * name, uint32_t id, uint32_t parent)

Defined at line 92 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t Enable ()

Defined at line 95 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t Disable ()

Defined at line 96 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t IsHwEnabled (bool * out)

Defined at line 97 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t SetRate (const Hertz rate, const Hertz parent_rate)

Defined at line 99 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t QuerySupportedRate (const Hertz max, const Hertz parent_rate, Hertz * out)

Defined at line 102 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t GetRate (const Hertz parent_rate, Hertz * out)

Defined at line 105 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t SetInput (const uint32_t index)

Defined at line 107 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t GetNumInputs (uint32_t * out)

Defined at line 108 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t GetInput (uint32_t * out)

Defined at line 109 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t GetInputId (const uint32_t index, uint32_t * id)

Defined at line 110 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

uint32_t ParentId ()

Defined at line 112 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h