Enumerations
enum class Collection : uint8_t
| Name | Value | Comments |
|---|---|---|
| kNone | 0 | -- |
| kBoot | 1 |
Collection for boot drivers. |
| kPackage | 2 |
Collection for package drivers. |
| kFullPackage | 3 |
Collection for universe package drivers. |
Defined at line 12 of file ../../src/devices/bin/driver_manager/node_types.h
enum class NodeType
| Name | Value | Comments |
|---|---|---|
| kNormal | 0 |
Normal non-composite node. |
| kComposite | 1 |
Composite node created from composite node specs. |
Defined at line 22 of file ../../src/devices/bin/driver_manager/node_types.h
enum class RemovalSet : uint8_t
| Name | Value | Comments |
|---|---|---|
| kAll | 0 |
Remove the boot drivers and the package drivers |
| kPackage | 1 |
Remove the package drivers |
Defined at line 27 of file ../../src/devices/bin/driver_manager/shutdown/node_shutdown_coordinator.h
enum class DriverState : uint8_t
| Name | Value | Comments |
|---|---|---|
| kStopped | 0 |
Driver is not running. |
| kBinding | 1 |
Driver's bind hook is scheduled and running. |
| kRunning | 2 |
Driver finished binding and is running. |
Defined at line 27 of file ../../src/devices/bin/driver_manager/node_types.h
enum class ShutdownIntent : uint8_t
| Name | Value | Comments |
|---|---|---|
| kRemoval | 0 |
Removes the node from the topology. The default shutdown intention. |
| kRestart | 1 |
Restarts the node and attempts to bind it to a new driver. |
| kRebindComposite | 2 |
Removes the composite node from the topology for rebind. Only invoked if the |
| kQuarantine | 3 |
If a node's driver fails to start, we shutdown the driver but not the node. |
Represents the actions of the node after shutdown is completed.
Defined at line 33 of file ../../src/devices/bin/driver_manager/shutdown/node_shutdown_coordinator.h
enum class NodeState : uint8_t
| Name | Value | Comments |
|---|---|---|
| kRunning | 0 |
Normal running state. |
| kPrestop | 1 |
Still running, but will remove soon. usually because the node |
| kWaitingOnDriverBind | 2 |
Waiting for the driver to complete binding. |
| kWaitingOnChildren | 3 |
Received Remove, and waiting for children to be removed. |
| kWaitingOnDriver | 4 |
Waiting for driver to respond from Stop() command. |
| kWaitingOnDriverComponent | 5 |
Waiting for driver component to be stopped. |
| kStopped | 6 |
Node finished stopping. |
| kWaitingOnDestroy | 7 |
Waiting for the component to be destroyed. |
| kDestroyed | 8 |
Node finished destroying component. |
Defined at line 33 of file ../../src/devices/bin/driver_manager/node_types.h
enum class OfferTransport : std::uint8_t
| Name | Value |
|---|---|
| DriverTransport | 0 |
| ZirconTransport | 1 |
| Dictionary | 2 |
Defined at line 36 of file ../../src/devices/bin/driver_manager/node.h
Records
-
class AsyncSharder -
class BindManager -
class BindManagerBridge -
class BindNodeSet -
class BindRequest -
class BindResult -
class BindResultTracker -
class BindSpecResult -
class BootupTracker -
class BootupTrackerTest -
class BootupTrackerTest_ExponentialBackoff_Test -
class BootupTrackerTest_NoDrivers_Test -
class BootupTrackerTest_OverlappingBindRequests_Test -
class BootupTrackerTest_StartAndBindRequests_Test -
class BootupTrackerTest_StartRequestsOnly_Test -
class BootupTrackerTest_WaitForBootupAfterComplete_Test -
class BuiltinDevVnode -
class ComponentControllerConnection -
class ComponentOwner -
class CompositeManagerBridge -
class CompositeNodeAndDriver -
class CompositeNodeSpec -
class CompositeNodeSpecCreateInfo -
class CompositeNodeSpecManager -
class Devfs -
class DevfsDevice -
class Devnode -
class DictionaryUtil -
class DirInfo -
class DirReceiverImpl -
class DriverDevelopmentService -
class DriverHost -
class DriverHostComponent -
class DriverHostConnection -
class DriverHostLoaderService -
class DriverHostRunner -
class DriverRunner -
class FirmwareCrashService -
class MemoryAttributor -
class Node -
class NodeInfo -
class NodeManager -
class NodeOffer -
class NodeRemovalTracker -
class NodeRemover -
class NodeShutdownBridge -
class NodeShutdownCoordinator -
class OfferInjector -
class ParentSetCollector -
class PathServer -
class PowerElementHandles -
class PowerElementStartArgs -
class PowerOffersConfig -
class PseudoDir -
class ResultAsyncSharder -
class Runner -
class ServiceEntry -
class ShutdownManager -
class StartedComponent -
class TestBootupTracker -
class dir_ent
Functions
-
fuchsia_driver_framework::NodeProperty2 ToProperty2 (const fuchsia_driver_framework::NodeProperty & property)Defined at line 12 of file ../../src/devices/bin/driver_manager/node_property_conversion.h
-
fuchsia_driver_framework::NodeProperty2 ToProperty2 (const fuchsia_driver_framework::wire::NodeProperty property)Defined at line 19 of file ../../src/devices/bin/driver_manager/node_property_conversion.h
-
fuchsia_driver_framework::NodeProperty ToDeprecatedProperty (const fuchsia_driver_framework::NodeProperty2 & property)Defined at line 27 of file ../../src/devices/bin/driver_manager/node_property_conversion.h
-
fuchsia_driver_framework::wire::NodeProperty ToDeprecatedProperty (fidl::AnyArena & allocator, const fuchsia_driver_framework::NodeProperty2 & property)Defined at line 35 of file ../../src/devices/bin/driver_manager/node_property_conversion.h
-
fuchsia_driver_framework::wire::NodeProperty ToDeprecatedProperty (fidl::AnyArena & allocator, const fuchsia_driver_framework::wire::NodeProperty2 property)Defined at line 44 of file ../../src/devices/bin/driver_manager/node_property_conversion.h
-
fuchsia_driver_framework::BindRule2 ToBindRule2 (const fuchsia_driver_framework::BindRule & bind_rule)Defined at line 53 of file ../../src/devices/bin/driver_manager/node_property_conversion.h
-
fuchsia_driver_framework::Offer ToFidl (const NodeOffer & offer)Defined at line 221 of file ../../src/devices/bin/driver_manager/node.cc
-
NodeOffer CreateCompositeOffer (const NodeOffer &offer,std::string_viewparents_name,boolprimary_parent)This function creates a composite offer based on a service offer.
Defined at line 244 of file ../../src/devices/bin/driver_manager/node.cc
-
zx::result<> SetEncodedConfig (fidl::WireTableBuilder<fuchsia_driver_framework::wire::DriverStartArgs> & args, fuchsia_component_runner::wire::ComponentStartInfo & start_info)Defined at line 127 of file ../../src/devices/bin/driver_manager/driver_host.cc
-
Collection ToCollection (const Node & node, fuchsia_driver_framework::DriverPackageType package_type)Defined at line 256 of file ../../src/devices/bin/driver_manager/driver_runner.cc
Variables
std::unordered_map<std::string_view, uint8_t> classes_that_assume_ordering
Defined at line 147 of file ../../src/devices/bin/driver_manager/devfs/class_names.h
bool g_use_test_process_koid
Defined at line 544 of file ../../src/devices/bin/driver_manager/node.cc