| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | | |
bug: https://code.google.com/p/android/issues/detail?id=81924
Change-Id: Id5e0ec6514f159d548617e5d9946088078b89afa
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
StringFactory."
* commit '39f72b16952fbe4aff5c2e080ce9f7f6dbb1b93d':
Removed offset and value from String and added StringFactory.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I55314ceb906d0bf7e78545dcd9bc3489a5baf03f
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| | |
* commit '824b1cd012662cfa16a8787bf908a0b5fb13e54b':
Ensure proper integer promotion for bit shifts.
|
| |/
| |
| |
| |
| |
| |
| | |
Previously this was a 32-bit value being shifted up to 63 bits, which
is undefined behavior.
Change-Id: I99bb38508937f7a33d5c2c841b7cc32d5f374ef9
|
|\ \
| |/
| |
| |
| | |
* commit '8c95e17836c652ea89d5bfa94feab4396c332f6e':
Tidy up Package and classloader comments
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After commit 31ae6d22605a0967d722f935bc3a8b868ada4917
Remove a TODO, improve a test and fix a comment.
Also fixes a bug in Package demonstrated by the improved test.
Bug: 20482259
Change-Id: I6b37413d7004ce85c99bb854e0ec41e5f8588250
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
InputStreamReader/OutputStreamWriter.init."
* commit '975ebbc76ae07da5db4865bf76be6a22221740b4':
Remove unnecessary code from InputStreamReader/OutputStreamWriter.init.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Explicitly check that the decoder/encoder isn't null instead.
bug: 20452644
Change-Id: Ia43be6b03842af4e5c8945c8854db618b6ec357a
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
FileChannel when closing the RAF"
* commit 'd3f115a1c42e73b4759cc049fa7114439b847162':
java/io/RandomAccessFile: do not nullify FileChannel when closing the RAF
|
| |\ \
| | | |
| | | |
| | | | |
RAF"
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
getChannel() should return always the same FileChannel, even if it's closed
Bug: 19892782
Change-Id: I5bd853b6b0931d9a6320a655c4ef982c9beaa6c0
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
RelativeDateTimeFormatter"
* commit 'bd7c7451634fa46aef554dd6e09421ce2d6033a6':
Ensure consistency of capitalization in RelativeDateTimeFormatter
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Contains refactoring. Benchmarks below to show no appreciable
negative performance impact to formatters. We do now cache a new
type of formatter.
Benchmarks measured in microseconds on mako.
Before:
DateIntervalFormat_formatDateRange_DATE 244
DateIntervalFormat_formatDateRange_DATE_TIME 256
DateIntervalFormat_formatDateRange_TIME 208
RelativeDateTimeFormatter_getRelativeDateTimeString 207.2
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 218.2
RelativeDateTimeFormatter_getRelativeTimeSpanString 70.5
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 67.4
After:
DateIntervalFormat_formatDateRange_DATE 237
DateIntervalFormat_formatDateRange_DATE_TIME 241
DateIntervalFormat_formatDateRange_TIME 200
RelativeDateTimeFormatter_getRelativeDateTimeString 149.4
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 161.8
RelativeDateTimeFormatter_getRelativeTimeSpanString 71.7
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 69.0
Bug: 20247811
Change-Id: I51075f89ca6b1d8862335e0e5a4d67a5624edfa6
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'ccb61deb8f478f91404b75cbe19cb7b9cbcb4f76':
Move java.nio.Charsets to libcore.util.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
This isn't public API, and isn't related to NIO. It's only ever
used by java.lang.String.
bug: 10898787
Change-Id: I4e194406746b88ba7268c2553e467e7e05400b40
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
caught exceptions."
* commit '9cd55497d16cc2d8888dd204b5b63ace0645fa06':
X509Certificate: Narrow down the scope of caught exceptions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also, fix the package name of the corresponding test so that
vogar isn't confused.
bug: 19245702
Change-Id: I647f0c9ca4c81bb41d4b64088b60f37ebc671e84
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
068-classloader\'s testClassForName"
* commit '4d81882996127ca855eacde8517a7c414746530e':
Fix Class.forName(..., ..., null) to pass 068-classloader's testClassForName
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This caused fallout elsewhere requiring
- Package fix to pass 005-annotations
- ObjectInputStream fix to pass 093-serialization
Change-Id: I6bc470e20fa177e8a3debe55c90a84eef7ef518e
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
TimeZone.getTimeZone()"
* commit '36fc8b3cf165c84666cf8cdab72789e3547117ca':
Return unlocalized TimeZoneID from TimeZone.getTimeZone()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ISO 8601 recommends the numbers in the time zone string should be non-localized
numbers. Though implemented version returns localized numbers depends on the
default locale.
This CL removes localization from formiting the time zone ID.
Change-Id: If828bcebb13b8509f5caf4dd201a4dbcd7defc38
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
property files."
* commit '69773bd217466a536c9317073a184d3907f58100':
Remove support for reading mime types from property files.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This support was untested and unused and of very limited utility,
given that this class is initialized in the zygote. It also discourages
arbitrary changes to the priority order of mappings.
Change-Id: I2a7f91d2956627cd59f948561c37678bc45d118d
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '92959e7581da88c897596e63098365db8663d3c6':
Implement mapLibraryName in Java.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
No need for native code here.
Change-Id: Iaeb0369b5638a6681fd94fd999641801719aaea2
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
RelativeDateTimeFormatter"
* commit 'b059489d9b120279eff706efda839ff719e722e0':
Use ICU4J more in DateIntervalFormat and RelativeDateTimeFormatter
|
| |\ \ \
| | | |/
| | |/| |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
General strategy: Switch to ICU classes for Calendar, and generally
use ICU classes earlier to avoid multiple creations.
This also incorporates some feedback from narayan@ from
https://android-review.googlesource.com/#/c/145662/
Some small optimizations applied but the goal was not to make it
much faster, just to confirm it wasn't much slower. It has sped up
some methods, and slowed down others, but not much difference in
absolute terms.
All times in microseconds measured on a mako.
Original:
RelativeDateTimeFormatter_getRelativeDateTimeString 582.4
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 603.2
RelativeDateTimeFormatter_getRelativeTimeSpanString 39.9
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 39.1
After:
RelativeDateTimeFormatter_getRelativeDateTimeString 207.2
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 218.2
RelativeDateTimeFormatter_getRelativeTimeSpanString 70.5
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 67.4
Original:
DateIntervalFormat_formatDateRange_DATE 290
DateIntervalFormat_formatDateRange_DATE_TIME 298
DateIntervalFormat_formatDateRange_TIME 276
After:
DateIntervalFormat_formatDateRange_DATE 244
DateIntervalFormat_formatDateRange_DATE_TIME 256
DateIntervalFormat_formatDateRange_TIME 208
Change-Id: If043bd55ffec37ed2735aa1593f327b38749218c
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '4b915681b32df299c93c2cd0a9911deba0ecdebd':
Make Manifest#clone obey clone's contract.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We must call through to Object.clone to ensure that we
always return an object of the right type. If not, subclasses
will have to override clone() instead of calling through to
super.clone().
bug: 19748843
Change-Id: Ie2177bbc05c62281f48780e521ad66de3612561e
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '85a9d24be7cc35e5a5015084c870d1046e6d3100':
Fix bad negation in Collections#binarySearch.
|
| |/
| |
| |
| |
| | |
bug: 19749094
Change-Id: Id1d7bcf4abebb423fd3bbb7c8f379bf9e6234969
|
|\ \
| |/
| |
| |
| |
| |
| | |
DateIntervalFormat/RelativeDateTimeFormatter to ICU4J"
* commit 'c5546c4c0812bba9d9a6b0611839465b9fd4eab6':
Switch DateIntervalFormat/RelativeDateTimeFormatter to ICU4J
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Information below from the existing benchmarks on a hammerhead. All
times given in microseconds. Note that the new version is slower,
but this is a small difference in absolute terms and means less
maintenance for libcore.
The ICU team is rewriting some of the underlying code in ICU4J
for a future ICU release which may alter performance.
ICU4C + JNI
DateIntervalFormat_formatDateRange_DATE 67.8
DateIntervalFormat_formatDateRange_DATE_TIME 76.0
DateIntervalFormat_formatDateRange_TIME 54.8
ICU4J
DateIntervalFormat_formatDateRange_DATE 179
DateIntervalFormat_formatDateRange_DATE_TIME 181
DateIntervalFormat_formatDateRange_TIME 167
ICU4C + JNI
RelativeDateTimeFormatter_getRelativeDateTimeString 151.6
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 169.0
RelativeDateTimeFormatter_getRelativeTimeSpanString 27.8
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 27.7
ICU4J
RelativeDateTimeFormatter_getRelativeDateTimeString 366.5
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 377.6
RelativeDateTimeFormatter_getRelativeTimeSpanString 23.2
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 22.9
Bug: 20127691
Change-Id: I1ebc08fd9c974743026ae1e6c848fb4de8aa0e48
|
|\ \
| |/
| |
| |
| | |
* commit '6ed782c48847bb817e123edc0c0eb081e905b8a8':
StrictJarFile: better handle missing files
|
| |
| |
| |
| |
| |
| |
| | |
Ensure all manifest files are present in the jar.
Bug: 1162500
Change-Id: I36b40a34d5837b8ad4a0d13e7ea2e37ad7e51f3b
|
|\ \
| |/
| |
| |
| |
| |
| | |
initialization"
* commit 'a7d04d7ecfa0e9036a2718432f58df77d7ae153a':
Refactor security classes for static initialization
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Split out security.properties I/O to a separate method returning
a Reader. This method can be intercepted at compile-time and
provide a StringReader with the content of the file. A reader is
necessary as Properties interally uses a reader and requires a
Charset to translate from an input-stream.
Refactor Services provider loading to first try the boot classpath
loader instead of the system class-loader. The former is accessible
during compile-time initialization and functionally equivalent.
Bug: 19498458
Bug: 19542228
Change-Id: I853952b83ca99006907c070734f767259c975517
|
|\ \
| |/
| |
| |
| |
| |
| | |
initialization"
* commit 'd65a3c71d7af3ae097f0722fba6be80f057b3d18':
Libcore: Refactor TimeZone for compile-time initialization
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce a private inner class for custom-time-zone parsing. This
moves the Pattern field which cannot be compile-time initialized.
As a result, TimeZone, SimpleTimeZone & ZoneInfo can be initialized
in the boot image.
Bug: 19542228
Change-Id: I6fc8cb65975e14351a6bfc1ddfac175368efd1eb
|
|\ \
| |/
| |
| |
| | |
* commit '2fe35a74d664529404991d6883b34e24d41cc417':
Libcore: Make Date compile-time initializable
|
| |
| |
| |
| |
| |
| |
| | |
Move CREATION_YEAR to a static inner class.
Bug: 19542228
Change-Id: I3db699f8ad661305f5255ee730faeb21c2861dde
|
|\ \
| |/
| |
| |
| | |
* commit 'b9a96e76f5ae9631faa16046494f1fc63e84df76':
Make ICU4J look for timezone updates in /data
|
| |
| |
| |
| |
| | |
Bug: 19941636
Change-Id: I4dbadfbfd4a8fbfeb3d580c073061710fd521fdd
|
|\ \
| |/
| |
| |
| | |
* commit '48cb3cb0072bff1defe6eb7a309971bddd36bbc8':
Small documentation changes to System
|