1ebd74acf9977daa42133507e970dab88e08f0ef |
|
04-Aug-2011 |
Kenny Root <kroot@google.com> |
Better error codes for missing files Make sure that files that don't exist aren't returning bogus 'out of space' error codes. Add some Javadoc so I can remember what each thing does in an IDE. Add copyright header to NativeLibraryHelper Bug: 3375299 Change-Id: Iac46019160921daca65b21d38897e5165063316e
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|
66269ea6f68f2f25888ce1080c94ac782742fafc |
|
12-Jul-2011 |
Kenny Root <kroot@google.com> |
Move extract native libraries to JNI code The built-in ZipFile class was quite a long time to find an unpack libraries. Move everything to using the libutils ZipFileRO class that goes quite a bit faster. Initial measurements are 6 times faster than the Java code. Also, read files off the disk and compare their CRC against the APK's CRC to see if we need to write the new file to disk. This also cuts down the bootup time by up to a second per APK that has native files. Change-Id: Ic464a7969a17368fb6a6b81d026888c4136c7603
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
|
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|
fd9ddd1a40efc801dc7512950cb9336967b6f775 |
|
04-Nov-2010 |
Brian Carlstrom <bdc@google.com> |
Integrate StrictMode with CloseGuard In additional to adding the StringMode API for controling CloseGuard, this checkin fixes several CloseGuard issues found booting a device. Bug: 3041575 Change-Id: I4dffd184f49438d6d477ed81a1c2a2a5b56cc76b
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|
831baa2e2566bf1d243c06918672abd5ff786105 |
|
05-Oct-2010 |
Kenny Root <kroot@google.com> |
Remove lingering system app native libs in /data If a system app had a lingering native library in /data/data/<app>/lib, it would prefer that over the one in /system/lib due to recent changed in the Dalvik JNI class loading code. To "fix" that we need to check if there are any native libraries in a /data/data/<app>/lib directory for any non-updated system apps and delete them during scanning. Change-Id: If3a22e41a8531e9e5a44ba001dcea46253d47d45
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|
e6da118ebfa2574da7a635158178b768f3a226e1 |
|
30-Sep-2010 |
Kenny Root <kroot@google.com> |
Fix location of gdbserver upon installation Change-Id: Ie97f10456e5639e008abf4792a01b966b97721e7
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|
8f7cc02c7c4bd542376648dbd54be3ceb8521f73 |
|
12-Sep-2010 |
Kenny Root <kroot@google.com> |
Move native library removal function to helper Moves the remoteNativeLibrariesLI call to NativeLibraryHelper to prepare for being able to symlink the /data/data/<package>/lib dir to the ASEC container. Change-Id: Ie3648509c6b6293a8d9bdd815610ab408df5047f
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|
85387d7ba36e56b291cbde87acb5a5b2200fe01c |
|
26-Aug-2010 |
Kenny Root <kroot@google.com> |
Allow native shared libraries in ASEC containers This change moves the native library handling earlier in the package installation process so that it may be inserted into ASEC containers before they are finalized in the DefaultContainerService. Note that native libraries on SD card requires that vold mount ASEC containers without the "noexec" flag on the mount point. Change-Id: Ib34b1886bf6f94b99bb7b3781db6e9b5a58807ba
/frameworks/base/core/java/com/android/internal/content/NativeLibraryHelper.java
|