OSDN Git Service

MountService: Massive bloat reduction and rewrite
authorSan Mehat <san@google.com>
Fri, 29 Jan 2010 13:32:19 +0000 (05:32 -0800)
committerSan Mehat <san@google.com>
Tue, 2 Feb 2010 19:17:46 +0000 (11:17 -0800)
commit4270e1ea74c57f1c65620e9f5ecaa8c2a5daf0e1
tree151ed15644268731334b27a1e179ed556c1cd407
parent78071b73479b9bea536dd1d5260ea78dd176640b
MountService: Massive bloat reduction and rewrite

- Most API calls now return an int as a result code (see MountServiceResultCode.java)
- All notification code has been removed
- All settings code has been removed
- Removed UMS centric API calls in favor of more generic 'shares'
- Mount error reporting is no longer done via an event, but is done as part of the
  actual mount process
- Rework vold IPC commands to be more sane

Updated:
    MountService: Rename MountServiceObserver -> MountServiceListener
    MountService: Add support for Async callbacks

Updated:
    MountService: Add BinderDeath handling

Updated:
    MountService: Remove notifys since we dont listen anyways

Updated:
    MountService: Fix bad cast

Signed-off-by: San Mehat <san@google.com>
Android.mk
core/java/android/os/IMountService.aidl
core/java/android/os/IMountServiceListener.aidl [moved from core/java/android/os/IMountServiceObserver.aidl with 83% similarity]
core/java/android/os/MountServiceListener.java [moved from core/java/android/os/MountServiceObserver.java with 98% similarity]
core/java/android/os/MountServiceResultCode.java [new file with mode: 0644]
services/java/com/android/server/MountService.java