diff options
author | San Mehat <san@google.com> | 2010-01-06 14:43:06 -0800 |
---|---|---|
committer | San Mehat <san@google.com> | 2010-01-06 14:51:15 -0800 |
commit | 4a57c55ce86e05e8cde58ff5ce945320ee23304f (patch) | |
tree | 97f2faf4a6accd77f2690f73007400346f649af1 /include/hardware_legacy/IMountService.h | |
parent | 035181b8fc0267b983a026ec1f133b944f22282f (diff) | |
download | hardware_libhardware_legacy-4a57c55ce86e05e8cde58ff5ce945320ee23304f.zip hardware_libhardware_legacy-4a57c55ce86e05e8cde58ff5ce945320ee23304f.tar.gz hardware_libhardware_legacy-4a57c55ce86e05e8cde58ff5ce945320ee23304f.tar.bz2 |
legacy: Add asec binder transaction support to c++ wrappers
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'include/hardware_legacy/IMountService.h')
-rw-r--r-- | include/hardware_legacy/IMountService.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/hardware_legacy/IMountService.h b/include/hardware_legacy/IMountService.h index f5f03c9..7c5e612 100644 --- a/include/hardware_legacy/IMountService.h +++ b/include/hardware_legacy/IMountService.h @@ -69,6 +69,25 @@ public: * Sets whether or not media notification sounds are played. */ virtual void setPlayNotificationSounds(bool enabled) = 0; + + /** + * Returns true if USB Mass Storage is automatically started + * when a UMS host is detected. + */ + virtual bool getAutoStartUms() = 0; + + /* + * Sets whether or not USB Mass Storage is automatically started + * when a UMS host is detected. + */ + virtual void setAutoStartUms(bool autostart) = 0; + + virtual String16 getVolumeState(String16 mountPoint) = 0; + virtual String16 createSecureCache(String16 id, int sizeMb, String16 fstype, String16 key, int ownerUid) = 0; + virtual void finalizeSecureCache(String16 id) = 0; + virtual void destroySecureCache(String16 id) = 0; + virtual String16 mountSecureCache(String16 id, String16 key, int ownerUid) = 0; + virtual String16 getSecureCachePath(String16 id) = 0; }; // ---------------------------------------------------------------------- |