class BootupTracker
Defined at line 17 of file ../../src/devices/bin/driver_manager/bootup_tracker.h
Public Methods
void BootupTracker (BindManager * manager, async_dispatcher_t * dispatcher)
Defined at line 19 of file ../../src/devices/bin/driver_manager/bootup_tracker.h
void ~BootupTracker ()
Defined at line 22 of file ../../src/devices/bin/driver_manager/bootup_tracker.h
void WaitForBootup (fit::callback<void ()> callback)
Defined at line 24 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
void Start ()
Starts the bootup tracker timeout task.
Defined at line 22 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
void NotifyNewStartRequest (std::string node_moniker, std::string driver_url)
Called when there's a new request to start a driver for the given node.
Defined at line 32 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
void NotifyStartComplete (std::string node_moniker)
Called when a start driver request is completed for the given node.
Defined at line 40 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
void NotifyBindingChanged ()
Called when the ongoing bind state in the bind manager has changed.
Defined at line 50 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
void BootupDoneForTesting ()
Used to mark boot-up as done for testing purposes only.
Defined at line 52 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
bool BootupComplete ()
Returns whether boot-up is currently complete. Use `WaitForBootup` instead
of polling this value if you are watching for boot completion.
Defined at line 60 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
Protected Methods
void ResetBootupTimer ()
Exposed for testing.
Defined at line 105 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
bool IsUpdateDeadlineExceeded ()
Exposed for testing.
Defined at line 100 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc
void OnBootupTimeout ()
Invoked by |bootup_timeout_task_|. Exposed for testing.
Defined at line 95 of file ../../src/devices/bin/driver_manager/bootup_tracker.cc