941a8ba1a6043cf84a7bf622e44a0b4f7abd0178 |
21-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Installing splits into ASECs! Sessions can now zero-copy data directly into pre-allocated ASEC containers. Then at commit time, we compute the total size of the final app, including any inherited APKs and unpacked libraries, and resize the container in one step. This supports both brand new ASEC installs and inheriting from existing ASEC installs. To keep things simple, it currently requires copying any inherited ASEC contents, but this could be optimized in the future. Expose new vold resize command, and allow read-write mounting of ASEC containers. Move native library extraction into the installer flow, since it needs to happen before ASEC is sealed. Move multiArch flag into NativeLibraryHelper, instead of making everyone pass it around. Migrate size calculation to shared location. Separate "other" package name in public API, provide a path to a storage device when relevant, and add more docs. Bug: 16514385 Change-Id: I06c6ce588d312ee7e64cce02733895d640b88456
MountService.cpp
|
4fbbda4cecb078bd3867f416b02cc75f5455284f |
25-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Handle multi-user mountObb() requests. Since emulated external storage paths differ based on execution context, carefully fix up paths for various use-cases: 1. When sending paths to DefaultContainerService, always scope OBB paths as belonging to USER_OWNER. 2. When sending paths to vold, always build emulated storage paths visible to root. 3. Always use the original untouched path when talking with apps. Mount OBB containers using shared app GID, so that an app can read the mount point across users. Handle legacy paths like "/sdcard" by resolving the canonical path before sending to MountService. Move tests to servicestests, and add tests for new path generation logic. Bug: 7212801 Change-Id: I078c52879cd08d9c8a52cc8c83ac7ced1e8035e7
MountService.cpp
|
5bcbfcec4bc49a141341dd333aed2d0d774d04a0 |
07-Apr-2012 |
Ying Wang <wangying@google.com> |
You don't need LOCAL_STATIC_LIBRARIES when building static library. and there is no target static library with name libutils. Change-Id: Ifec34e1b484d749d3fcd11abe610f192a3213767
ndroid.mk
|
5baa3a62a97544669fba6d65a11c07f252e654dd |
20-Dec-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
MountService.cpp
|
13c7197da8a16f77f6398708a6314c80cb01e0d1 |
08-Sep-2011 |
Ben Komalo <benkomalo@google.com> |
Revert encryption mapping for device wipes. External storage volumes that were emulated+encrypted needed to have their encryption mapping removed so that it doesn't try to encrypt the volume after formatting them. This just wires through an argument through vold, and assumes that vold will do the right thing even if there is no encryption mapping set. Bug: 5017638 Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
MountService.cpp
|
bd882b1c8708686d373c56e07e6bb8b1cb6ffd9e |
12-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
ndroid.mk
|
d6332552761fcce700adb465ff540d30a671403c |
07-Jan-2011 |
Jason parks <jparks@google.com> |
Add a method enable encryption. This is for testing and needs to be cleaned up. Change-Id: I71cd5412f7096dc13d9ab61229ee9846c6f0006a
MountService.cpp
|
5af0b916f850486cff4797355bf9e7dc3352fe00 |
29-Nov-2010 |
Jason parks <jparks@google.com> |
Add decryption support to MountService. * Implement the decryptStorage() method on the Mount Service. This method makes the calls into vold to decrypt the encrypted volumes and mount them. Change-Id: I4f6e07a111cf0b36611d590debf9f6579c5ac5f7
MountService.cpp
|
fd14fb59584a3670a676ca014ba74f788734dfeb |
14-Oct-2010 |
Kenny Root <kroot@google.com> |
am c3041432: am de846ac6: Merge "Change to new binder implementation for OBB" into gingerbread Merge commit 'c30414329c381afba7bd23bdd0f1237fad0850a6' * commit 'c30414329c381afba7bd23bdd0f1237fad0850a6': Change to new binder implementation for OBB
|
0a9b54e88b9cbb30748b5f0b331aec3f3ef8d639 |
14-Oct-2010 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 8bb7a1df to master Change-Id: Ieec036f494a54eab74a27b954d1423bf981dd3f9
|
e1ff214e32ed5c546a7603b07b054908c4d93312 |
12-Oct-2010 |
Kenny Root <kroot@google.com> |
Add API to check for emulated external storage When the storage is emulated, we don't want to install ASEC containers to it. This adds the API to check when the external storage is emulated and uses it to check whether or not to install packages to the external storage in an ASEC container. Bug: 3024387 Change-Id: Ia0318aca9e4938a4897deaada5603a4c7c1d0f48
MountService.cpp
|
4a99ed897796bec95039496a66ed1be066b6294c |
12-Oct-2010 |
Kenny Root <kroot@google.com> |
Change to new binder implementation for OBB Change-Id: I3282df361a11fc37e94bc5ba4bd5860ae62a10e4
MountService.cpp
|
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
MountService.cpp
ObbActionListener.cpp
|
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
MountService.cpp
|
be857d42849eaaa554d4772dbba7755f8a0f3547 |
19-Aug-2010 |
Kenny Root <kroot@google.com> |
Reorganize MountService IPC Remove auto-generated AIDL files and replace them with manually edited .java and .cpp/.h files so that binder calls can be made from either Java or C++. Update the makefiles to not attempt to generate the AIDL files and also remove the old auto-generated .java files. Put all the storage-related C++ things in libstorage so that we don't pollute other libraries. Change-Id: I82d1631295452709f12ff1270f36c3100e652806
ndroid.mk
MountService.cpp
MountServiceListener.cpp
MountShutdownObserver.cpp
ObbActionListener.cpp
ODULE_LICENSE_APACHE2
OTICE
|