| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: I90bbc9661b0a48bb19c9c1c5aa4cd493f4dff2fa
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '1dacfbb464d8d21c312cca681a1a297e0f632f08':
Support packet sockets in libcore.
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / / |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Bug: 19704592
Change-Id: Ic424e4c36f6de028df4a3095f57a08b68da78033
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
represents sockaddr_ll."
* commit '1ab902acc995d6ef7a297959d57b6d8715a0bd2a':
Add a PacketSocketAddress class that represents sockaddr_ll.
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / / |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Bug: 19704592
Change-Id: Icc748e2764d0915cc7ca1924aaf51ca0c25b669d
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
SocketAddress."
* commit '51e455d0366267008c3efe1ca9ca7563f5a2bcfc':
Add a version of sendto that takes a SocketAddress.
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / / |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Only the byte[] version for now. The ByteBuffer version will be
added later.
Bug: 19704592
Change-Id: I35c5f305b5828ff3315e42aae72aa4b01839e2fc
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
created by libcore."
* commit '4beb74e0ae832698c94fb298be6e122e70bebcaa':
Make it possible to use AF_INET sockets created by libcore.
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| | | / / / / / / /
| | |/ / / / / / /
| |/| | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Currently, it's possible to create AF_INET sockets using:
Libcore.os.socket(AF_INET, ...
but such sockets can't be used for anything, because os.bind()
and os.connect() automatically convert IPv4 addresses to
IPv4-mapped addresses (e.g., 192.0.2.1 to ::ffff:192.0.2.1),
and passing a sockaddr_in6 to a system call on an AF_INET socket
causes the kernel to return EAFNOSUPPORT.
When this happens, retry using an unmapped IPv4 address. We
could also call getsockopt(SOL_SOCKET, SO_DOMAIN) before every
system call and pass in the appropriate socket address
structure, but that would cause these socket functions to make
two system calls instead of one and would probably halve the
performance of sendto(). This way, there's only one system call
for most sockets (including all AF_INET6 sockets created in
Java), and two system calls only in the rare case of a socket
that's explicitly created as AF_INET.
Bug: 18558481
Bug: 19704592
Change-Id: I71b3728b6a72b742e156d4c60db65e88b9a9e51e
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'd3d0f084fb24c3dff082eb487637953c84b86857':
Remove ExemptionMechanismTest.test_finalize
|
| |\ \ \ \ \ \ \ \
| | |_|_|/ / / / /
| |/| | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The test was making assumption on compiler + runtime and it seems there's
nothing left to test about finalizer in ExemptionMechanism anyway.
Bug: 18911912
Change-Id: I79efffa065ea6e8380741aac5cd4764e05acc7f7
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
modifiers when converting to string"
* commit 'e83e65b47b3688ab12e31aeecd5ad19432c9de51':
java.lang.reflect: Use only relevant modifiers when converting to string
|
| |\ \ \ \ \ \ \ \ |
|
| | |/ / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Some modifiers not relevant might be used to encode internal information
(eg bridge methods) that shouldn't be displayed when converting to string
bug: 18488857
Change-Id: Ie82ed513b58083a795549a708197f1db52ffb796
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Javadocs."
* commit 'e1e9f406d4091be66d38ff8d204f74b85c5d657c':
Reflect removal of DSS cipher suites in Javadocs.
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Now that Android 5.1 (API Level 22) is out, Javadocs can mention that
DSS TLS/SSL cipher suites were removed after API Level 22. See
fef7818155899c092e6741de049fb7601dfcaf73.
Bug: 17409664
Change-Id: Ibd9da7d3056358492f25695f4949e460f1c98d48
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
| | | / / / / /
| |_|/ / / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
DecimalFormatSymbols helper function."
* commit 'db957cb415c1ccaf35353f41172e6c6dfcf62403':
Replace work-around with proper DecimalFormatSymbols helper function.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The helper function createWithLastResortData() was introduced in ICU 4.8
and eliminates the need to call the private default constructor:
http://bugs.icu-project.org/trac/ticket/7392
Change-Id: I6d615b23c28c449442aeab6d37b7d92e844a7ae8
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
sockets and addresses."
* commit '24c68680f1c187fa9d2a9cc4c4ddb5ae09fa7dfb':
Add support for netlink sockets and addresses.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '2882e51204fdf7cc38c04adf1fc1b3b38c2a9f43':
Add support for netlink sockets and addresses.
|
| | |\ \ \ \ \ \ |
|
| | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Additionally:
- support bind and connect calls with SocketAddresses
- getsockname and getpeername can return a NetlinkSocketAddress
Developed in conjunction with:
https://android-review.googlesource.com/135490
Bug: 18581716
Change-Id: I760a06cdb9bdb26c734fb02cf668a94de982e2b6
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
bad fields"
* commit 'd34cf085ddca2c02709f5c8fc9524385a7208a30':
Pre-initialize more by moving bad fields
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit 'd61d442a5cd0f0f2e1adca26d73f1423319e2110':
Pre-initialize more by moving bad fields
|
| | |\ \ \ \ \ \ |
|
| | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Some of the fields were causing the classes to not be initialized, so
move them to NoImagePreloadHolder. This will allow more of the boot
class path to be initialized at compile-time, while the holders can
still be initialized in the zygote.
This was separated out from https://android-review.googlesource.com/136700
and updated for zygote initialization.
Bug: 19498458
Bug: 19542228
Change-Id: If35af41c10e68c71f71b44ce0cc09c56dac310c6
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
namespace."
* commit 'f3fc9905adbadda673a90e4e8e06c75da64775a3':
Explicitly specify the icu:: namespace.
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '98450f57ac9f3bcb1f5c801c2cb391fb7196a299':
Explicitly specify the icu:: namespace.
|
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Bug: 15350832
Change-Id: I8d84f3e50b643806ccf01190797c69ce6445b539
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'dcab4fcbb503fa51e6b7b81d40ac4077cc4faaee':
Remove OpenSSL ENGINE test
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'b0124dffd5cda9eb987ce291992b637e67469e09':
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
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
to BC"
* commit '75462ae4573b4319f6da17270a0c33f5f53cbd45':
Fix CertificateFactoryTest API to BC
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '2d9b318685f4a253bb64268569a39fbb117399cd':
Fix CertificateFactoryTest API to BC
|
| | |\ \ \ \ \ \ |
|
| | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Bouncycastle removed some older APIs, so we must switch our test to the
new style.
Bug: 19268019
Change-Id: Ibc5ca731237be39b5f8fab1ca00bc9ac1c8a8af9
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
accidentally removed."
* commit '825884affe954a19972f4aba0fa26f163e0ad588':
Remove size check that was accidentally removed.
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit 'e0d58e42984fe1646bec38f8ff5e50cbcfa10072':
Remove size check that was accidentally removed.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We can now accept sizes larger than 4GB, but negative
sizes should still be rejected.
Fixes harmony test ZipEntryTest#test_setSizeJ.
Change-Id: Ie226daecb378ae5627b404dba926d53143ec7774
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
ZipFile/ZipInputStream/ZipOutputStream."
* commit '8ad80c3e79de8890087d3f04f3d3f97f4b6d1e55':
Implement zip64 support for ZipFile/ZipInputStream/ZipOutputStream.
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
ZipFile/ZipInputStream/ZipOutputStream."
* commit '26ef26ec963acca178c7d3d9781d84b38036469e':
Implement zip64 support for ZipFile/ZipInputStream/ZipOutputStream.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
There are several open questions that I hope to resolve in future
changes :
- Our heuristics for detecting whether a zip outputstream should
switch over to zip64 or not are imprecise.
- Also, given that we now officially support zip64, we have to assume
new entries whose size is unknown need the zip64 header / footer.
This will make output files slightly larger and less compatible with
older tools. If we don't do this, we'll have to go back and rewrite &
compact parts of the stream we'd already flushed, which isn't always
possible. The other option is to assume zip32 for streams of unknown
length and throw if more than 4G of data is written to them.
Change-Id: Ibb4a97b5f83fd3ab850d7c407ecfda663968a6b9
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Expose ST_* constants via OsConstants. Without these constants being
exposed, it's impossible to meaningfully use StructStatVfs.f_flag
returned from the Os.statvfs() call.
Change-Id: Iae4af8da93e50b3db965a1c8a2af8a32fea37419
|