summaryrefslogtreecommitdiffstats
path: root/luni/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Don't use zip64 by default.Narayan Kamath2015-04-031-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was breaking tools like dexmaker that would write zipfiles to disk so that the runtime could read them. We don't want to go back and amend the local file header, so we just throw an IOException if somebody writes more than 4GB of data to an entry that doesn't have a declared size. If the entry has a declared size > 4GB, we can write the zip64 header in advance. bug: 19574093 Change-Id: I771e821996efd3ef4c3de5e02f5a0062e62f9244
* | | | am 138c61b2: am ff8391a7: Merge "Be consistent with the library path."Nicolas Geoffray2015-04-031-1/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '138c61b25df1c361e8aa440c935e0d074e90f35e': Be consistent with the library path.
| * | | Merge "Be consistent with the library path."Nicolas Geoffray2015-04-031-1/+5
| |\ \ \
| | * | | Be consistent with the library path.Nicolas Geoffray2015-04-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the boot class loader (loader == null) loadLibrary tries to find the the full path of the library using java.library.path. When actually loading the library, we need to use the same java.library.path property in case the library has dependencies. Change-Id: I2404d72f5c65c6a5ecfedc1efe879cfc9cef55ad
* | | | | am ff1e2b45: am 6696f19d: Merge "Implement BreakIterator in terms of icu4j."Narayan Kamath2015-04-023-225/+37
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'ff1e2b45293d883fbff3d58f1d88746fbe126836': Implement BreakIterator in terms of icu4j.
| * | | | Implement BreakIterator in terms of icu4j.Narayan Kamath2015-04-023-225/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that we need manual range checks in our wrapper because the ICU4J implementation will clamp offsets to either end of the input text. benchmark results : text benchmark us linear runtime LIPSUM BreakIterator 326.02 ===== LIPSUM IcuBreakIterator 333.47 ====== LONGPARA BreakIterator 227.67 ==== LONGPARA IcuBreakIterator 228.68 ==== GERMAN BreakIterator 79.09 = GERMAN IcuBreakIterator 81.30 = THAI BreakIterator 1654.11 ============================== THAI IcuBreakIterator 1646.75 ============================= THAI2 BreakIterator 44.28 = THAI2 IcuBreakIterator 42.67 = TABS BreakIterator 12.79 = TABS IcuBreakIterator 12.53 = ACCENT BreakIterator 16.26 = ACCENT IcuBreakIterator 15.37 = EMOJI BreakIterator 17.71 = EMOJI IcuBreakIterator 18.34 = SPACES BreakIterator 16.86 = SPACES IcuBreakIterator 15.78 = EMPTY BreakIterator 9.22 = EMPTY IcuBreakIterator 9.96 = NEWLINE BreakIterator 11.08 = NEWLINE IcuBreakIterator 9.96 = BIDI BreakIterator 19.54 = BIDI IcuBreakIterator 18.96 = Change-Id: I72023dd605da8e33974aa3181506f0d9c7bc180e
* | | | | am c3755158: am 383f9036: Merge "Override ICU4Js search path for ICU4C data."Narayan Kamath2015-04-021-0/+6
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'c3755158d2923df75ebdc39c438945dd9727fce2': Override ICU4Js search path for ICU4C data.
| * | | | Override ICU4Js search path for ICU4C data.Narayan Kamath2015-04-011-0/+6
| |/ / / | | | | | | | | | | | | Change-Id: I4dc6c40be400e298921c57f5c6d6c413edd70f68
* | | | am 1b29afea: am fc62e635: Merge "Add a test to confirm that TZ data is in sync"Neil Fuller2015-03-301-0/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '1b29afea69c76a7ed73c60d35d84b515097b25a0': Add a test to confirm that TZ data is in sync
| * | | Merge "Add a test to confirm that TZ data is in sync"Neil Fuller2015-03-301-0/+3
| |\ \ \
| | * | | Add a test to confirm that TZ data is in syncNeil Fuller2015-03-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android has two sources of timezone data: one used by bionic / libcore code, and one used by ICU. When ICU4J is added more tests can be added to confirm that ICU4C and ICU4J agree on time zone and other sources of data like CLDR and the ICU version itself. Bug: 19941636 Change-Id: I614392a876e19a55e362489f142eec71beaf5547
* | | | | am eb5974d1: am 2900d6b6: Merge "Remove a misleading comment."Neil Fuller2015-03-261-3/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'eb5974d12ae9caf234bf309d17d529ca758e70bc': Remove a misleading comment.
| * | | | Merge "Remove a misleading comment."Neil Fuller2015-03-261-3/+0
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Remove a misleading comment.Neil Fuller2015-03-131-3/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I7a5c8095e98f1449fb4efc98061c488fd0b573e2
* | | | | am d92eaa4a: am 1e342670: Merge "Add libcore.net.NetworkSecurityPolicy."Alex Klyubin2015-03-253-2/+79
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'd92eaa4a580d86051f8174b1992c40f55df6e56a': Add libcore.net.NetworkSecurityPolicy.
| * | | | Merge "Add libcore.net.NetworkSecurityPolicy."Alex Klyubin2015-03-253-2/+79
| |\ \ \ \
| | * | | | Add libcore.net.NetworkSecurityPolicy.Alex Klyubin2015-03-243-2/+79
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This hidden libcore API is to be used by bundled network stacks to determine whether cleartext network traffic is permitted. These stacks cannot directly use the public Android framework API android.security.NetworkSecurityPolicy because the framework package typically compile-time depends on the packages offering these bundled network stacks. As an example, this CL makes java.util.logging.SocketHandler and platform-provided URLConnection instances for the FTP protocol honor this new flag. To avoid duplication, the intention is that framework's android.security.NetworkSecurityPolicy implementaion will switch to this new libcore API to store/retrive the state of framework's NetworkSecurityPolicy class. Bug: 19215516 Change-Id: I78e348458975d69c52918582a43db25df87e2a15
* | | | | am fc23db65: am 74b6f466: Merge "Fix for ftp:// invalid urls with ProxySelector"Neil Fuller2015-03-251-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'fc23db65f41c887963ce754e3a2cd350d5dad8e8': Fix for ftp:// invalid urls with ProxySelector
| * | | | Merge "Fix for ftp:// invalid urls with ProxySelector"Neil Fuller2015-03-251-1/+1
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Fix for ftp:// invalid urls with ProxySelectorNeil Fuller2015-03-251-1/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are currently no tests for FtpURLConnection. Future commits are planned that add tests that are based on the MockFTPServer open-source project. Thanks to pk.samson@ for the report. Bug: https://code.google.com/p/android/issues/detail?id=160725 Change-Id: I54fc2d5825f4e1b9681d537dd2c92b90659be5b5
* | | | am 94cc3faf: am 61ac7408: Merge "Fix the year display when formatting ↵Tao Bao2015-03-241-5/+24
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | absolute date string" * commit '94cc3fafd50df1d5ab0fdb141db2e260efdc7831': Fix the year display when formatting absolute date string
| * | | Merge "Fix the year display when formatting absolute date string"Tao Bao2015-03-231-5/+24
| |\ \ \
| | * | | Fix the year display when formatting absolute date stringTao Bao2015-03-231-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In getRelativeDateTimeString(), when formatting the absolute date string with formatDateRange(), we need to explicitly specify the option to show / hide the year display based on the given arguments. Otherwise it would determine based on the current time and may gave wrong results. In getRelativeTimeSpanString(), it follows the same logic when user doesn't supply any option. Bug: 19822016 Change-Id: I0d4f01b7d15e0b8ea44f21b77309b1fc370b365b
* | | | | am dc746205: am 7cc1a6c4: Merge "Pass getDexPath to Runtime.nativeLoad"Dmitriy Ivanov2015-03-241-9/+10
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'dc74620543a7983e8acff8527808a64437b93c57': Pass getDexPath to Runtime.nativeLoad
| * | | | Pass getDexPath to Runtime.nativeLoadDmitriy Ivanov2015-03-201-9/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getDexPath is used by Runtime.nativeLoad to open libraries directly from apk. Given that libraries are not compressed and are page-aligned. Bug: 8076853 Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
* | | | am 8acc8d5e: am 79c17dc2: Merge "Libcore: Avoid double-checked locking"Andreas Gampe2015-03-163-70/+68
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '8acc8d5ee4100828e579e2c3a18761ff0ed2b40a': Libcore: Avoid double-checked locking
| * | | Merge "Libcore: Avoid double-checked locking"Andreas Gampe2015-03-163-70/+68
| |\ \ \
| | * | | Libcore: Avoid double-checked lockingAndreas Gampe2015-03-153-70/+68
| | |/ / | | | | | | | | | | | | Change-Id: I77605ad05ac5e9dfac07f40a2280221f9c641c65
* | | | am b612f95a: am 464b9044: Merge "Late binding: specified Provider forces its ↵Kenny Root2015-03-164-4/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | use" * commit 'b612f95a9f5db47863286570163e0c90afddcd3d': Late binding: specified Provider forces its use
| * | | Merge "Late binding: specified Provider forces its use"Kenny Root2015-03-164-4/+4
| |\ \ \
| | * | | Late binding: specified Provider forces its useKenny Root2015-03-164-4/+4
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a Provider is specified in a call to Signature#getInstance, Cipher#getInstance, KeyAgreement#getInstance, or Mac#getInstance, it should return that provider no matter if the properties on that provider say it should support it. Bug: 19730263 Change-Id: I56045e4cb470a0e1aa0e108a443e04043467c475
* | | | am 0664c4e9: am 869c6f25: Merge "Libcore: Fix superfluous ternary in ↵Andreas Gampe2015-03-161-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | BufferedInputStream" * commit '0664c4e9cdbaccb2e34e03bd6dcab36702f5fa6c': Libcore: Fix superfluous ternary in BufferedInputStream
| * | | Merge "Libcore: Fix superfluous ternary in BufferedInputStream"Andreas Gampe2015-03-161-1/+1
| |\ \ \
| | * | | Libcore: Fix superfluous ternary in BufferedInputStreamAndreas Gampe2015-03-151-1/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | At the position, result is already checked to be positive. Change-Id: I3847022820294f76b944ce49d9ef8e8629ddb350
* | | | Merge "Use uppercase for hex encoded strings."Narayan Kamath2015-03-161-1/+1
|\ \ \ \
| * | | | Use uppercase for hex encoded strings.Narayan Kamath2015-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For backwards compatibility with the apache code this is replacing. Several callers compare encoded strings for byte equality. bug: 19731588 Change-Id: I2e96abcabd69ba6d48d341eafe1f8075fff880ee
* | | | | am 5bf1fb2a: am 87409364: Merge "Libcore: Fix infinite loop"Andreas Gampe2015-03-161-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * commit '5bf1fb2add7eae7ee03ca3747a615967d3f152c0': Libcore: Fix infinite loop
| * | | | Merge "Libcore: Fix infinite loop"Andreas Gampe2015-03-161-1/+1
| |\ \ \ \
| | * | | | Libcore: Fix infinite loopAndreas Gampe2015-03-151-1/+1
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Correctly dispatch to wrapped object. Change-Id: Ia2789f92ddeb61f6b74789220f9a50dfdcf4fd3b
* | | | | am 6ff8e03e: am ba6caa1c: Merge "Expose the SocketAddress variant to bundled ↵Lorenzo Colitti2015-03-161-0/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | apps." * commit '6ff8e03ef67c204565ceb3679029a0b88bdfaa62': Expose the SocketAddress variant to bundled apps.
| * | | | Expose the SocketAddress variant to bundled apps.Lorenzo Colitti2015-03-161-0/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I6b7985f23c1063c0cf68a12bf510da032bbd3e94
* | | | | am 1dacfbb4: am 7d6411b7: Merge "Support packet sockets in libcore."Lorenzo Colitti2015-03-161-0/+6
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '1dacfbb464d8d21c312cca681a1a297e0f632f08': Support packet sockets in libcore.
| * | | | Merge "Support packet sockets in libcore."Lorenzo Colitti2015-03-161-0/+6
| |\ \ \ \
| | * | | | Support packet sockets in libcore.Lorenzo Colitti2015-03-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-163-0/+6
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-163-0/+6
| |\ \ \ \ \ | | |/ / / / | | | / / / | | |/ / / | |/| | |
| | * | | Add a version of sendto that takes a SocketAddress.Lorenzo Colitti2015-03-143-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the byte[] version for now. The ByteBuffer version will be added later. Bug: 19704592 Change-Id: I35c5f305b5828ff3315e42aae72aa4b01839e2fc