History log of /frameworks/base/services/java/com/android/server/MountService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b7db2726e91f1d9480359d0f83b9cb7769906b34 26-Jan-2011 Kenny Root <kroot@google.com> Make OBB results a one-way call

OBB result back to an application needs to be a one-way binder call.

Bug: 3353699
Change-Id: I0e625914d18a001c2fa9d764ea6463f34cf96743
/frameworks/base/services/java/com/android/server/MountService.java
b09773dee0881f30c2fb4d0f3534527170f25bce 09-Aug-2010 Tony Wu <Tony_Wu@acer.com.tw> Fix isUsbMassStorageConnected() will always return true

After UMS mounted, isUsbMassStorageConnected() will always return true even if USB is disconnected.
It's because mUmsEnabling will always be ture.

Change-Id: Ib24b2359ea2684eb0a9faeb880f383e87630e6e1
/frameworks/base/services/java/com/android/server/MountService.java
3b1abba6bbc895d63da3e82e9b158c01bd12eddd 14-Oct-2010 Kenny Root <kroot@google.com> OBB: use PBKDF2 for key generation.

Switch to using PBKDF2 for the key generation for OBBs. Any previously
generated OBBs will stop being read correctly. A small pbkdf2gen program
is available to allow generation of appropriate keys with the salts.

Bug: 3059950
Change-Id: If4305c989fd692fd1150eb270dbf751e09c37295
/frameworks/base/services/java/com/android/server/MountService.java
af9d667ccf3e24058214cf4cc0a8aa8bc5100e3c 08-Oct-2010 Kenny Root <kroot@google.com> OBB: rearrange to be entirely asynchronous

Rearrange structure of MountService handling of OBBs to be entirely
asynchronous so we don't rely on locking as much. We still need the
locking to support dumpsys which has been improved to output all the
data structures for OBBs.

Added more tests to cover more of the error return codes.

Oh and fix a logic inversion bug.

Change-Id: I34f541192dbbb1903b24825889b8fa8f43e6e2a9
/frameworks/base/services/java/com/android/server/MountService.java
480afe70fa75b74b618f1f6243e7e2be1f41419a 07-Oct-2010 Kenny Root <kroot@google.com> Eliminate MCS_GIVE_UP state

It's basically a duplicate of MCS_UNBIND state, so just get rid of it
which simplifies the state transitions.

Bug: 3067076
Change-Id: I34111be88dd727af8ad59c9f49debd54ede827ea
/frameworks/base/services/java/com/android/server/MountService.java
0145e36cad1472acafb492b3f009ca6eba9593ea 06-Oct-2010 Kenny Root <kroot@google.com> Revert "Only allow 8 OBBs to be mounted by a UID"

This reverts commit 27358a69b33eaa268ee75ef778ec824c8085adcc.

Conflicts:

services/java/com/android/server/MountService.java

Change-Id: Ia14be97b4f22e95daba0d191cfc62adf3d1469cd
/frameworks/base/services/java/com/android/server/MountService.java
5919ac6b4188285324646772501ef4b97b353cf4 05-Oct-2010 Kenny Root <kroot@google.com> OBB: track binder death observers

An incorrect assumption about how death observers were tracked lead to
an IllegalArgumentException in some cases. Make sure the linking and
unlinking of the Binder to its ObbState death observer is symmetric to
avoid this problem.

Bug: 3062360
Change-Id: Idd016db12551c80cd74d00f11cf6569bd3b4ce21
/frameworks/base/services/java/com/android/server/MountService.java
17eb6fb07cc6965f09c51adc70b3c291f57a784a 07-Oct-2010 Kenny Root <kroot@google.com> Add MountService tests and fix a bug it found

Add some MountService tests that are based partially on some stuff done
in PackageManagerTests. This allows us to test the OBB changes in an
easy way.

Also, it found some bugs in the DefaultContainerService connection state
machine, so fix those while we're at it.

