summaryrefslogtreecommitdiffstats
path: root/core/jni/android_content_res_ObbScanner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use jniThrowException for exception throwing from native code.Elliott Hughes2011-04-071-12/+3
| | | | | | | | I'll do media and the generated gl stuff separately. Otherwise, this cleans up all direct calls of ThrowNew/Throw except the one in the binder that needs to remain. Change-Id: I8f95a5f020f53b25926ad31ac0c9477ddf85d04b
* Remove unused JNI global references.Carl Shapiro2011-03-051-8/+7
| | | | Change-Id: Ie4886ab66538e293832c3bc3d6023e34304a2d21
* OBB: use PBKDF2 for key generation.Kenny Root2010-10-131-0/+11
| | | | | | | | | 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
* Update OBB API to include callbacksKenny Root2010-09-281-6/+17
| | | | | | | | | | | | 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
* Add OBB flags to support overlaysKenny Root2010-08-181-0/+3
| | | | | | | | | | | * Add flags field in OBB footer to support overlays. * Remove unused 'crypto' and 'filesystem' fields in obbtool (could later be supported in the "flags" field of the OBB footer). * Add notes to document OBB classes before shipping. Change-Id: I386b43c32c5edef55210acb5d3322639c08010ba
* Add API to call to vold for mounting OBBsKenny Root2010-07-151-0/+94
* 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