• Home
  • History
  • Annotate
  • only in /frameworks/base/libs/storage/
History log of /frameworks/base/libs/storage/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a515f11cc5c51b9ea6d32da9d63c5b844aecb778 15-Dec-2016 Colin Cross <ccross@android.com> Convert libstorage to Android.bp am: 3ac2be93a9 am: f12ae4bed7 am: 791d02818a
am: fe9ffc29ff

Change-Id: Ia785d394bebb10757b031f14e368133e849c4c42
87ba88ce6f195b0767317612a85b1493ec8692d8 15-Dec-2016 Colin Cross <ccross@android.com> Move libstorage includes into frameworks/base/lib/storage am: e78f853e46 am: afef87b1ba am: f142640afb
am: e6120caf2a

Change-Id: I2617bff54282647c2af5755349bf35d650f3d4c8
3ac2be93a9f52103ec60a2f13cbaf31017cfdf54 14-Dec-2016 Colin Cross <ccross@android.com> Convert libstorage to Android.bp

See build/soong/README.md for more information.

Test: m -j native
Change-Id: Ieb34d79af10e4e7cd146d0d40fd6946499dd1da0
ndroid.bp
ndroid.mk
e78f853e469e37bc2cc4f22d9f102d38d756af04 14-Dec-2016 Colin Cross <ccross@android.com> Move libstorage includes into frameworks/base/lib/storage

Move the libstorage includes out of the global include path and into
frameworks/base/lib/storage/include, and export it.

Bug: 33630870
Test: m -j native
Change-Id: Idc0735360abc703496b9bc46d1a76ce8039af0d1
ndroid.mk
nclude/storage/IMountService.h
nclude/storage/IMountServiceListener.h
nclude/storage/IMountShutdownObserver.h
nclude/storage/IObbActionListener.h
2250d56a0b47b93016018340c8f4040325aa5611 08-Nov-2016 Sudheer Shanka <sudheersai@google.com> Rename MountService to StorageManagerService.

Bug: 30977067
Test: Existing tests pass
Change-Id: Ieac0f11c2b249dcd60441b14c1f391e6f8131d42
MountService.cpp
MountServiceListener.cpp
MountShutdownObserver.cpp
34b33887a17a312167666be217a0f521236b393d 01-Nov-2016 Sudheer Shanka <sudheersai@google.com> Fix IMountService transaction ids.

- (IBinder.FIRST_CALL_TRANSACTION=1) is added to the specified
transaction codes during binder generation. Correct the
IMountService transaction ids taking this into account.
- Update interface descriptors in MountService related native code.
- Add proxy implementations for IMountServiceListener and
IMountShutdownObserver.

Bug: 30977067
Test: Verified that calls from native code to IMountService system
service are working and listeners in native code can get the
callbacks correctly.
Change-Id: I9bef9a8113e92d8b36e963bd961ac858acac3f2a
MountService.cpp
MountServiceListener.cpp
MountShutdownObserver.cpp
ObbActionListener.cpp
c6baf563ba6aa207a48317c177b29f1d2b70cf3d 27-Apr-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: Ibdd6a210bb7ff228e3624cc319169f77aca3b51e
MountService.cpp
ObbActionListener.cpp
1e06bde16e7bcbb2aeeeb6882571b3b07e2bc2f1 14-Apr-2016 Christopher Wiley <wiley@google.com> libstorage needs libbinder include paths

This library is almost all binder related. It should be
using libbinder's published include path.

Bug: 27804373
Test: This library compiles with a slightly modified libbinder include
path.

Change-Id: Ib8e00b59604cdda69ec36cf1c90150b4b9033879
ndroid.mk
dce97407dcf54ae9725c2d29224f6ed8dfd994b8 14-Nov-2014 Marco Nelissen <marcone@google.com> Update calls to IInterface::asBinder()

to use the new static version.

Change-Id: I88ee037c66aa254f466d3a51ddc358bd37cf44b5
MountService.cpp
9ade8c1ad59a40f1a2fdbe88074d05aa97a95aff 08-Nov-2014 Andreas Gampe <agampe@google.com> Merge "Frameworks/base: Wall Werror in libs/storage"
2b3a8cd808a4013f43c881eca64a870ff0ea735b 22-Oct-2014 Andreas Gampe <agampe@google.com> Frameworks/base: Wall Werror in libs/storage

Turn on -Wall -Werror in libs/storage.

Change-Id: I314cb32d0a917f9261488f7709d9a78a07b10fea
ndroid.mk
MountService.cpp
MountServiceListener.cpp
MountShutdownObserver.cpp
ObbActionListener.cpp
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