summaryrefslogtreecommitdiffstats
path: root/luni
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Merge "Also support IPv4 fallback in the SocketAddress version of sendto."Lorenzo Colitti2015-03-162-11/+34
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Also support IPv4 fallback in the SocketAddress version of sendto.Lorenzo Colitti2015-03-142-11/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I90bbc9661b0a48bb19c9c1c5aa4cd493f4dff2fa
* | | | | | | | | | am 1dacfbb4: am 7d6411b7: Merge "Support packet sockets in libcore."Lorenzo Colitti2015-03-164-2/+98
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1dacfbb464d8d21c312cca681a1a297e0f632f08': Support packet sockets in libcore.
| * | | | | | | | | Merge "Support packet sockets in libcore."Lorenzo Colitti2015-03-164-2/+98
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | Support packet sockets in libcore.Lorenzo Colitti2015-03-144-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19704592 Change-Id: Ic424e4c36f6de028df4a3095f57a08b68da78033
* | | | | | | | | | am 1ab902ac: am 9322c6d2: Merge "Add a PacketSocketAddress class that ↵Lorenzo Colitti2015-03-161-0/+64
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | represents sockaddr_ll." * commit '1ab902acc995d6ef7a297959d57b6d8715a0bd2a': Add a PacketSocketAddress class that represents sockaddr_ll.
| * | | | | | | | | Merge "Add a PacketSocketAddress class that represents sockaddr_ll."Lorenzo Colitti2015-03-161-0/+64
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | Add a PacketSocketAddress class that represents sockaddr_ll.Lorenzo Colitti2015-03-141-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19704592 Change-Id: Icc748e2764d0915cc7ca1924aaf51ca0c25b669d
* | | | | | | | | | am 51e455d0: am 8bce9ae7: Merge "Add a version of sendto that takes a ↵Lorenzo Colitti2015-03-165-0/+44
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SocketAddress." * commit '51e455d0366267008c3efe1ca9ca7563f5a2bcfc': Add a version of sendto that takes a SocketAddress.
| * | | | | | | | | Merge "Add a version of sendto that takes a SocketAddress."Lorenzo Colitti2015-03-165-0/+44
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | Add a version of sendto that takes a SocketAddress.Lorenzo Colitti2015-03-145-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the byte[] version for now. The ByteBuffer version will be added later. Bug: 19704592 Change-Id: I35c5f305b5828ff3315e42aae72aa4b01839e2fc
* | | | | | | | | | am 4beb74e0: am db419d06: Merge "Make it possible to use AF_INET sockets ↵Lorenzo Colitti2015-03-162-26/+144
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | created by libcore." * commit '4beb74e0ae832698c94fb298be6e122e70bebcaa': Make it possible to use AF_INET sockets created by libcore.
| * | | | | | | | | Merge "Make it possible to use AF_INET sockets created by libcore."Lorenzo Colitti2015-03-162-26/+144
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | / / / / / / / | | |/ / / / / / / | |/| | | | | | |
| | * | | | | | | Make it possible to use AF_INET sockets created by libcore.Lorenzo Colitti2015-03-142-26/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | am d3d0f084: am 4ea93798: Merge "Remove ExemptionMechanismTest.test_finalize"Yohann Roussel2015-03-131-41/+0
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd3d0f084fb24c3dff082eb487637953c84b86857': Remove ExemptionMechanismTest.test_finalize
| * | | | | | | | Merge "Remove ExemptionMechanismTest.test_finalize"Yohann Roussel2015-03-131-41/+0
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | |
| | * | | | | | | Remove ExemptionMechanismTest.test_finalizeYohann Roussel2015-03-131-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | am e83e65b4: am 0202f7b4: Merge "java.lang.reflect: Use only relevant ↵Sergio Giro2015-03-134-1/+93
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modifiers when converting to string" * commit 'e83e65b47b3688ab12e31aeecd5ad19432c9de51': java.lang.reflect: Use only relevant modifiers when converting to string
| * | | | | | | | Merge "java.lang.reflect: Use only relevant modifiers when converting to string"Sergio Giro2015-03-134-1/+93
| |\ \ \ \ \ \ \ \
| | * | | | | | | | java.lang.reflect: Use only relevant modifiers when converting to stringSergio Giro2015-03-114-1/+93
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | am e1e9f406: am 610d8c08: Merge "Reflect removal of DSS cipher suites in ↵Alex Klyubin2015-03-132-31/+29
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Javadocs." * commit 'e1e9f406d4091be66d38ff8d204f74b85c5d657c': Reflect removal of DSS cipher suites in Javadocs.
| * | | | | | | | Reflect removal of DSS cipher suites in Javadocs.Alex Klyubin2015-03-122-31/+29
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | am db957cb4: am a2e51f77: Merge "Replace work-around with proper ↵Narayan Kamath2015-03-131-2/+7
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | / / / / / | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | DecimalFormatSymbols helper function." * commit 'db957cb415c1ccaf35353f41172e6c6dfcf62403': Replace work-around with proper DecimalFormatSymbols helper function.
| * | | | | | Replace work-around with proper DecimalFormatSymbols helper function.Fredrik Roubert2015-03-111-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | am 24c68680: am 649f614e: am 2882e512: Merge "Add support for netlink ↵Erik Kline2015-03-109-8/+211
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sockets and addresses." * commit '24c68680f1c187fa9d2a9cc4c4ddb5ae09fa7dfb': Add support for netlink sockets and addresses.
| * | | | | | am 2882e512: Merge "Add support for netlink sockets and addresses."Erik Kline2015-03-109-8/+211
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2882e51204fdf7cc38c04adf1fc1b3b38c2a9f43': Add support for netlink sockets and addresses.
| | * \ \ \ \ \ Merge "Add support for netlink sockets and addresses."Erik Kline2015-03-109-8/+211
| | |\ \ \ \ \ \
| | | * | | | | | Add support for netlink sockets and addresses.Erik Kline2015-03-099-8/+211
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | am d34cf085: am 53813be9: am d61d442a: Merge "Pre-initialize more by moving ↵Andreas Gampe2015-03-102-13/+15
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bad fields" * commit 'd34cf085ddca2c02709f5c8fc9524385a7208a30': Pre-initialize more by moving bad fields
| * | | | | | | am d61d442a: Merge "Pre-initialize more by moving bad fields"Andreas Gampe2015-03-092-13/+15
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd61d442a5cd0f0f2e1adca26d73f1423319e2110': Pre-initialize more by moving bad fields
| | * | | | | | Merge "Pre-initialize more by moving bad fields"Andreas Gampe2015-03-092-13/+15
| | |\ \ \ \ \ \
| | | * | | | | | Pre-initialize more by moving bad fieldsKenny Root2015-03-042-13/+15
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | am f3fc9905: am f7e0ade3: am 98450f57: Merge "Explicitly specify the icu:: ↵Elliott Hughes2015-03-0816-228/+228
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | namespace." * commit 'f3fc9905adbadda673a90e4e8e06c75da64775a3': Explicitly specify the icu:: namespace.
| * | | | | | | am 98450f57: Merge "Explicitly specify the icu:: namespace."Elliott Hughes2015-03-0716-228/+228
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '98450f57ac9f3bcb1f5c801c2cb391fb7196a299': Explicitly specify the icu:: namespace.
| | * | | | | | Explicitly specify the icu:: namespace.Elliott Hughes2015-03-0616-228/+228
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15350832 Change-Id: I8d84f3e50b643806ccf01190797c69ce6445b539
* | | | | | | am dcab4fcb: am 7775ae57: am b0124dff: Merge "Remove OpenSSL ENGINE test"Kenny Root2015-02-271-131/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'dcab4fcbb503fa51e6b7b81d40ac4077cc4faaee': Remove OpenSSL ENGINE test
| * | | | | | am b0124dff: Merge "Remove OpenSSL ENGINE test"Kenny Root2015-02-271-131/+0
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'b0124dffd5cda9eb987ce291992b637e67469e09': Remove OpenSSL ENGINE test
| | * | | | | Merge "Remove OpenSSL ENGINE test"Kenny Root2015-02-271-131/+0
| | |\ \ \ \ \
| | | * | | | | Remove OpenSSL ENGINE testKenny Root2015-02-271-131/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests that exercise this code were removed. This code doesn't compile with BoringSSL, so just remove it. Change-Id: I9598ef5e5a2d7b7d115b63b5b670976d39ca1405
* | | | | | | | am 75462ae4: am 0cded4dc: am 2d9b3186: Merge "Fix CertificateFactoryTest API ↵Kenny Root2015-02-271-10/+28
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to BC" * commit '75462ae4573b4319f6da17270a0c33f5f53cbd45': Fix CertificateFactoryTest API to BC
| * | | | | | | am 2d9b3186: Merge "Fix CertificateFactoryTest API to BC"Kenny Root2015-02-271-10/+28
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '2d9b318685f4a253bb64268569a39fbb117399cd': Fix CertificateFactoryTest API to BC
| | * | | | | | Merge "Fix CertificateFactoryTest API to BC"Kenny Root2015-02-271-10/+28
| | |\ \ \ \ \ \
| | | * | | | | | Fix CertificateFactoryTest API to BCKenny Root2015-02-271-10/+28
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bouncycastle removed some older APIs, so we must switch our test to the new style. Bug: 19268019 Change-Id: Ibc5ca731237be39b5f8fab1ca00bc9ac1c8a8af9
* | | | | | | | am 825884af: am 8e2c78d4: am e0d58e42: Merge "Remove size check that was ↵Narayan Kamath2015-02-271-0/+5
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accidentally removed." * commit '825884affe954a19972f4aba0fa26f163e0ad588': Remove size check that was accidentally removed.
| * | | | | | | am e0d58e42: Merge "Remove size check that was accidentally removed."Narayan Kamath2015-02-271-0/+5
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e0d58e42984fe1646bec38f8ff5e50cbcfa10072': Remove size check that was accidentally removed.
| | * | | | | | Remove size check that was accidentally removed.Narayan Kamath2015-02-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can now accept sizes larger than 4GB, but negative sizes should still be rejected. Fixes harmony test ZipEntryTest#test_setSizeJ. Change-Id: Ie226daecb378ae5627b404dba926d53143ec7774
* | | | | | | | am 8ad80c3e: am ceb6c677: am 26ef26ec: Merge "Implement zip64 support for ↵Narayan Kamath2015-02-278-109/+870
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ZipFile/ZipInputStream/ZipOutputStream." * commit '8ad80c3e79de8890087d3f04f3d3f97f4b6d1e55': Implement zip64 support for ZipFile/ZipInputStream/ZipOutputStream.
| * | | | | | | am 26ef26ec: Merge "Implement zip64 support for ↵Narayan Kamath2015-02-278-109/+870
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ZipFile/ZipInputStream/ZipOutputStream." * commit '26ef26ec963acca178c7d3d9781d84b38036469e': Implement zip64 support for ZipFile/ZipInputStream/ZipOutputStream.
| | * | | | | | Implement zip64 support for ZipFile/ZipInputStream/ZipOutputStream.Narayan Kamath2015-02-278-109/+870
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_* in OsConstantsNick Kralevich2015-02-261-9/+9
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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