| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
Updates to documentation around lineSeparator.
Change-Id: I0b646c06ac85303e572e38738889a8247eef37a0
|
|\ \
| |/
| |
| |
| |
| |
| | |
com.android.ibm.icu.*."
* commit '71a8b3bdbd3e1f6cdaedcea8b2db3e116c674793':
Rename package to android.icu.* instead of com.android.ibm.icu.*.
|
| |
| |
| |
| |
| |
| | |
Based on a discussion with the icu team.
Change-Id: I47a6b260a9348debd65282794996f7976b8bc008
|
|\ \
| |/
| |
| |
| |
| |
| | |
for ICU and libcore"
* commit '8426170b2440ce9d9857f8b63e5de5f77d7ee393':
Changes to enable timezone data overrides for ICU and libcore
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 19941636
Change-Id: Id587be99f645978c2e1067c9f8eef26d6d63ec27
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
gzip headers."
* commit '3a5bda4dd753ec70609116a5da4965c88126d275':
GZIPInputStream: Correctly handle extras in gzip headers.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We were peeking into the wrong field for the extra length.
bug: https://code.google.com/p/android/issues/detail?id=159340
Change-Id: Ib7ed400e3e119b1d6c95be49d25812c5c7f366b9
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
hidden API."
* commit '8eb6471d592d3583905d7693d4616cb8a4f41764':
Expose getSpi from crypto operations as hidden API.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes it possible for platform code to obtain the current SPI
implementation of Cipher, Signature, Mac, and KeyAgreement instances.
The current use case is to access additional information about these
crypto operations when they are backed by Android KeyStore.
NOTE: The getSpi API will not and cannot become public framework API.
Bug: 18088752
Change-Id: If575726d288eebc73ffa3209c316fad071a087fd
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'd42442e615b81e0ef28414d985174717047cca5e':
GZIPInputStream: Fix handling of header CRCs.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is the same mistake as public bug 159340, we were peeking
in the wrong buffer for the CRC.
Note that this is different from the member CRC, the latter is
the CRC of the actual data (not the header) and is mandatory.
Change-Id: I98d49bdd9d5ea93fe982783c8077531764ee5347
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '3919757028a08903e4c3101f5cacbfae40c201bd':
Don't use zip64 by default.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '138c61b25df1c361e8aa440c935e0d074e90f35e':
Be consistent with the library path.
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'ff1e2b45293d883fbff3d58f1d88746fbe126836':
Implement BreakIterator in terms of icu4j.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'c3755158d2923df75ebdc39c438945dd9727fce2':
Override ICU4Js search path for ICU4C data.
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: I4dc6c40be400e298921c57f5c6d6c413edd70f68
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '1b29afea69c76a7ed73c60d35d84b515097b25a0':
Add a test to confirm that TZ data is in sync
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'eb5974d12ae9caf234bf309d17d529ca758e70bc':
Remove a misleading comment.
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I7a5c8095e98f1449fb4efc98061c488fd0b573e2
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'd92eaa4a580d86051f8174b1992c40f55df6e56a':
Add libcore.net.NetworkSecurityPolicy.
|
| |\ \ \ \ |
|
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'fc23db65f41c887963ce754e3a2cd350d5dad8e8':
Fix for ftp:// invalid urls with ProxySelector
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'be69682385a01039eb0cb488f15dc7144f30755d':
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
absolute date string"
* commit '94cc3fafd50df1d5ab0fdb141db2e260efdc7831':
Fix the year display when formatting absolute date string
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit 'dc74620543a7983e8acff8527808a64437b93c57':
Pass getDexPath to Runtime.nativeLoad
|
| |\ \ \ \ \ |
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '287c7008ff7546bf4813339a06232d094c3d2b96':
Use compiler pragmas instead of flags.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This lets us turn off warnings for a small segment of the code
instead of the entire project.
bug: 19823499
Change-Id: I9309e9a33bddc33e8c100a49416e95b2a56e2385
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
deprecated IDNA2003 API."
* commit 'bbfa813f09176a08f977fbf04066bf5cb80c2dd8':
Set -Wno-deprecated-declarations to access deprecated IDNA2003 API.
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In libcore_icu_NativeIDN.cpp there are calls to the deprecated IDNA2003
API which means that this code as of ICU55 no longer will compile
without specifying the -Wno-deprecated-declarations compiler flag.
bug: 19823499
Change-Id: Id5cd5da0d6c3ce62a5c642c99364d29eaebe7709
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '4d68a1353a52eea88bf422017385187fbdd59652':
Fix an ntohs/htons issue.
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|