diff options
Diffstat (limited to 'chromium/third_party/mtpd/source/mtpd.xml')
-rw-r--r-- | chromium/third_party/mtpd/source/mtpd.xml | 178 |
1 files changed, 0 insertions, 178 deletions
diff --git a/chromium/third_party/mtpd/source/mtpd.xml b/chromium/third_party/mtpd/source/mtpd.xml deleted file mode 100644 index aa98a08a619..00000000000 --- a/chromium/third_party/mtpd/source/mtpd.xml +++ /dev/null @@ -1,178 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> - <interface name="org.chromium.Mtpd"> - <method name="EnumerateStorages"> - <arg name="storageList" type="as" direction="out"> - <tp:docstring> - List of storages. Storages are described as Bus:Location:StorageId. - E.g. usb:2,4:1234. - </tp:docstring> - </arg> - </method> - - <method name="GetStorageInfo"> - <arg name="storageName" type="s" direction="in"> - <tp:docstring> - Storage name is in the same format as EnumerateStorages. - </tp:docstring> - </arg> - <arg name="storageInfo" type="ay" direction="out"> - </arg> - </method> - - <method name="OpenStorage"> - <arg name="storageName" type="s" direction="in"> - <tp:docstring> - Storage name is in the same format as EnumerateStorages. - </tp:docstring> - </arg> - <arg name="mode" type="s" direction="in"> - <tp:docstring> - Mode to open the storage in. - Currently the only valid mode is "readonly". - </tp:docstring> - </arg> - <arg name="handle" type="s" direction="out"> - <tp:docstring> - Handle to the storage. Empty on failure. - </tp:docstring> - </arg> - </method> - - <method name="CloseStorage"> - <arg name="handle" type="s" direction="in"> - <tp:docstring> - Handle to the storage from OpenStorage. - </tp:docstring> - </arg> - </method> - - <method name="ReadDirectoryByPath"> - <arg name="handle" type="s" direction="in"> - <tp:docstring> - Handle to the storage from OpenStorage. - </tp:docstring> - </arg> - <arg name="filePath" type="s" direction="in"> - <tp:docstring> - Absolute path with root as the root of the storage. - </tp:docstring> - </arg> - <arg name="results" type="ay" direction="out"> - </arg> - </method> - - <method name="ReadDirectoryById"> - <arg name="handle" type="s" direction="in"> - <tp:docstring> - Handle to the storage from OpenStorage. - </tp:docstring> - </arg> - <arg name="fileId" type="u" direction="in"> - </arg> - <arg name="results" type="ay" direction="out"> - </arg> - </method> - - <method name="ReadFileChunkByPath"> - <arg name="handle" type="s" direction="in"> - <tp:docstring> - Handle to the storage from OpenStorage. - </tp:docstring> - </arg> - <arg name="filePath" type="s" direction="in"> - <tp:docstring> - Absolute path with root as the root of the storage. - </tp:docstring> - </arg> - <arg name="offset" type="u" direction="in"> - <tp:docstring> - The offset into the file in bytes. - </tp:docstring> - </arg> - <arg name="count" type="u" direction="in"> - <tp:docstring> - The number of bytes to read. At most 1 MiB. - </tp:docstring> - </arg> - <arg name="data" type="ay" direction="out"> - </arg> - </method> - - <method name="ReadFileChunkById"> - <arg name="handle" type="s" direction="in"> - <tp:docstring> - Handle to the storage from OpenStorage. - </tp:docstring> - </arg> - <arg name="fileId" type="u" direction="in"> - </arg> - <arg name="offset" type="u" direction="in"> - <tp:docstring> - The offset into the file in bytes. - </tp:docstring> - </arg> - <arg name="count" type="u" direction="in"> - <tp:docstring> - The number of bytes to read. At most 1 MiB. - </tp:docstring> - </arg> - <arg name="data" type="ay" direction="out"> - </arg> - </method> - - <method name="GetFileInfoByPath"> - <arg name="handle" type="s" direction="in"> - <tp:docstring> - Handle to the storage from OpenStorage. - </tp:docstring> - </arg> - <arg name="filePath" type="s" direction="in"> - <tp:docstring> - Absolute path with root as the root of the storage. - </tp:docstring> - </arg> - <arg name="info" type="ay" direction="out"> - </arg> - </method> - - <method name="GetFileInfoById"> - <arg name="handle" type="s" direction="in"> - <tp:docstring> - Handle to the storage from OpenStorage. - </tp:docstring> - </arg> - <arg name="fileId" type="u" direction="in"> - </arg> - <arg name="info" type="ay" direction="out"> - </arg> - </method> - - <method name="IsAlive"> - <tp:docstring> - Test method to verify that the MTP service is working. - </tp:docstring> - <arg name="result" type="b" direction="out"> - <tp:docstring> - Boolean indicating whether the MTP service is alive. - </tp:docstring> - </arg> - </method> - - <signal name="MTPStorageAttached"> - <arg name="storageName" type="s" direction="out"> - <tp:docstring> - Storage name is in the same format as EnumerateStorages. - </tp:docstring> - </arg> - </signal> - <signal name="MTPStorageDetached"> - <arg name="storageName" type="s" direction="out"> - <tp:docstring> - Storage name is in the same format as EnumerateStorages. - </tp:docstring> - </arg> - </signal> - </interface> -</node> |