class TestNullClock

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

Trivial Clock implementation that doesn't support any operations.

Public Methods

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

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

zx_status_t Enable ()

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

zx_status_t Disable ()

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

zx_status_t IsHwEnabled (bool * out)

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

zx_status_t SetRate (const Hertz rate, const Hertz parent_rate)

Defined at line 20 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 23 of file ../../src/devices/clock/lib/clocktree/tests/testclock.h

zx_status_t GetRate (const Hertz parent_rate, Hertz * out)

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

zx_status_t SetInput (const uint32_t index)

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

zx_status_t GetNumInputs (uint32_t * out)

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

zx_status_t GetInput (uint32_t * out)

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

zx_status_t GetInputId (const uint32_t index, uint32_t * id)

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

uint32_t ParentId ()

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