Change-Id: I18f38593be754eb32fb6e842f88eec47e2beefce
/frameworks/base/services/java/com/android/server/MountService.java
12ffd9bf4c2cc9075ea7602b4932f823ba940f80 01-Oct-2010 Kenny Root <kroot@google.com> Add "none" for vold and deprecate mkobb -c

If vold isn't told "none" for the key, it will try to mount it as an
encrypted container.

Also remove the -c option from mkobb since it can be triggered by
including a key as well.

Change-Id: I40a8ff3f778bfda682312630e6687ecc14b51844
/frameworks/base/services/java/com/android/server/MountService.java
2942391801b79816c5eb77d7ac94c4a65f26af48 01-Oct-2010 Kenny Root <kroot@google.com> Fix regression in OBB key handling

Change-Id: If583cbdb8be68ffed094a5fde7ee00e1914c5841
/frameworks/base/services/java/com/android/server/MountService.java
4da02392a12e26f94a072e0a8584dbebfa29c4e3 01-Oct-2010 Kenny Root <kroot@google.com> Being already unmounted is not a failure

Change-Id: I5943096444e3d4d4cc5fd63f64a09c32f649a227
/frameworks/base/services/java/com/android/server/MountService.java
735de3b38abbd6564082a819377673ee593744a6 30-Sep-2010 Kenny Root <kroot@google.com> Hash keys with MD5; track IBinders not IInterface

Using a plaintext password doesn't work unless it's a certain length, so
just hash the plaintext password with MD5 to make it the right length
for the twofish encryption.

Tracking the IInterface doesn't make much sense since it's different
each time, so track the IBinder instead. That way we can unlinkToDeath
the binder when the last thing it's holding onto goes away.

Change-Id: Id828d25b4d74f27e9d8b4bfb3909c964469cc473
/frameworks/base/services/java/com/android/server/MountService.java
27358a69b33eaa268ee75ef778ec824c8085adcc 30-Sep-2010 Kenny Root <kroot@google.com> Only allow 8 OBBs to be mounted by a UID

Change-Id: I4f017c5408af903c6c9ba007a2cf7f488a7fcd27
/frameworks/base/services/java/com/android/server/MountService.java
38cf8867a8d3e8d5159abd0bd0e6a3b0b8348b94 26-Sep-2010 Kenny Root <kroot@google.com> Remove OBBs from state list when volume unmounted

Don't keep tracking OBBs when the volume they're located on goes away.
Remove them from our state tracking maps and then send a notification to
any listener that is still around.

Add a dump handler to MountService so the state of the mount lists
can be inspected.

Change the API to just make a callback directly to the change listener
when mount is called when it's already mounted or unmount called when
it's already unmounted.

Change-Id: Idb4afbb943ca5ca775825f908bff334e3ce1cfcc
/frameworks/base/services/java/com/android/server/MountService.java
f1121dc1d35c7e8c317c278aad0dd4ad1358d870 29-Sep-2010 Kenny Root <kroot@google.com> Move all the permissions check up for unmount

We have already scanned the state of the OBB in mountObb, so check the
caller against the stored state in the unmountObb call. This allows us
to ensure the calling binder is the same one that mounted it since we
tie the lifecycle of the OBB to the lifecycle of the binder.

Change-Id: I45d9cfbab5d3f5b37a6a9b594b10bd8b91cccc45
/frameworks/base/services/java/com/android/server/MountService.java
05105f7abe02b2dff91d6260b3628c8b97816bab 23-Sep-2010 Kenny Root <kroot@google.com> Update OBB API to include callbacks

Add a callback for users of the StorageManager API to be able to receive
notifications when the requested operation completes for mountObb and
unmountObb.

Add NDK API to get to ObbInfo like the Java API has.

Also update the docs for the API and remove the "STOPSHIP" comments.

