UDisks.DriveAta¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
AamEnabled |
||
r/w |
AamSupported |
||
r/w |
AamVendorRecommendedValue |
||
r/w |
ApmEnabled |
||
r/w |
ApmSupported |
||
r/w |
PmEnabled |
||
r/w |
PmSupported |
||
r/w |
ReadLookaheadEnabled |
||
r/w |
ReadLookaheadSupported |
||
r/w |
SecurityEnhancedEraseUnitMinutes |
||
r/w |
SecurityEraseUnitMinutes |
||
r/w |
SecurityFrozen |
||
r/w |
SmartEnabled |
||
r/w |
SmartFailing |
||
r/w |
SmartNumAttributesFailedInThePast |
||
r/w |
SmartNumAttributesFailing |
||
r/w |
SmartNumBadSectors |
||
r/w |
SmartPowerOnSeconds |
||
r/w |
SmartSelftestPercentRemaining |
||
r/w |
SmartSelftestStatus |
||
r/w |
SmartSupported |
||
r/w |
SmartTemperature |
||
r/w |
SmartUpdated |
||
r/w |
WriteCacheEnabled |
||
r/w |
WriteCacheSupported |
Signals¶
Name |
Short Description |
|---|---|
Signal emitted when a remote caller is invoking the PmGetState() D-Bus method. |
|
Signal emitted when a remote caller is invoking the PmStandby() D-Bus method. |
|
Signal emitted when a remote caller is invoking the PmWakeup() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SecurityEraseUnit() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SmartGetAttributes() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SmartSelftestAbort() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SmartSelftestStart() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SmartSetEnabled() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SmartUpdate() D-Bus method. |
Fields¶
None
Class Details¶
- class UDisks.DriveAta¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Drive.Ata.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo. Do not free.- Return type:
Gets a machine-readable description of the org.freedesktop.UDisks2.Drive.Ata D-Bus interface.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass) – The class structure for aGObject.Objectderived class.property_id_begin (
int) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Objectproperties in theUDisks.DriveAtainterface for a concrete class. The properties are overridden in the order they are defined.
- call_pm_get_state(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the PmGetState() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_pm_get_state_finish() to get the result of the operation.See
UDisks.DriveAta.call_pm_get_state_sync() for the synchronous, blocking version of this method.
- call_pm_get_state_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_pm_get_state().- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_state:
Return location for return parameter or
Noneto ignore.
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_pm_get_state().
- call_pm_get_state_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_state:
Return location for return parameter or
Noneto ignore.
- Return type:
Synchronously invokes the PmGetState() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_pm_get_state() for the asynchronous version of this method.
- call_pm_standby(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the PmStandby() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_pm_standby_finish() to get the result of the operation.See
UDisks.DriveAta.call_pm_standby_sync() for the synchronous, blocking version of this method.
- call_pm_standby_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_pm_standby().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_pm_standby().
- call_pm_standby_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the PmStandby() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_pm_standby() for the asynchronous version of this method.
- call_pm_wakeup(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the PmWakeup() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_pm_wakeup_finish() to get the result of the operation.See
UDisks.DriveAta.call_pm_wakeup_sync() for the synchronous, blocking version of this method.
- call_pm_wakeup_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_pm_wakeup().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_pm_wakeup().
- call_pm_wakeup_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the PmWakeup() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_pm_wakeup() for the asynchronous version of this method.
- call_security_erase_unit(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the SecurityEraseUnit() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_security_erase_unit_finish() to get the result of the operation.See
UDisks.DriveAta.call_security_erase_unit_sync() for the synchronous, blocking version of this method.
- call_security_erase_unit_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_security_erase_unit().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_security_erase_unit().
- call_security_erase_unit_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the SecurityEraseUnit() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_security_erase_unit() for the asynchronous version of this method.
- call_smart_get_attributes(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the SmartGetAttributes() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_smart_get_attributes_finish() to get the result of the operation.See
UDisks.DriveAta.call_smart_get_attributes_sync() for the synchronous, blocking version of this method.
- call_smart_get_attributes_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_smart_get_attributes().- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_attributes:
Return location for return parameter or
Noneto ignore.
- Return type:
(
bool, out_attributes:GLib.Variant)
Finishes an operation started with
UDisks.DriveAta.call_smart_get_attributes().
- call_smart_get_attributes_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_attributes:
Return location for return parameter or
Noneto ignore.
- Return type:
(
bool, out_attributes:GLib.Variant)
Synchronously invokes the SmartGetAttributes() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_smart_get_attributes() for the asynchronous version of this method.
- call_smart_selftest_abort(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the SmartSelftestAbort() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_smart_selftest_abort_finish() to get the result of the operation.See
UDisks.DriveAta.call_smart_selftest_abort_sync() for the synchronous, blocking version of this method.
- call_smart_selftest_abort_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_smart_selftest_abort().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_smart_selftest_abort().
- call_smart_selftest_abort_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the SmartSelftestAbort() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_smart_selftest_abort() for the asynchronous version of this method.
- call_smart_selftest_start(arg_type, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_type (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the SmartSelftestStart() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_smart_selftest_start_finish() to get the result of the operation.See
UDisks.DriveAta.call_smart_selftest_start_sync() for the synchronous, blocking version of this method.
- call_smart_selftest_start_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_smart_selftest_start().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_smart_selftest_start().
- call_smart_selftest_start_sync(arg_type, arg_options, cancellable)¶
- Parameters:
arg_type (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the SmartSelftestStart() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_smart_selftest_start() for the asynchronous version of this method.
- call_smart_set_enabled(arg_value, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_value (
bool) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the SmartSetEnabled() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_smart_set_enabled_finish() to get the result of the operation.See
UDisks.DriveAta.call_smart_set_enabled_sync() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_smart_set_enabled_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_smart_set_enabled().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_smart_set_enabled().New in version 2.0.0.
- call_smart_set_enabled_sync(arg_value, arg_options, cancellable)¶
- Parameters:
arg_value (
bool) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the SmartSetEnabled() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_smart_set_enabled() for the asynchronous version of this method.New in version 2.0.0.
- call_smart_update(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the SmartUpdate() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.DriveAta.call_smart_update_finish() to get the result of the operation.See
UDisks.DriveAta.call_smart_update_sync() for the synchronous, blocking version of this method.
- call_smart_update_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.DriveAta.call_smart_update().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.DriveAta.call_smart_update().
- call_smart_update_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the SmartUpdate() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.DriveAta.call_smart_update() for the asynchronous version of this method.
- complete_pm_get_state(invocation, state)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.state (
int) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the PmGetState() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_pm_standby(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the PmStandby() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_pm_wakeup(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the PmWakeup() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_security_erase_unit(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the SecurityEraseUnit() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_smart_get_attributes(invocation, attributes)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.attributes (
GLib.Variant) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the SmartGetAttributes() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_smart_selftest_abort(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the SmartSelftestAbort() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_smart_selftest_start(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the SmartSelftestStart() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_smart_set_enabled(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the SmartSetEnabled() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_smart_update(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the SmartUpdate() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- do_handle_pm_get_state(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-pm-get-statesignal.
- do_handle_pm_standby(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-pm-standbysignal.
- do_handle_pm_wakeup(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-pm-wakeupsignal.
- do_handle_security_erase_unit(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-security-erase-unitsignal.
- do_handle_smart_get_attributes(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-smart-get-attributessignal.
- do_handle_smart_selftest_abort(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-smart-selftest-abortsignal.
- do_handle_smart_selftest_start(invocation, arg_type, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_type (
str) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-smart-selftest-startsignal.
- do_handle_smart_set_enabled(invocation, arg_value, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_value (
bool) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-smart-set-enabledsignal.
- do_handle_smart_update(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.DriveAta::handle-smart-updatesignal.
Signal Details¶
- UDisks.DriveAta.signals.handle_pm_get_state(drive_ata, invocation, arg_options)¶
- Signal Name:
handle-pm-get-state- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the PmGetState() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_pm_get_state() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- UDisks.DriveAta.signals.handle_pm_standby(drive_ata, invocation, arg_options)¶
- Signal Name:
handle-pm-standby- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the PmStandby() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_pm_standby() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- UDisks.DriveAta.signals.handle_pm_wakeup(drive_ata, invocation, arg_options)¶
- Signal Name:
handle-pm-wakeup- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the PmWakeup() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_pm_wakeup() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- UDisks.DriveAta.signals.handle_security_erase_unit(drive_ata, invocation, arg_options)¶
- Signal Name:
handle-security-erase-unit- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SecurityEraseUnit() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_security_erase_unit() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- UDisks.DriveAta.signals.handle_smart_get_attributes(drive_ata, invocation, arg_options)¶
- Signal Name:
handle-smart-get-attributes- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SmartGetAttributes() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_smart_get_attributes() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- UDisks.DriveAta.signals.handle_smart_selftest_abort(drive_ata, invocation, arg_options)¶
- Signal Name:
handle-smart-selftest-abort- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SmartSelftestAbort() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_smart_selftest_abort() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- UDisks.DriveAta.signals.handle_smart_selftest_start(drive_ata, invocation, arg_type, arg_options)¶
- Signal Name:
handle-smart-selftest-start- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_type (
str) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SmartSelftestStart() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_smart_selftest_start() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- UDisks.DriveAta.signals.handle_smart_set_enabled(drive_ata, invocation, arg_value, arg_options)¶
- Signal Name:
handle-smart-set-enabled- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_value (
bool) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SmartSetEnabled() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_smart_set_enabled() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.0.0.
- UDisks.DriveAta.signals.handle_smart_update(drive_ata, invocation, arg_options)¶
- Signal Name:
handle-smart-update- Flags:
- Parameters:
drive_ata (
UDisks.DriveAta) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SmartUpdate() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.DriveAta.complete_smart_update() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
Property Details¶
- UDisks.DriveAta.props.aam_enabled¶
-
Represents the D-Bus property “AamEnabled”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.aam_supported¶
-
Represents the D-Bus property “AamSupported”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.aam_vendor_recommended_value¶
-
Represents the D-Bus property “AamVendorRecommendedValue”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.apm_enabled¶
-
Represents the D-Bus property “ApmEnabled”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.apm_supported¶
-
Represents the D-Bus property “ApmSupported”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.pm_enabled¶
-
Represents the D-Bus property “PmEnabled”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.pm_supported¶
-
Represents the D-Bus property “PmSupported”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.read_lookahead_enabled¶
-
Represents the D-Bus property “ReadLookaheadEnabled”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.read_lookahead_supported¶
-
Represents the D-Bus property “ReadLookaheadSupported”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.security_enhanced_erase_unit_minutes¶
-
Represents the D-Bus property “SecurityEnhancedEraseUnitMinutes”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.security_erase_unit_minutes¶
-
Represents the D-Bus property “SecurityEraseUnitMinutes”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.security_frozen¶
-
Represents the D-Bus property “SecurityFrozen”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_enabled¶
-
Represents the D-Bus property “SmartEnabled”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_failing¶
-
Represents the D-Bus property “SmartFailing”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_num_attributes_failed_in_the_past¶
-
Represents the D-Bus property “SmartNumAttributesFailedInThePast”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_num_attributes_failing¶
-
Represents the D-Bus property “SmartNumAttributesFailing”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_num_bad_sectors¶
-
Represents the D-Bus property “SmartNumBadSectors”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_power_on_seconds¶
-
Represents the D-Bus property “SmartPowerOnSeconds”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_selftest_percent_remaining¶
-
Represents the D-Bus property “SmartSelftestPercentRemaining”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_selftest_status¶
-
Represents the D-Bus property “SmartSelftestStatus”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_supported¶
-
Represents the D-Bus property “SmartSupported”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_temperature¶
-
Represents the D-Bus property “SmartTemperature”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.smart_updated¶
-
Represents the D-Bus property “SmartUpdated”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.write_cache_enabled¶
-
Represents the D-Bus property “WriteCacheEnabled”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- UDisks.DriveAta.props.write_cache_supported¶
-
Represents the D-Bus property “WriteCacheSupported”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.