3153886475686963f81a0c40dc4e7f2a902af0c2 |
|
29-Apr-2015 |
Narayan Kamath <narayan@google.com> |
Use libziparchive shared library on host. Fixes host run-tests that were broken by de9a75e2ab579804ea44f9688 Change-Id: I0cbd40048f9a222996858f3574d6faa93121a61f
|
a9b386f30a903c42f460b71d97fc130178614052 |
|
28-Apr-2015 |
Narayan Kamath <narayan@google.com> |
Add a static dependency on libbase. Pulled in by the static libziparchive dependency. Note that we can't add these dependencies in the sub-makefile because libziparchive has different module names for target vs host (libziparchve vs libziparchive-host). Change-Id: Ie2e036f9e1bfd13d439501e2577651e42642c1bd
|
08d97aee56db51f718544562f5b74671be34dfaf |
|
15-Mar-2015 |
Christopher Ferris <cferris@google.com> |
Remove forced alignment code. The move from to gcc 4.8 to gcc 4.9 for arm32 introduced a bug in this code. The original code is trying to out smart the compiler by arch, but we got caught. Running benchmarks, the amount of time we save by doing this is in the nanosecond range, so just let the compiler figure things out on it's own. It turns out for aarch64, x86, x86_64, two of the functions produce exactly the same code. For swapLongs, x86/x86_64 produces slightly different code but is about the same performance. For arm32, letting the compiler optimize also leads to about the same performance. Adding unit tests and benchmark code for these. Bug: 19692084 Change-Id: I858eb3147ef1e9e2c1894ddb226cdddcc0baf933
|
a04b5c3d39232c7616591883ee2124520e3ab622 |
|
06-Mar-2015 |
Elliott Hughes <enh@google.com> |
Explicitly specify the icu:: namespace. Bug: 15350832 Change-Id: I8d84f3e50b643806ccf01190797c69ce6445b539
|
e13589c1511a3c3ad5f16f0f5a12b39f4f6e56ec |
|
13-Feb-2015 |
Kenny Root <kroot@google.com> |
Remove OpenSSL ENGINE test The tests that exercise this code were removed. This code doesn't compile with BoringSSL, so just remove it. Change-Id: I9598ef5e5a2d7b7d115b63b5b670976d39ca1405
|
4bf04854fc7e16bad65fd9436bb4513bf16a0c47 |
|
17-Dec-2014 |
Elliott Hughes <enh@google.com> |
Don't try to build the libcore native code on the Mac. Change-Id: I79c5389af44ff2aea784d4f57c82d6aebf560132
|
fc0498f0dd9af3c86b67d0536fceaf9ed04781fb |
|
16-Dec-2014 |
Elliott Hughes <enh@google.com> |
Remove unnecessary include directives. These are all picked up by virtue of the libraries that we use. Change-Id: Ib5e86c65d53f3448d5f1d0c0d24f0f63ef5f1868
|
f277bbcc1368de99dbee1817c08f1b2be8e17113 |
|
05-Nov-2014 |
Dan Albert <danalbert@google.com> |
Fix the Mac build by moving libcore to libc++. Since libcore is now using std::unique_ptr, we need to have a sane, modern STL on all platforms. Since the Mac build is stuck on libstdc++ 4.2, use libc++. Change-Id: Id4cd32fa181ae53123f808a9366211748c44276f
|
b3aacde3d8af759ee4a7b395c636ea360547d92d |
|
05-Nov-2014 |
Ian Rogers <irogers@google.com> |
Move from UniquePtr to std::unique_ptr. Switch from stlport to libcxx as stlport lacks std::unique_ptr. Change-Id: I45a3588a8ecf4689521f1df6654ed279a6d0669e
|
64c039e810824a6b9e058b3a910ef3238d5128d7 |
|
17-Jun-2014 |
Ian Rogers <irogers@google.com> |
Enable host multilib for ART testing. Change-Id: I7827331202482e28e824fc6583f590ddadaa2087
|
efae3837b3eb79dea3400735fdcdd5a39020e0b0 |
|
11-Jun-2014 |
Ian Rogers <irogers@google.com> |
Fix Mac build. Change-Id: I32fdb9dabbc87d49e0be82ea39c2eea6f452fd6f
|
37dd0ac5767197bf7e3e90f1a5d4e54c8f1fe93d |
|
10-Jun-2014 |
Ian Rogers <irogers@google.com> |
Build fix. Change-Id: I52559cfcc806dfe0d8682be50a6078cb678e4169
|
3deabd220cf7b1ca0824987e90b8ecc07087f05a |
|
24-May-2014 |
Ian Rogers <irogers@google.com> |
Remove deprecated WITH_HOST_DALVIK. Bug: 13751317 Fix the Mac host build: - conditionally define constants using pre-existing pattern, - make Posix calls that the Mac doesn't support throw UnsupportedOperationException. Change-Id: Ib68887cbe36ab167d042eb96c7834bce0651b078
|
6c738216f9ecbcd90b23279d7abea7d3182fe6b3 |
|
23-May-2014 |
Ian Rogers <irogers@google.com> |
Build libcore native code on the host with clang. Bug: 13751317 Change-Id: I9932b60b892d878bdac9ab30a37621f26910f358
|
3e58734d651080009c9190c7062837fca5c7cf4e |
|
13-May-2014 |
Paul Jensen <pauljensen@google.com> |
Add support for network-specific host name resolution. For now all such support is hidden. Change-Id: I932f73158a8f6e3ccc36c319d138180dff2aa070
|
1bc030b6c8a52e1911efcd58d6fbc7f982649167 |
|
04-Apr-2014 |
Elliott Hughes <enh@google.com> |
Finish moving away from LD_LIBRARY_PATH on Android. We'll still use LD_LIBRARY_PATH if it's set, for testing or for the host, but we now ask the dynamic linker what to do. Bug: 12585421 Change-Id: I1457a63ead89fa8f8aeabc002c0b9038295b886e
|
b168c05d025c2e130e781990ab296f3ae87bd0c1 |
|
11-Dec-2013 |
Narayan Kamath <narayan@google.com> |
Add libutils dependency for libziparchive. Change-Id: Ie5f4e20eb19a17d37abf8720e4bfeade6c248967
|
0c1869ed7f46baf764f9daf4e64c77cd7fbd3516 |
|
29-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Add a JNI wrapper over libziparchive. All functions delegate directly to the native code. We do not perform any sort of central directory or local file related lookups in the java layer. For each entry, libziparchive gives us an offset to the start of data for the entry and the compressed size. We use a RandomAccessFile to seek to that offset and then construct an InputStream that's bounded between [offset, offset + compressed_size). We reuse existing code (JarVerifier / Manifest) for certificate validation & collection. bug: 10193060 Change-Id: I21eb4e6dc6aa8749e3f63830f9799e1f621d26e6
|
a515759d83bac3e3b6bfdea20eb9576621e6596a |
|
30-Jun-2011 |
Ian Rogers <irogers@google.com> |
A simple set of JNI argument passing tests. Change-Id: Ibf2051fae4b5026a4a14fcdc27be71415520d117 (cherry picked from commit cd8016c67b7f215bf374467257ede53197c44423)Conflicts:
|
58162773b0664d5c5acbc658df4fa1d99f14b691 |
|
16-Sep-2013 |
Kenny Root <kroot@google.com> |
Split Conscrypt makefile out from libcore Change-Id: I6c12a0e038a86b186b5d88b9f0ff28b8480b4aed
|
4758d4db1af67cf036ac204b5bc9eb6f0ffe9b4f |
|
12-Sep-2013 |
Kenny Root <kroot@google.com> |
Conscrypt: remove dependence on stlport This helps with unbundling of Conscrypt by not forcing the app to include a static version of stlport in their program. Change-Id: I5bd17213059b8ae4d8d86921d82b43465253a62f
|
36f1c15a1cb2e66b8852ea51f7a82c4ccc9ac886 |
|
10-Sep-2013 |
Brian Carlstrom <bdc@google.com> |
Fixed interruption of blocked SSLSocket via Socket.close() Bug: 10599593 (cherry picked from commit 3f17b9a79c4331504f32d34ce46adf7a78870f87) Change-Id: I1bffa8189d64aa8ee0aa1ac414359aecb71934a5
|
3f17b9a79c4331504f32d34ce46adf7a78870f87 |
|
10-Sep-2013 |
Brian Carlstrom <bdc@google.com> |
Fixed interruption of blocked SSLSocket via Socket.close() Bug: 10599593 Change-Id: Iade24eed691756281dfd925abe57740a1ad4145b
|
61a124188040f84b5c237c338ec0ce7d3da75ed0 |
|
29-Aug-2013 |
Kenny Root <kroot@google.com> |
Move conscrypt out libjavacore and split tests To make the situation with testing a little better and enable building core libraries totally independent of conscrypt, move the native registration to a JNI_OnLoad scheme. Also, since we want to separate the testing, make conscrypt build its own tests library. (cherry picked from commit ba07db54a902e6741cd085901264e4e45c9c844e) Bug: 10092469 Change-Id: Ie0e9b73d05236a9bd02fbb66cb1a5da4ec34df45
|
ba07db54a902e6741cd085901264e4e45c9c844e |
|
29-Aug-2013 |
Kenny Root <kroot@google.com> |
Move conscrypt out libjavacore and split tests To make the situation with testing a little better and enable building core libraries totally independent of conscrypt, move the native registration to a JNI_OnLoad scheme. Also, since we want to separate the testing, make conscrypt build its own tests library. Change-Id: I9f2831839059c1c012ec7bdeab2f90b4e2f44bfd
|
def777001f8082332264fe8c8bee4f8580968172 |
|
13-Aug-2013 |
Elliott Hughes <enh@google.com> |
Move libcore to C++11. (cherry picked from commit 771ff9990e146b858ebb6ded9fd8b7a6493d3ddb) Change-Id: I41ae0cb12ca4ab911a637f5e883c47c1d78829ff
|
771ff9990e146b858ebb6ded9fd8b7a6493d3ddb |
|
13-Aug-2013 |
Elliott Hughes <enh@google.com> |
Move libcore to C++11. Change-Id: I1942be8f7cef51265d53272f36a217e88bfede94
|
25fb6e59cb26300701c3e945c1e042af68e47e3b |
|
31-Jul-2013 |
Elliott Hughes <enh@google.com> |
Bring NativeCode.mk in line with the internal copy. Change-Id: I4b42be83871a852d087ff9da6eeca8c5a08b1f19
|
79ffafe17f06420d62904ce84e12424d28354219 |
|
31-Jul-2013 |
Elliott Hughes <enh@google.com> |
Fix libcore's NativeCode.mk so we actually compile with -Werror. Change-Id: Ib665ea7c6f54e43851bc04f0265e65218407c70f
|
22ccdd01e2fabc37d858be32291a854ff72f1840 |
|
31-Aug-2011 |
Elliott Hughes <enh@google.com> |
Move System.currentTimeMillis, nanoTime, and mapLibraryName into the library. (cherry-picked from commit 37d6cc06f62b2029663137a1b8c18242152c1e97) Change-Id: I3b3aa3f508b9c6f43b27022cd8bc9aa82e630e01
|
992bc97a7c13d2b7d99b6811bc796fd93412fe0c |
|
11-May-2013 |
Brian Carlstrom <bdc@google.com> |
Tracking libnativehelper dependencies Change-Id: Icf5c2a3989f4bf8adf084bcb03001b53189c0309
|
7296812aedb06b6faadbb6123a3f626de88c25ba |
|
03-May-2013 |
Kenny Root <kroot@google.com> |
Add -host suffix for master changes (cherry picked from commit 518022767ec57e73205e5365de23a15076419364) Change-Id: I7a16bfd5213837a65062b7b7d78f610679cbf441
|
518022767ec57e73205e5365de23a15076419364 |
|
03-May-2013 |
Kenny Root <kroot@google.com> |
Add -host suffix for master changes Change-Id: Ib02762546c76ff751989cd4fc8af5427c644574c
|
20ec13bd54d56d6832ef2a02a02e65a5f0a304db |
|
01-May-2013 |
Kenny Root <kroot@google.com> |
NativeCrypto: build native library standalone Change-Id: I678f5c1b985d72ab1d41ae22dfcae35814c44e85
|
3042efc693a56888cdd0194ba1fd2504ef1ab67d |
|
02-May-2013 |
Brian Carlstrom <bdc@google.com> |
Tracking changes to *-host for host shared libraries Change-Id: I88dd48b09b9148246884a1c84b26787500c24569
|
38375a4d0b3d34e2babbd2f6a013976c7c439696 |
|
24-Apr-2013 |
Kenny Root <kroot@google.com> |
Move JSSE to new package To help with shipping the JSSE with apps that want to bundle it, move it to a new package so that the tangles in other parts of the library can be untangled. Change-Id: I810b6861388635301e28aee5b9b47b8e6b35b430
|
5f1f97c39628995ed1d1913c192d91e17ea26ef1 |
|
01-Feb-2013 |
Kenny Root <kroot@google.com> |
Change native test module name Change-Id: Ie4f9c5a2fb440d8455748bc30949b8b956d75625
|
6914efca8fe737a753d234d7e91222da6a8cdabe |
|
28-Jan-2013 |
Kenny Root <kroot@google.com> |
NativeCrypto: add test base for OpenSSL ENGINEs This sets up some of the testing infrastructure to allow us to test all the ENGINE-related test paths in the NativeCrypto code. Change-Id: I21f3dbebbaa90327d48a99020ae3a3e90624cc75
|
73d3e262ecf514ef17f47da335fdad899aecc3dc |
|
29-Aug-2012 |
Elliott Hughes <enh@google.com> |
Add dependencies on the makefiles. I've been enjoying this in bionic for a while now, and was annoyed not to have make do the right thing in libcore. Change-Id: Idcd2db48349202259887499a1f47d85c5d205d54
|
9634b569a92841f32268907c88c408f22cb00486 |
|
18-May-2012 |
Elliott Hughes <enh@google.com> |
Stop using -fvisibility=hidden. It breaks backtraces, and backtraces are useful. (The debugger uses the ELF debug info, so it doesn't care, but backtracing just uses the symbols.) (cherry-pick of da2fb9754a9ccfa954c1b554982f06e7cf7d680a.) Bug: 6447213 Change-Id: I957df0e935b61bcf5fefc0e506ecdaa862bc7d07
|
da2fb9754a9ccfa954c1b554982f06e7cf7d680a |
|
18-May-2012 |
Elliott Hughes <enh@google.com> |
Stop using -fvisibility=hidden. It breaks backtraces, and backtraces are useful. (The debugger uses the ELF debug info, so it doesn't care, but backtracing just uses the symbols.) Bug: 6447213 Change-Id: I2893191d7cec57a04bf7b3f4eea54e699df10507
|
7cd6760f7045d771faae8080a8c6150bf678f679 |
|
04-May-2012 |
Elliott Hughes <enh@google.com> |
Make libjavacore independent of libnativehelper for the PDK. Bug: 6369821 Change-Id: Ie038571a5dac1f301c0c3c6fb84df432e67b62c0
|
eb36a982128aa7e27adcc0d54af8790c44f5c039 |
|
23-Apr-2012 |
Pavel Chupin <pavel.v.chupin@intel.com> |
4.6: Disable unused-but-set-variable warning build Author: Pavel Chupin <pavel.v.chupin@intel.com> Reviewed-by: Lu, Hongjiu <hongjiu.lu@intel.com> Reviewed-by: Beare, Bruce J <bruce.j.beare@intel.com>
|
2e7fae93da826b9aeb3b207dee0858ab85c87957 |
|
19-Apr-2012 |
Jean-Baptiste Queru <jbq@google.com> |
Simplify and speed up makefile. No need to shell out just to find 2 makefiles that very rarely change. As an added bonus, this fixes a bug that appears when the cd command actually prints some output, which it does when certain environment variables are set. Change-Id: Iab7a738c2ca62f3c591c3bf1f47b70407b90e99a
|
1f504c8a04a1ca4131bcfa57c5080b3702224a25 |
|
20-Jan-2012 |
Andy McFadden <fadden@android.com> |
Restrict -fvisibility-inlines-hidden to C++ code gcc objects to using -fvisibility-inlines-hidden with C code: cc1: error: command line option "-fvisibility-inlines-hidden" is valid for C++/ObjC++ but not for C Move it from CFLAGS to CPPFLAGS. Change-Id: I151530748b0d083d8edb50df94db23d101ad01c6
|
af2d65ee5bb6c510f5aa87b75419dfcc476d4083 |
|
08-Nov-2011 |
Ying Wang <wangying@google.com> |
Remove static libraries from static library module. Bug: 5573756 Static library does not link against libraries. The listed host libraries actually don't exist. We need this change to fix bug 5573756. Change-Id: I2e6f53c87b9506e8caaa701ef5b62ae578d8ef5b
|
cdb59081e1ae202bf86dd72cd5612d91289241e9 |
|
12-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: Id881173e71e4f3a76abd46e209bb63e0248ec1e0
|
347b2a604114602da9bc4ae040278f74d11c2f51 |
|
26-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Avoid loading all CA certs into Zygote memory, lazily load instead (2 of 3) Previously the CA certs stored in the BKS KeyStore at /system/etc/security/cacerts.bks was loaded in the Zygote. As the the number of CAs are started to increase, this is causing more and more memory to be used for rarely used CAs. The new AndroidCAStore KeyStore implementation reads the CAs as needed out of individual PEM certificate files. The files can be efficiently found because they are named based on a hash CA's subject name, similar to OpenSSL. Bug: 1109242 Details: build Removing old cacerts.bks from GRANDFATHERED_ALL_PREBUILT and adding new cacerts directory to core PRODUCT_PACKAGES core/legacy_prebuilts.mk target/product/core.mk libcore cacerts build changes. Move cacerts prebuilt logic to new CaCerts.mk from NativeCode.mk where it didn't make sense. Updated Android.mk's dalvik-host target to install new cacerts files. Android.mk CaCerts.mk NativeCode.mk Remove old cacerts.bks and add remove certimport.sh script used to generate it. Preserved the useful comments from certimport.sh in the new README.cacerts luni/src/main/files/cacerts.bks luni/src/main/files/certimport.sh luni/src/main/files/README.cacerts Recanonicalize cacerts files using updated vendor/google/tools/cacerts/certimport.py (See below discussion of certimport.py changes for details) luni/src/main/files/cacerts/00673b5b.0 luni/src/main/files/cacerts/03e16f6c.0 luni/src/main/files/cacerts/08aef7bb.0 luni/src/main/files/cacerts/0d188d89.0 luni/src/main/files/cacerts/10531352.0 luni/src/main/files/cacerts/111e6273.0 luni/src/main/files/cacerts/1155c94b.0 luni/src/main/files/cacerts/119afc2e.0 luni/src/main/files/cacerts/11a09b38.0 luni/src/main/files/cacerts/12d55845.0 luni/src/main/files/cacerts/17b51fe6.0 luni/src/main/files/cacerts/1920cacb.0 luni/src/main/files/cacerts/1dac3003.0 luni/src/main/files/cacerts/1dbdda5b.0 luni/src/main/files/cacerts/1dcd6f4c.0 luni/src/main/files/cacerts/1df5ec47.0 luni/src/main/files/cacerts/1e8e7201.0 luni/src/main/files/cacerts/1eb37bdf.0 luni/src/main/files/cacerts/219d9499.0 luni/src/main/files/cacerts/23f4c490.0 luni/src/main/files/cacerts/27af790d.0 luni/src/main/files/cacerts/2afc57aa.0 luni/src/main/files/cacerts/2e8714cb.0 luni/src/main/files/cacerts/2fa87019.0 luni/src/main/files/cacerts/2fb1850a.0 luni/src/main/files/cacerts/33815e15.0 luni/src/main/files/cacerts/343eb6cb.0 luni/src/main/files/cacerts/399e7759.0 luni/src/main/files/cacerts/3a3b02ce.0 luni/src/main/files/cacerts/3ad48a91.0 luni/src/main/files/cacerts/3c58f906.0 luni/src/main/files/cacerts/3c860d51.0 luni/src/main/files/cacerts/3d441de8.0 luni/src/main/files/cacerts/3e7271e8.0 luni/src/main/files/cacerts/418595b9.0 luni/src/main/files/cacerts/455f1b52.0 luni/src/main/files/cacerts/46b2fd3b.0 luni/src/main/files/cacerts/48478734.0 luni/src/main/files/cacerts/4d654d1d.0 luni/src/main/files/cacerts/4e18c148.0 luni/src/main/files/cacerts/4fbd6bfa.0 luni/src/main/files/cacerts/5021a0a2.0 luni/src/main/files/cacerts/5046c355.0 luni/src/main/files/cacerts/524d9b43.0 luni/src/main/files/cacerts/56b8a0b6.0 luni/src/main/files/cacerts/57692373.0 luni/src/main/files/cacerts/58a44af1.0 luni/src/main/files/cacerts/594f1775.0 luni/src/main/files/cacerts/5a3f0ff8.0 luni/src/main/files/cacerts/5a5372fc.0 luni/src/main/files/cacerts/5cf9d536.0 luni/src/main/files/cacerts/5e4e69e7.0 luni/src/main/files/cacerts/60afe812.0 luni/src/main/files/cacerts/635ccfd5.0 luni/src/main/files/cacerts/67495436.0 luni/src/main/files/cacerts/69105f4f.0 luni/src/main/files/cacerts/6adf0799.0 luni/src/main/files/cacerts/6e8bf996.0 luni/src/main/files/cacerts/6fcc125d.0 luni/src/main/files/cacerts/72f369af.0 luni/src/main/files/cacerts/72fa7371.0 luni/src/main/files/cacerts/74c26bd0.0 luni/src/main/files/cacerts/75680d2e.0 luni/src/main/files/cacerts/7651b327.0 luni/src/main/files/cacerts/76579174.0 luni/src/main/files/cacerts/7999be0d.0 luni/src/main/files/cacerts/7a481e66.0 luni/src/main/files/cacerts/7a819ef2.0 luni/src/main/files/cacerts/7d3cd826.0 luni/src/main/files/cacerts/7d453d8f.0 luni/src/main/files/cacerts/81b9768f.0 luni/src/main/files/cacerts/8470719d.0 luni/src/main/files/cacerts/84cba82f.0 luni/src/main/files/cacerts/85cde254.0 luni/src/main/files/cacerts/86212b19.0 luni/src/main/files/cacerts/87753b0d.0 luni/src/main/files/cacerts/882de061.0 luni/src/main/files/cacerts/895cad1a.0 luni/src/main/files/cacerts/89c02a45.0 luni/src/main/files/cacerts/8f7b96c4.0 luni/src/main/files/cacerts/9339512a.0 luni/src/main/files/cacerts/9685a493.0 luni/src/main/files/cacerts/9772ca32.0 luni/src/main/files/cacerts/9d6523ce.0 luni/src/main/files/cacerts/9dbefe7b.0 luni/src/main/files/cacerts/9f533518.0 luni/src/main/files/cacerts/a0bc6fbb.0 luni/src/main/files/cacerts/a15b3b6b.0 luni/src/main/files/cacerts/a3896b44.0 luni/src/main/files/cacerts/a7605362.0 luni/src/main/files/cacerts/a7d2cf64.0 luni/src/main/files/cacerts/ab5346f4.0 luni/src/main/files/cacerts/add67345.0 luni/src/main/files/cacerts/b0f3e76e.0 luni/src/main/files/cacerts/bc3f2570.0 luni/src/main/files/cacerts/bcdd5959.0 luni/src/main/files/cacerts/bda4cc84.0 luni/src/main/files/cacerts/bdacca6f.0 luni/src/main/files/cacerts/bf64f35b.0 luni/src/main/files/cacerts/c0cafbd2.0 luni/src/main/files/cacerts/c215bc69.0 luni/src/main/files/cacerts/c33a80d4.0 luni/src/main/files/cacerts/c527e4ab.0 luni/src/main/files/cacerts/c7e2a638.0 luni/src/main/files/cacerts/c8763593.0 luni/src/main/files/cacerts/ccc52f49.0 luni/src/main/files/cacerts/cdaebb72.0 luni/src/main/files/cacerts/cf701eeb.0 luni/src/main/files/cacerts/d16a5865.0 luni/src/main/files/cacerts/d537fba6.0 luni/src/main/files/cacerts/d64f06f3.0 luni/src/main/files/cacerts/d777342d.0 luni/src/main/files/cacerts/d8274e24.0 luni/src/main/files/cacerts/dbc54cab.0 luni/src/main/files/cacerts/ddc328ff.0 luni/src/main/files/cacerts/e48193cf.0 luni/src/main/files/cacerts/e60bf0c0.0 luni/src/main/files/cacerts/e775ed2d.0 luni/src/main/files/cacerts/e7b8d656.0 luni/src/main/files/cacerts/e8651083.0 luni/src/main/files/cacerts/ea169617.0 luni/src/main/files/cacerts/eb375c3e.0 luni/src/main/files/cacerts/ed049835.0 luni/src/main/files/cacerts/ed524cf5.0 luni/src/main/files/cacerts/ee7cd6fb.0 luni/src/main/files/cacerts/f4996e82.0 luni/src/main/files/cacerts/f58a60fe.0 luni/src/main/files/cacerts/f61bff45.0 luni/src/main/files/cacerts/f80cc7f6.0 luni/src/main/files/cacerts/fac084d7.0 luni/src/main/files/cacerts/facacbc6.0 luni/src/main/files/cacerts/fde84897.0 luni/src/main/files/cacerts/ff783690.0 Change IntegralToString.intToHexString to take width argument to allow for leading zero padding. Updated existing callers to specify 0 padding desired. Add testing of new padding functionality. luni/src/main/java/java/lang/Character.java luni/src/main/java/java/lang/Integer.java luni/src/main/java/java/lang/IntegralToString.java luni/src/test/java/libcore/java/lang/IntegralToStringTest.java Improved to throw Exceptions with proper causes luni/src/main/java/java/security/KeyStore.java luni/src/main/java/java/security/Policy.java luni/src/main/java/java/security/cert/CertificateFactory.java luni/src/main/java/javax/crypto/Cipher.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSignature.java Indentation fixes luni/src/main/java/java/security/SecureRandom.java Fix X509CRLSelector.getIssuerNames to clone result and added test to cover this. luni/src/main/java/java/security/cert/X509CRLSelector.java luni/src/test/java/libcore/java/security/cert/X509CRLSelectorTest.java Fixed bug where we created an X500Principal via a String representation instead of from its original encoded bytes. This led to a difficult to track down bug where CA 418595b9.0 where the NativeCode.X509_NAME_hash of a Harmony (but not BouncyCastle) X509Certificate would not hash to the expected value because the encoded form used an ASN.1 PrintableString instead of the UTF8String form found in the original certificate. luni/src/main/java/org/apache/harmony/security/x501/Name.java Add a new RootKeyStoreSpi and register it as the AndroidCAStore. This new read-only KeyStore implementation that looks for certificates in $ANDROID_ROOT/etc/security/cacerts/ directory, which is /system/etc/security/cacerts/ on devices. The files are stored in the directory based on the older md5 based OpenSSL X509_NAME_hash function (now referred to as X509_NAME_hash_old in OpenSSL 1.0) luni/src/main/java/org/apache/harmony/xnet/provider/jsse/RootKeyStoreSpi.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/JSSEProvider.java Added OpenSSL compatible X509_NAME_hash and X509_NAME_hash_old functions for producting an int hash value from an X500Principal. luni/src/main/java/org/apache/harmony/xnet/provider/jsse/NativeCrypto.java Changed TrustManagerFactoryImpl to use AndroidCAStore for its default KeyStore luni/src/main/java/org/apache/harmony/xnet/provider/jsse/TrustManagerFactoryImpl.java Changed TrustManagerImpl to be AndroidCAStore aware. If it detects an AndroidCAStore, it avoids generating the acceptedIssuers array at constructions, since doing so would force us to parse all certificates in the store and the value is only typically used by SSLServerSockets when requesting a client certifcate. Because we don't load all the trusted CAs into the IndexedPKIXParameters at startup in the case of AndroidCAStore, we now check for new CAs when examining the cert chain for unnecessary TrustAnchors and for a newly discovered issuer at the end of the chain before validation. luni/src/main/java/org/apache/harmony/xnet/provider/jsse/TrustManagerImpl.java Updated KeyStoreTest to cope with read only KeyStore. Update test_cacerts_bks (now renamed test_cacerts) to use the AndroidCAStore for validating system CA certificate validity. Register AndroidCAStore as an expected KeyStore type with StandardNames. luni/src/test/java/libcore/java/security/KeyStoreTest.java support/src/test/java/libcore/java/security/StandardNames.java Added test of X500Principal serialization while investigating Name encoding issue. However, the actual Name bug was found and verified by the new test_cacerts test. luni/src/test/java/libcore/javax/security/auth/x500/X500PrincipalTest.java vendor/google Change canonical format for checked in cacerts to have PEM certificate at the top, as required by Harmony's X.509 CertificateFactory. tools/cacerts/certimport.py Change-Id: If0c9de430f13babb07f96a1177897c536f3db08d
|
2f03ccad590827233fcba84a8b6eafcd414e5fe7 |
|
08-Mar-2011 |
Elliott Hughes <enh@google.com> |
Use -fvisibility and clean up a little. The visibility change isn't obviously useful, but it's a good excuse to clean up some of our networking code a little. Change-Id: I165b32b9c76a3707c512e07de07992f63673ab4f
|
c3d30bfb532fc1e609a67a324d6bfb9776f88778 |
|
08-Jan-2011 |
Elliott Hughes <enh@google.com> |
Tell editors that these are Makefiles (or fragments thereof). Change-Id: I0c5e29ac750b9605b1e8f823d6998d31a933b7a4
|
bb2532130c1c52755916d8608b7057496c6b395a |
|
23-Nov-2010 |
Marco Nelissen <marcone@google.com> |
Fix the libcore part of the simulator build. Change-Id: Id7af848e09c27006a566e6600793f45364e943d3
|
18fb450a3043d52ff6c134ff901987f4d3a9af96 |
|
19-Nov-2010 |
Kristian Monsen <kristianm@google.com> |
Fix for simulator build, no stlport in simulator Change-Id: I2c2e8f443ddad6b65a29b2fd6ba1ff1d6e76fafc
|
3900e2685046fa78f9f9e5a07a7db5c4eecfbd1d |
|
10-Nov-2010 |
Brian Carlstrom <bdc@google.com> |
Move from MAX/MIN to std::max/std::min Change-Id: I2296a39ab1fb9c02575702476170a2f68d7de02f
|
95101d3d5a3417755c88fded1600e039fb363019 |
|
05-Nov-2010 |
Elliott Hughes <enh@google.com> |
Rewrite File.getCanonicalPath. My original plan was to just rely on the fixed realpath(3), but it turns out that Java's behavior is quite different from the C library's in cases where path elements don't exist. I also wasn't particularly excited about introducing a fixed-length buffer. To that end, I've added a native implementation of getCanonicalPath. I've also improved the getAbsolutePath and getCanonicalPath documentation. This patch also makes File.absolutePath transient, a regression in gingerbread which uselessly bloated File's serialized form. Bug: 2281992 Change-Id: Iff94eee07fe574251c1188b2b2eb71f585c81c6a
|
53fbc0a776feebcc04f6c24b34f2c7ba39e6b5a1 |
|
17-Sep-2010 |
Jesse Wilson <jessewilson@google.com> |
Add optional tags to libcore. Change-Id: Iac339144ed448848c96852da8d301d528ebfa0e6
|
f7aa935cdd303cbef0a6ad12b95b6399daa7b241 |
|
14-Sep-2010 |
Jesse Wilson <jessewilson@google.com> |
Make the bouncy castle keystore available for the host build. Change-Id: I1d126f594808d748af0662032f9dff5ee69377e6
|
24144d482dcd5deac58a5dca7042379c05b56b5e |
|
13-Aug-2010 |
Elliott Hughes <enh@google.com> |
Clean up our final native code warnings, and turn on -Werror. Change-Id: I54bb29e357812b089e83f3a2a831c80f5114a27a
|
44e0e560c92338110953ce806df475fedcdf926e |
|
07-May-2010 |
Brian Carlstrom <bdc@google.com> |
Enable -Wall -Wextra for libcore and cleanup all but one warning Change-Id: Ied76662c470ba878cec61189acf29f5cbbd4ccd4
|
a70e264763b073e1f30867f96fce936d25cf1de0 |
|
30-Apr-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Adapt to new location of libcore Change-Id: Icb940f5f6d5985b913567519d1870ab1de573322
|
a33a62a5f09495a27c1b902224a69a36bff37c0b |
|
30-Apr-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Adapt to new location of libcore Change-Id: I74a3bf67ecab010607f7ce1c71659c4370a9d291
|
cccb788850af15915d6d478421535163fdbd2b73 |
|
30-Apr-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Adapt to new location of libcore Change-Id: Ia2481cb4f3462ab72a1ac6cb891ddab593b93a9d
|
995da7ac0125caa4ad615d26cc05f7ab21de8264 |
|
30-Apr-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Adapt to new location of libcore Change-Id: Icfecb1c02b22ced425f030a4b1b86664e2d83fa3
|
6e1c2a95596e3ea72b48c7b54395131acbeab1da |
|
30-Apr-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Adapt to new location of libcore Change-Id: I0dcadda241e7fd2a7429f9dd43d1ff5e945e5467
|
cec4dd4b1d33f78997603d0f89c0d0e56e64dbcd |
|
26-Apr-2010 |
Peter Hallam <peterhal@google.com> |
merge more modules into luni
|
64f2ba48fb9306ab1d97f5f83053ee7f48223de8 |
|
03-Feb-2010 |
Elliott Hughes <enh@google.com> |
Silence "note: the mangling of 'va_list' has changed in GCC 4.4". Not strictly necessary for turning on -Werror for libcore, but worth doing anyway.
|
845ce3cbfd6972542b275c95eddfbb6e94469737 |
|
14-Nov-2009 |
Elliott Hughes <enh@google.com> |
Don't allocate arbitrary-length buffers on the stack. A new LocalArray C++ class lets us specify a "reasonable" amount of stack to use, but transparently fall back to using the heap if we need more space. The three places I've chosen to use LocalArray in this patch are fairly random; all they have in common is that they're the places where we call GetStringUTFRegion. There are more places LocalArray will be useful: the java.io.File JNI in particular. Bug: 2257819
|
6ac43c29e4f1918d40441178c22bfca7409101be |
|
25-Oct-2009 |
Dan Bornstein <danfuzz@android.com> |
Split libcore/Android.mk into two files, one for Java code and one for native code, and make each have a set of rules for building on the host. I also tightened up how sub.mk processing works and documented it a little better. Change-Id: I8a7a4c5697b2f22c4d69941dba381d6452200911
|