class AllDriversElement

Defined at line 23 of file ../../src/devices/bin/driver_manager/all_drivers_element.h

AllDriversElement is an ElementRunner server that handles leasing all leaf driver nodes in

the system.

Public Methods

void AllDriversElement (DriverRunner * runner, std::shared_ptr<Node> root)

Defined at line 42 of file ../../src/devices/bin/driver_manager/all_drivers_element.cc

void SetLevel (SetLevelRequestView request, SetLevelCompleter::Sync & completer)

Defined at line 115 of file ../../src/devices/bin/driver_manager/all_drivers_element.cc

void handle_unknown_method (fidl::UnknownMethodMetadata<fuchsia_power_broker::ElementRunner> metadata, fidl::UnknownMethodCompleter::Sync & completer)

Defined at line 142 of file ../../src/devices/bin/driver_manager/all_drivers_element.cc

void AttachElement (async_dispatcher_t * dispatcher, PowerElementHandles handles)

Defined at line 50 of file ../../src/devices/bin/driver_manager/all_drivers_element.cc

void OnNodeBound (std::shared_ptr<const Node> node)

Called by DriverRunner whenever a new node is bound. If the node is a leaf driver instance,

it will be added to |leaf_driver_instances_|.

Defined at line 57 of file ../../src/devices/bin/driver_manager/all_drivers_element.cc