From cccbe1188021ac4f7cbba7ee26d297448f29bbf3 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Tue, 16 May 2017 16:14:30 -0400 Subject: binding: add initial media binding Add initial media binding that populates playlist on media insertion Bug-AGL: SPEC-610 Change-Id: I24227f7c718606191ae3de72bd692e747353c919 Signed-off-by: Matt Ranostay --- gdbus/api/org.freedesktop.UDisks.xml | 1155 ++++++++++++++++++++++++++++++++++ 1 file changed, 1155 insertions(+) create mode 100644 gdbus/api/org.freedesktop.UDisks.xml (limited to 'gdbus/api/org.freedesktop.UDisks.xml') diff --git a/gdbus/api/org.freedesktop.UDisks.xml b/gdbus/api/org.freedesktop.UDisks.xml new file mode 100644 index 0000000..f790351 --- /dev/null +++ b/gdbus/api/org.freedesktop.UDisks.xml @@ -0,0 +1,1155 @@ + + + + + + + + + + + An array of object paths for storage adapters. + + + + + + Enumerate all storage adapters on the system. + + + + + + + + + + + An array of object paths for storage expanders. + + + + + + Enumerate all storage expanders on the system. + + + + + + + + + + + An array of object paths for ports. + + + + + + Enumerate all storage ports on the system. + + + + + + + + + + + An array of object paths for devices. + + + + + + Enumerate all disk devices on the system. + + + + + + + + + + + An array device file names. + + + + + + Enumerate all device files (including symlinks) for disk devices on the system. + + + + + + + + + + + UNIX special device file + + + Object path of device + + + + + + Finds a device by device path. + + + + + + + + + + + Device major + + + Device minor + + + Object path of device + + + + + + Finds a device by major:minor. + + + + + + + + + + + Inhibit options. Currently no options are recognized. + + + + + A cookie that can be used in the + DriveUninhibitAllPolling() method + to stop inhibiting polling of all devices. + + + + + + + Inhibits the daemon from polling devices for media changes. + + + + The caller will need one of the following PolicyKit authorizations: + + + org.freedesktop.udisks.inhibit-polling + To inhibit polling + + + + + if the caller lacks the appropriate PolicyKit authorization + if the operation failed + + + + + + + + + + + + A cookie obtained from the + DriveInhibitAllPolling() method. + + + + + + + Uninhibits daemon from polling devices for media changes. + + + + if the given cookie is malformed + + + + + + + + + + + Number of seconds before drives should be spun down. + + + + + + Options related to setting spindown timeouts. Currently no options are recognized. + + + + + + A cookie that can be used in the + DriveUnsetAllSpindownTimeouts() method + to unset the spindown timeout for drives. + + + + + + + Configures spindown timeout for all drives capable of being spun down. + Caution should be exercised when using this method, see + the SPINNING DOWN DISKS section in the + udisks(1) man page before using it. + + + + The caller will need one of the following PolicyKit authorizations: + + + org.freedesktop.udisks.drive-set-spindown + To set spindown timeouts + + + + + if the caller lacks the appropriate PolicyKit authorization + if the operation failed + if an invalid or malformed option was given + + + + + + + + + + + + A cookie obtained from the + DriveSetSpindownTimeout() method. + + + + + + + Unsets spindown timeout for the drive. + + + + The caller will need one of the following PolicyKit authorizations: + + + org.freedesktop.udisks.drive-set-spindown + To set spindown timeouts + + + + + if the caller lacks the appropriate PolicyKit authorization + if the operation failed + + + + + + + + + + + The UUID of the volume group to start. + + + Options for starting the VG. Currently no options are supported. + + + + + + Starts all logical volumes in Linux LVM2 Volume Group. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group to stop. + + + Options for stopping the VG. Currently no options are supported. + + + + + + Stops all logical volumes in Linux LVM2 Volume Group. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group to set the name for. + + + The new name for the volume group. + + + + + + Sets the name for a volume group. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group to add a physical volume to. + + + The objcet path of the device to use as a physical volume. + + + Currently unused. + + + + + + Adds a Physical volume to a Linux LVM2 Volume Group. Existing data + on the given device to use for a physical volume will be erased. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group to remove the physical volume from. + + + The UUID of the physical volume to remove from the VG. + + + Currently unused. + + + + + + Removes a Physical volume from a Linux LVM2 Volume Group. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group for the logical volume. + + + The UUID of the logical volume to set the name for. + + + The new name for the logical volume. + + + + + + Sets the name for a logical volume. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group of the logical volume to start belongs to. + + + The UUID of the logical volume to start. + + + Options for starting the logical volume. Currently no options are supported. + + + + + + Starts a LVM2 logical volume. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group of the logical volume to start belongs to. + + + The UUID of the logical volume to remove. + + + Options used for the removal of the logical volume. Currently no options are supported. + + + + + + Removes a LVM2 logical volume. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The UUID of the volume group to create a logical volume in. + + + The name for the logical volume. + + + The size of the logical volume, in bytes. + + + Number of stripes to use. + + + The stripe size to use or 0 if @num_stripes is 0. This must be a power of two. + + + Number of mirrors to use. + + + Options used when creating the logical volume. Currently no options are supported. + + + + The file system to create in new logical filesystem. Leave + blank to skip creating a file system. See the + Device.FilesystemCreate() method + for details. + + + + + Options to use for file system creation. See the + Device.FilesystemCreate() method + for details. + + + + The object path of the newly added logical volume. + + + + + + Creates a new LVM2 logical volume. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-lvm2 + + Needed to configured Linux LVM2 devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The object paths of the components of the array to start. + + + Options for starting the array. Currently no options are supported. + + + + The object path of the assembled array device. + + + + + + Starts an Linux md RAID array. The array will be assembled + and started in degraded mode if an insufficient number of + components are given. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-md + + Needed to configured Linux md Software RAID devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + The object paths of the components to use for the array. + + + RAID level. + + + Stripe Size in bytes, or 0 to use the default stripe size. + + + Name of the array. + + + Options for creating the array. Currently no options are supported. + + + + The object path of the created array device. + + + + + + Creates a Linux md RAID array. The array will be created and + assembled. + + + + The caller will need the following PolicyKit authorization: + + + org.freedesktop.udisks.linux-md + + Needed to configured Linux md Software RAID devices. + + + + + + if the caller lacks the appropriate PolicyKit authorization + if one of the given components are busy + if the operation failed + if the job was cancelled + + + + + + + + + + + A cookie that can be used in the + Uninhibit() method. + to stop inhibiting the daemon. + + + + + + + Inhibits clients from invoking methods on the daemon + of the daemon that require authorization (all methods + will return the org.freedesktop.PolicyKit.Error.Inhibited error) + if the caller is not the super user. + This is typically used by OS installers and other + programs that expects full control of the system, specifically + to avoid automounting devices. + + + + Only the super user can invoke this method. + + + if the caller is not the super user + + + + + + + + + + + + A cookie obtained from the + Inhibit() method. + + + + + + + Uninhibits other clients from using the daemon. + + + + if the given cookie is malformed + + + + + + + + + + Object path of device that was added. + + + + + + Emitted when a device is added. + + + + + + + + + + Object path of device that was removed. + + + + + + Emitted when a device is removed. + + + + + + + + + + Object path of device that was changed. + + + + + + Emitted when a device changed. + + + + + + + + + + The object path of the device. + + + Whether a job is currently in progress. + + + Whether the job is cancellable. + + + The identifier of the job. + + + Number of tasks in the job. + + + Current task number (zero-based offset). + + + Task identifier for current task. + + + Percentage completed of current task (between 0 and 100, negative if unknown). + + + + + + Emitted when a job on a device changes. + + + + + + + + + + Object path of adapter that was added. + + + + + + Emitted when an adapter is added. + + + + + + + Object path of adapter that was removed. + + + + + + Emitted when an adapter is removed. + + + + + + + Object path of adapter that was changed. + + + + + + Emitted when an adapter changed. + + + + + + + + + + Object path of expander that was added. + + + + + + Emitted when an expander is added. + + + + + + + Object path of expander that was removed. + + + + + + Emitted when an expander is removed. + + + + + + + Object path of expander that was changed. + + + + + + Emitted when an expander changed. + + + + + + + + + + Object path of port that was added. + + + + + + Emitted when a port is added. + + + + + + + Object path of port that was removed. + + + + + + Emitted when a port is removed. + + + + + + + Object path of port that was changed. + + + + + + Emitted when a port changed. + + + + + + + + + + The version of the running daemon. + + + + + + TRUE only if the daemon is inhibited. + + + + + + TRUE only if the daemon can create encrypted LUKS block devices, see the + LuksUnlock() and + LuksLock() + methods for details. + + + + + + + + An array of file systems known to the daemon and what features are supported. + Each element in the array contains the following members: + + + id + + The name / identifier of the file system (such as ext3 or vfat), + similar to the contents of the + Device:IdType + property. + + + + name + + A human readable name for the file system such as "Linux Ext3". + + + + supports_unix_owners + + Whether the file system supports the UNIX owners model (e.g. ext3 does, but vfat doesn't). + + + + can_mount + + Whether the file system can be mounted. + + + + can_create + + Whether the file system can be created on a device. + + + + max_label_len + + The maximum amount of bytes that the file system label can hold. Set to zero if the file + system doesn't support labels. + + + + supports_label_rename + + Whether the label of the file system can be changed. + + + + supports_online_label_rename + + Whether the label can be changed while the file system is mounted. + + + + supports_fsck + + Whether the file system can be checked. + + + + supports_online_fsck + + Whether the file system can be checked while mounted. + + + + supports_resize_enlarge + + Whether the file system can be enlarged. + + + + supports_online_resize_enlarge + + Whether the file system can be enlarged while mounted. + + + + supports_resize_shrink + + Whether the file system can be shrunk. + + + + supports_online_resize_shrink + + Whether the file system can be shrunk while mounted. + + + + + + + + + + + + -- cgit 1.2.3-korg