diff options
author | Allen Vicencio <allenvic@google.com> | 2017-11-29 22:47:05 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-11-29 22:47:05 +0000 |
commit | 71e0bad4c1f9a0d4acb951f3a7020d0ecc49745d (patch) | |
tree | 7fd7961e04afe0e24acfb61a06ec2da4d75c9cd1 | |
parent | 6d57b8c28816d1b0002d19ba7cff79bd86c031af (diff) | |
parent | e02e3da4841e85c69bc9f3ea2b758a65d78b341e (diff) | |
download | system_api-o-mr1-iot-preview-6.tar.gz |
smbprovider: Add ReadDirectoryOptions and GetMetadataEntryOptionsandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6
am: e02e3da484
Change-Id: I855fe8f6ec7f52d2640fab63922fb6d14b19c163
-rw-r--r-- | dbus/smbprovider/directory_entry.proto | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dbus/smbprovider/directory_entry.proto b/dbus/smbprovider/directory_entry.proto index 4587aeb..e508fa0 100644 --- a/dbus/smbprovider/directory_entry.proto +++ b/dbus/smbprovider/directory_entry.proto @@ -61,5 +61,24 @@ message MountOptions { // UnmountOptions is used for passing inputs into SmbProvider.Unmount(). message UnmountOptions { + // ID of the mount returned from Mount(). optional int32 mount_id = 1; } + +// Used for passing inputs into SmbProvider.ReadDirectory(). +message ReadDirectoryOptions { + // ID of the mount returned from Mount(). + optional int32 mount_id = 1; + // Path of the directory to be read. The paths are relative to the mount root. + // (e.g. "/testfolder") + optional string directory_path = 2; +} + +// Used for passing inputs into SmbProvider.GetMetadataEntry(). +message GetMetadataEntryOptions { + // ID of the mount returned from Mount(). + optional int32 mount_id = 1; + // Path of the entry to be read. This can be a file or directory path. + // The paths are relative to the mount root. (e.g. "/testfolder/dog.jpg") + optional string entry_path = 2; +} |