summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/IMountService.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:04 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:04 -0800
commit6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715 (patch)
tree5c16b8149c32cfd34c5ca4c2408303b722f4d492 /include/hardware_legacy/IMountService.h
parent987df5db6d269300aa1b89af506cf18cf380be51 (diff)
downloadhardware_libhardware_legacy-6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715.tar.gz
hardware_libhardware_legacy-6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715.tar.bz2
hardware_libhardware_legacy-6e5ad3c6e83b5acee8c9eaefdc58d1dd8a117715.zip
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'include/hardware_legacy/IMountService.h')
-rw-r--r--include/hardware_legacy/IMountService.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/hardware_legacy/IMountService.h b/include/hardware_legacy/IMountService.h
index 6737dcf..b956ec8 100644
--- a/include/hardware_legacy/IMountService.h
+++ b/include/hardware_legacy/IMountService.h
@@ -54,6 +54,21 @@ public:
* Safely unmount external storage at given mount point.
*/
virtual void unmountMedia(String16 mountPoint) = 0;
+
+ /**
+ * Format external storage at given mount point.
+ */
+ virtual void formatMedia(String16 mountPoint) = 0;
+
+ /**
+ * Returns true if we're playing media notification sounds.
+ */
+ virtual bool getPlayNotificationSounds() = 0;
+
+ /**
+ * Sets whether or not media notification sounds are played.
+ */
+ virtual void setPlayNotificationSounds(bool enabled) = 0;
};
// ----------------------------------------------------------------------