Change-Id: I23a4409c7f8b74d3169614beba920b4d667990a4
/frameworks/base/services/java/com/android/server/MountService.java
aa48540222ef11115b29b8d7f2b7bd1ece772418 14-Sep-2010 Kenny Root <kroot@google.com> Free AssetManager weak refs before unmounting

AssetManagers are kept in WeakReference pools so there's a change
another thread in the system_server has opened a file on the external
card. Attempt to force a garbage collection to free these references
each time we're about to unmount a volume on the external storage.

Change-Id: I6e816e8c67b179887e488dc6758b43bcdd5914fb
/frameworks/base/services/java/com/android/server/MountService.java
305bcbf0c961840c4505770d084a1caacc074dbb 03-Sep-2010 Kenny Root <kroot@google.com> Decrease PackageManagerService wait time for vold

Up the blocking queue maximum to twice the number of containers we
allow which should let "asec list" complete without blocking the thread
several times.

Change the threads for the NativeDaemonConnector to vold and netd to be
more descriptive instead of the same name.

Bug: 2501075
Change-Id: I7e7949845a6c70a3d619aec0fa79ceef3c17a4be
/frameworks/base/services/java/com/android/server/MountService.java
a02b8b05dd1e8b8cf169e1f89542ef835b11fc13 06-Aug-2010 Kenny Root <kroot@google.com> Move OBB file reading to DefaultContainerService

The system_server shouldn't touch files on the SD card. This change
moves the things that touch the SD card out to the
DefaultContainerService so that it will get killed if the SD card goes
away instead of the system_server.

Change-Id: I0aefa085be4b194768527195532ee6dddc801cfc
/frameworks/base/services/java/com/android/server/MountService.java
02c8730c1bf19daf48bec8c6995df676a00a73b1 01-Jul-2010 Kenny Root <kroot@google.com> Add API to call to vold for mounting OBBs

* Unhide StorageService class; hide all the USB-related items

* Add application-visible API to StorageManager for OBB files

* Add class for parceling OBB info across binders (ObbInfo)

* Add a JNI glue class to libutils/ObbFile (ObbScanner)

* Add API to MountService to deal with calling into vold and checking
permissions

Change-Id: I33ecf9606b8ff535f3a2ada83931da6bbef41cfd
/frameworks/base/services/java/com/android/server/MountService.java
85fb20665feadda526ad422c093b859e8c4d40bc 02-Jun-2010 Kenny Root <kroot@google.com> Amend previous ndc commit

Submitted wrong patchset. This includes the delta for the latest
patchset.

Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b
/frameworks/base/services/java/com/android/server/MountService.java
a80ce06d4c54e43243073f8ceff024f9dda7140e 01-Jun-2010 Kenny Root <kroot@google.com> Add more error checking for ndc

In NativeDaemonConnector.doCommand() calls, there was inconsistent error
checking. This change adds error checking for every call and makes it so
that any call to .doCommand() that gets an error code won't cause the
code to hang forever.

Change-Id: I4584953a759a48ad16adfe8ee9e564b5f5796680
/frameworks/base/services/java/com/android/server/MountService.java
7af074a6124d2293bc979e24f3258166efb8a310 06-Apr-2010 Suchi Amalapurapu <asuchitra@google.com> Forcibly unmount the sdcard after N retries.

Don't rely on the ActivityManager's reported status about killing the
storage user process since the process might have gone away in between.

Change-Id: Ia7fa43eb34553329e7ff611ab6b99375b5ae673a
/frameworks/base/services/java/com/android/server/MountService.java
a50785979712bd45e4d122e7ef0e999732b15fca 25-Mar-2010 San Mehat <san@google.com> MountService: Switch all Log -> Slog

Change-Id: Id33c76497e9d963f295ef6e99d850223ca59b6cd
Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
2d66cef77e450ec4a4d725b89ae68c5e6b167bee 23-Mar-2010 San Mehat <san@google.com> Asec: Add new 'StorageNotFound' response code handling for container paths

