Class
FwupdPluginContext
Instance methods
fu_context_add_firmware_gtype
Adds a firmware GType
which is used when creating devices. If id
is not
specified then it is guessed using the GType
name.
since: 1.6.0
fu_context_add_quirk_key
Adds a possible quirk key. If added by a plugin it should be namespaced using the plugin name, where possible.
since: 1.6.0
fu_context_add_udev_subsystem
Registers the udev subsystem to be watched by the daemon.
since: 1.6.0
fu_context_get_bios_setting_pending_reboot
Determine if updates to BIOS settings are pending until next boot.
since: 1.8.4
fu_context_get_bios_settings
Returns all the firmware attributes defined in the system.
since: 1.8.4
fu_context_get_hwid_guids
Returns all the HWIDs defined in the system. All hardware IDs on a
specific system can be shown using the fwupdmgr hwids
command.
since: 1.6.0
fu_context_get_hwid_replace_value
Gets the replacement value for a specific key. All hardware IDs on a
specific system can be shown using the fwupdmgr hwids
command.
since: 1.6.0
fu_context_get_hwid_value
Gets the cached value for one specific key that is valid ASCII and suitable for display.
since: 1.6.0
fu_context_get_power_state
Gets if the system is on battery power, e.g. UPS or laptop battery.
since: 1.8.11
fu_context_get_smbios_integer
Reads an integer value from the SMBIOS string table of a specific structure.
since: 1.6.0
fu_context_has_hwid_flag
Returns if a HwId custom flag exists, typically added from a DMI quirk.
since: 1.7.2
fu_context_lookup_quirk_by_id
Looks up an entry in the hardware database using a string value.
since: 1.6.0
fu_context_lookup_quirk_by_id_iter
Looks up all entries in the hardware database using a GUID value.
since: 1.6.0
fu_context_reload_bios_settings
Refreshes the list of firmware attributes on the system.
since: 1.8.4
fu_context_set_power_state
Sets if the system is on battery power, e.g. UPS or laptop battery.
since: 1.8.11
Signals
FwupdPlugin.Context::security-changed
The ::security-changed signal is emitted when some system state has changed that could have affected the security level.
since: 1.6.0
Class structure
Virtual methods
FwupdPlugin.ContextClass.security_changed
Informs the daemon that the HSI state may have changed.
since: 1.6.0