diff options
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; }; // ---------------------------------------------------------------------- |