Change-Id: I45d113f77b9f0e519087356b70fc6c4b5c290935
Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
f030462c83a91432b7cf2c699778b63b1e79de72 20-Mar-2010 Kenny Root <kroot@google.com> Make trying to remount an asec container non-fatal

If an asec container is already mounted for some reason, start tracking
it in the MountService's internal state and tell the caller we had
success mounting the secure container.

Change-Id: I5bb0f84b2bafc0cd2dba248c35a8d68fd53ef1b2
/frameworks/base/services/java/com/android/server/MountService.java
e99bb5f10b90736d10cee9729b56cba156fc0921 19-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Add new method call back in MountService.
PackageManager invokes this call back when its done handling
the media status update.
Add new uid check for updateExternalMediaStatus
Change killPids method in ActivityManager.
Remove mountsd command in Pm.java We cannot arbitrarily enable/disable
packages in PackageManager now.

Change-Id: I28dcba4afd2b4486f68abdaa1628a31b66544c91
/frameworks/base/services/java/com/android/server/MountService.java
6a254403235196692b1769d2fe281b0852c0cc25 22-Mar-2010 San Mehat <san@google.com> MountService: Handle volumes shared on startup

Change-Id: I7c38607adee7c89f27c24285a7ace2b9c87e7f30
Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
8a9ab24a5c9b595ac0268fcade4b5bbfe7c45c2d 12-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Do storage checks before initiating a move.
Add new remote method to check for insufficient error conditions.
Some fixes in MountService when updating media status on PackageManagerService
Fix size calculation condition in installd.

Add new error code if media is unavailable.
New tests for testing error codes.
Some additional debugging statements in MountService.

Change-Id: Ibfe90d5ed6c71d57f9c1c67806f38b5ae9ecdfbf
/frameworks/base/services/java/com/android/server/MountService.java
5f27ef4968ac8c331157524c60a4511fcc3731b1 16-Mar-2010 Daniel Sandler <dsandler@google.com> Move MountService's Handler to a different thread.

This should help avoid blocking the system UI during storage
operations.

Change-Id: Ic53cb370baf47e8b00476706ac8df45645a2d814
/frameworks/base/services/java/com/android/server/MountService.java
2fe718a87b9ebc9679ff2abf38b6c30274267bea 11-Mar-2010 San Mehat <san@google.com> MountService: If USB cable is unplugged while UMS is active, clean up and remount

Change-Id: I9c20e7bfc215549cd8a6e14625e5d005bb53f8fa
Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
6ffce2e9a3c57634bb73f8ff133ca680f8070d5d 08-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Add new shutdown observer for MountService.
Use new observer before rebooting and shutting down.
Add some unit tests for unmount and shutdown code paths
Fix registering/unregistering part in MountService
Use ShutdownThread in PowerManager.reboot()
Add reboot support to ShutdownThread.
Remove MountService code from PowerManagerService.java and Power.java.
Clean shutdown/reboot is handled exclusively by ShutdownThread now.

Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d
/frameworks/base/services/java/com/android/server/MountService.java
9b10ef5fe85e9d29721ff0cd15161f960d38a8db 03-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Rework the way PackageManager binds to default container service.

Clean up stale containers when enabling/disabling packages on sdcard.
Check the path of packages which are being enabled.
Make sure gc's are done prior to destroying containers when moving applicati
as well as enabling/disabling packages for sdcard mount status changes.

Some miscellaneous issues
Remove hack to avoid renaming containers.
Fix test with forward locked apps
Remove adding container id to asec list when renaming
Some cosmetic changes to DefaultContainerService
/frameworks/base/services/java/com/android/server/MountService.java
bf2dd44a6f86d13efd55d1e690822fba11187bf8 03-Mar-2010 Mike Lockwood <lockwood@android.com> MountService: Send ACTION_MEDIA_UNSHARED Intent a volume is no longer shared via UMS.

