| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Copyright 2020 The ChromiumOS Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <node name="/org/chromium/Spaced" |
| xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> |
| <interface name="org.chromium.Spaced"> |
| <method name="GetFreeDiskSpace"> |
| <tp:docstring> |
| Get free disk space available for the given file path. |
| </tp:docstring> |
| <arg name="path" type="s" direction="in"/> |
| <arg name="reply" type="x" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple"/> |
| </method> |
| <method name="GetTotalDiskSpace"> |
| <tp:docstring> |
| Get total disk space available. |
| </tp:docstring> |
| <arg name="path" type="s" direction="in"/> |
| <arg name="reply" type="x" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple"/> |
| </method> |
| <method name="GetRootDeviceSize"> |
| <tp:docstring> |
| Get the size of the root storage device. |
| </tp:docstring> |
| <arg name="reply" type="x" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple"/> |
| </method> |
| <signal name="StatefulDiskSpaceUpdate"> |
| <arg name="status" type="ay" direction="out"> |
| <tp:docstring> |
| A serialized protobuf (StatefulDiskSpaceUpdate, |
| platform2/system_api/dbus/spaced/spaced.proto). |
| </tp:docstring> |
| <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| value="spaced::StatefulDiskSpaceUpdate"/> |
| </arg> |
| </signal> |
| </interface> |
| </node> |