Change-Id: I21c887ae76eccabcc5d8449aa0a38e98758e8958
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/MountService.java
0eec21d97d9dc4eb4fdbad0e4c0fc53703452d02 26-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Add dialog to display storage users when enabling/disabling ums

Some error dialogs and related strings
MountService changes to follow unmount path when enabling ums.

Please note that MountService api setUmsEnabled does not return
error codes for now. This is a known limitation.
/frameworks/base/services/java/com/android/server/MountService.java
c42e29e0a58d07a95d470780216cdf1d67476bd6 23-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Add new handler mechanism in MountService to make unmount api asynchronous.
MountService updates state on PackageManager and then tries to
kill processes holding file references to media about to be unmounted by
invoking api on ACtivityManager. This is retried upto 4 times to make sure all
processes holding file references are killed before unmounting the media
at specified path.

Also changed PackageManger api to return boolean value to indicate if
MountService is likely to receive broadcasts related to apps on sd.
/frameworks/base/services/java/com/android/server/MountService.java
6a965af2d76f6cf3ec980c8ecfd257f49b3c97e3 25-Feb-2010 San Mehat <san@google.com> MountService: Send UMS_CONNECTED broadcast on boot if UMS connected.

UMS detection is now done wayyyy before the system is booted, so set a flag
to send our intent broadcast once we've booted.

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
85451ee15fdf6cae371dc3005441988c7d426401 24-Feb-2010 San Mehat <san@google.com> MountService: Fix bug which would allow apps to try to rename a container whos dst is mounted

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
3d4881067a16c7f65f2aeb06f58eb3f106b05c45 22-Feb-2010 San Mehat <san@google.com> MountService: Force unmount when enabling ums

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
fafb041b47c1c5f6a4c253768295ed3aeb7ad412 19-Feb-2010 San Mehat <san@google.com> MountService: Move boot-time mount to a thread - avoids ANR at boot

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
c34ebce475a6994f1aa59b8c535ff966c8f59431 18-Feb-2010 Marco Nelissen <marcone@google.com> Make MountService work in the simulator.
/frameworks/base/services/java/com/android/server/MountService.java
d970998b0d489774ad1c5b94b47d233912f00214 18-Feb-2010 San Mehat <san@google.com> framework: storage: Add 'force' option to unmount/destroy storage apis, and update callsites.

Also adds additional storage unit tests

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
c1b4ce93be60aa09eda5653edc2f6a8ce864526d 17-Feb-2010 San Mehat <san@google.com> MountService: Add API call for getting a list of pids currently using the specified mountpoint

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
a181b21305e0bcf171e2112a3ca5c08eb4fd2434 11-Feb-2010 San Mehat <san@google.com> MountService: Fix some mountset bugs and tighten up some return values

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
6cdd9c08565a6871ad72cd388adfdfca23532e5e 09-Feb-2010 San Mehat <san@google.com> MountService: Add isSecureContainerMounted() API call

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
59443a673a736978361dc341f41ce4e9dae053a0 09-Feb-2010 San Mehat <san@google.com> MountService: Check for failure to unmount when enabling UMS and fix reversed logic

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
b104340496e3a531e26c8f428c808eca0e039f50 05-Feb-2010 San Mehat <san@google.com> Framework: Clean up / Refactor Mount APIs

- Move android.storage.* -> android.os.storage.* and refactor users
- Refactor generic shares back to explicit ums enable/disable/isEnabled
- Remove media insert/removed event callbacks (not ready for Froyo)
- Remove 'label' from volume state change callbacks
- Add public API functions for enabling/disabling USB mass storage (permissions enforced
in MountSevice)
- Remove some stray un-needed import lines
- Move android.os.IMountService / android.os.IMountServiceListener -> android.os.storage
- Improve code comments

Updated:
MountService: Add dup state check and move debugging behind a conditional
UsbStorageActivity: Fix review comments + a TODO
StorageNotification: Add @Override tags
StorageManager: Don't use a static Listener list
MountService: Reduce bloat and fix == where I meant .equals()
PackageManagerTests: Update for new API

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
207e538350665cea00e1aa70b8094beca4a34e45 05-Feb-2010 San Mehat <san@google.com> MountService: Harden for pre-boot usage users

- Connection to native daemon now happens on creation instead of ON_BOOT
- Don't emit share change broadcasts before system is booted
- Protect against public API usage before we're ready

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
f919cd02dfd40ad1939e429c3f5e7e36538d839e 05-Feb-2010 San Mehat <san@google.com> MountService: Add WARN checks to ASEC calls to catch bad users

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
b56ae20b22fd7283df32072a431ab6d4965f3c1b 05-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Rename media resource broadcasts
Add checks for fwdlocked and updated system apps
add more tests
remove duplicate adds
/frameworks/base/services/java/com/android/server/MountService.java
4270e1ea74c57f1c65620e9f5ecaa8c2a5daf0e1 29-Jan-2010 San Mehat <san@google.com> 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>
/frameworks/base/services/java/com/android/server/MountService.java
d425a45f8d7c0e94d2db4c0a5c8157e6c846b853 29-Jan-2010 Daniel Sandler <dsandler@google.com> Fix build.

(Broken in change Ib94f795c.)
/frameworks/base/services/java/com/android/server/MountService.java
b94f795c257e32a1d7be1115568b5b6f576dec37 28-Jan-2010 Daniel Sandler <dsandler@google.com> New full-screen activity for USB mass storage interaction.

Still TODO: patch into forthcoming callbacks from
MountService so the USB storage activity always shows the
correct state of the device. (Right now it only refreshes
its display onResume.)

Bug: 2299129
/frameworks/base/services/java/com/android/server/MountService.java
40b5110e746060ec67307da70f662826c18228a7 28-Jan-2010 Suchi Amalapurapu <asuchitra@google.com> Remove destroy asec command when mounting secure container
/frameworks/base/services/java/com/android/server/MountService.java
02735bc9b7686e56957cdec9c10660c4a6dd1090 27-Jan-2010 San Mehat <san@google.com> MountService: Introduce new @hide permissions to protect secure containers.

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
c2a39471642e31d7350910612e40d078b825173a 27-Jan-2010 San Mehat <san@google.com> MountService: Don't update the storage status when we're unmounted

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
5b77dab23469273d41f9c530d947ac055765e6ea 26-Jan-2010 San Mehat <san@google.com> MountService: Explicitly query volume state on startup

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
45f61040823d8c442838f75cde8760f236603dae 23-Jan-2010 San Mehat <san@google.com> MountService: Add support for renaming secure containers

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
3e3a6430ea49abcdcc645a26a6f1df65acd97345 23-Jan-2010 San Mehat <san@google.com> Fix whitespace issue causing protocol syntax error

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
8ab6135841ca0fede5b99fdd9ff166fbfe0176c0 21-Jan-2010 San Mehat <san@google.com> MountService: Codeshrink

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
fd3530f90562bb7e66edfee39d90fc8beda82f1d 18-Jan-2010 Suchi Amalapurapu <asuchitra@google.com> Mount/Unmount secure containers
Persist flags in PackageSetting. Flags are relevant to ApplicationInfo.FLAG_SYSTEM, Application.FLAG_ON_SDCARD, ApplicationInfo.FLAG_FORWARD_LOCK.
New pm command to simulate mount/unmount in Pm. This will be removed
when MountService/vold event generation gets fixed.
Calls from MountService into PackageManager when media gets mounted/unmounted.
Scan the packages and grant permissions when the sdcard gets mounted.
This api might change again.
/frameworks/base/services/java/com/android/server/MountService.java
9dba709d4439d8cdb464a3dcccbddffdbe4b10ff 18-Jan-2010 San Mehat <san@google.com> MountService: Add new 'unmountSecureContainer' API call

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
5fbf4094f5857ab15801c65a260a5c4b6866d655 15-Jan-2010 San Mehat <san@google.com> MountService: Suppress media removed notification when enabling UMS

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
22dd86e0556bf60f46bb92a4d90aef8c2d55da58 12-Jan-2010 San Mehat <san@google.com> MountService: Refactor to use NativeDaemonConnector and clean-up

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
fa101530bc74bdf1517a1840a9415249211b9414 12-Jan-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of d26707da to master

Change-Id: I1a379194f70c4b14191333ca2d8e6dd9d8b0f9dd
7ebf017658070323ed1c2bbd80c46c7cd2390d87 12-Jan-2010 San Mehat <san@google.com> framework: storage: Ensure that filesystems are unmounted before shutdown/reboot

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
0f5525ad3b9b341a6c288ded8a8a08572fc657c6 11-Jan-2010 San Mehat <san@google.com> framework: asec: Rename 'Cache' -> 'Container'

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
f96135857f2f3de12576174712d6bea8b363277d 10-Jan-2010 San Mehat <san@google.com> MountService: Clean up some logspam

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
1f6301e1ff1a8ba04bc2b9c55fe6ceb883ce43bf 08-Jan-2010 San Mehat <san@google.com> MountService: Add new Settings for UMS prompting and notification behavior

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
dde25397985d82352965c54d68c0ee181b2c3cc8 07-Jan-2010 San Mehat <san@google.com> MountService: Remove ACTION_SHUTDOWN handler

Shutdown handlers run too early for unmounting, so don't handle it.
Shutdown will be called explicitly from the ShutdownThread

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
91c7761139c0931da0fcbc89bce38cee4b9cc535 07-Jan-2010 San Mehat <san@google.com> MountService: Add an ACTION_SHUTDOWN handler and export a method for external shutdown

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
3697229cc7adfd89493e87ba8b6401c8b68bdd71 06-Jan-2010 San Mehat <san@google.com> framework: MountService: Add initial support for Android Secure External Caches

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
7fd0fee968f4a3e474e1ea9933fc03552fe5f50a 17-Dec-2009 San Mehat <san@google.com> services: MountService: Refactor MountService for vold2

Squash of the following:
services: MountService: Rework the way volume states are handled
MountService: Add new API for directly getting volume state via a mount point
Environment: Switch from using system property for external storage state.
MountService: Add support for UMS
MountService: Fix a few bugs
services: MountService: Add support for mount-on-insertion
services: MountService: Add some debugging around UMS
services: MountService: Fix some UMS bugs and clean-up startup mount code

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/MountService.java
de46acddf597da5637b99a8a6e52ffd642ae913e 01-Oct-2009 Mike Lockwood <lockwood@android.com> Update SD card notification icons.

Stop using SIM card icons for USB notifications
Fixes b/1700510

Change-Id: Ic7e251a7ecad3ed46044181eae41481791df85bd
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/MountService.java
a7ef2698a6c9182ffd41574495a18da1ffc2be2c 10-Sep-2009 Mike Lockwood <lockwood@android.com> MountService: Use correct icon for SD card notifications.

Change-Id: Ia15847c48fce7957f1a376e173d39137b661d51c
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/MountService.java
9517443904e341ee77c38648763d55687cd88760 26-Aug-2009 Mike Lockwood <lockwood@android.com> MountService: Launch UsbStorageActivity with Intent.FLAG_ACTIVITY_NEW_TASK flag.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/MountService.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/frameworks/base/services/java/com/android/server/MountService.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/MountService.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/MountService.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/services/java/com/android/server/MountService.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/services/java/com/android/server/MountService.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/services/java/com/android/server/MountService.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/services/java/com/android/server/MountService.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/services/java/com/android/server/MountService.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/services/java/com/android/server/MountService.java