Fix backwards internal javadoc

Change-Id: Ia0c5ea1e2400e5767b4fbb3ec428c7b5106ab7b6
Remove the unimplemented java.text.spi and java.util.spi packages.

These were never implemented, and can't be implemented given our icu4c-based
i18n implementation.

Change-Id: Ie1f264186b4d8a86e64906715d09a681b3c12445
Improve the Random.next documentation.

Change-Id: Iee5a82d48f107d85101bf8c40f173d6d29915b8e
Revert "Test fallback SHA1PRNG uses full width seeds"

This reverts commit f2b1ad0b53150c3e0cdfbe182c50e358c1412292.

Change-Id: I15534447c6a12ad6f5a4697f32e7dc1202a6a83a
Revert "Revert "Test fallback SHA1PRNG uses full width seeds""

This reverts commit ce119ac31415b0b70aa8ef3f53a9fbc06207a7f2.

Change-Id: I8e5d220b12bc1fef0ee1a4a5539e35986aece1dc
Fix all backwards (-1 == x) tests.

Change-Id: Idbee45f00da4e107fcdcf0b4c66f3a485c9e1972
Fix Fix all backwards (-1 == x) tests.

Change-Id: I37ea9729cca6324af44a7dd7358fe030c1fe2b21
create a separate lib for jsr166.
Bug: 10390711

Change-Id: Id58ce698594f878e9b78e6207ccb913eac8fa67f
create a separate lib for jsr166.
Bug: 10390711

(cherry picked from commit d47cd7206917560c7f522ede128490819a96b143)

Change-Id: I2646530dad175e2efe81b3f926a4d78a901f76ee
Remove bogus @test comments that confuse vogar.

They should be @tests, but they're useless anyway. (If there weren't
so many, I'd remove all the @tests comments too.)

Change-Id: I6d34a77c48d7d0bac075758453fd0d29f6f9901c
Reduce the upper bound on TimeZoneNames memory usage.

The cache had mistakenly been sized based on the number of time zones,
despite the fact that the keys are locales. We now have a lot of locales,
but the cache was still large enough to hold all of them, which wasn't
really the intent. I pulled the number 5 out of my ass.

I've also removed the "one big intern table" and now just do per-locale
deduplication. That avoids another potentially very large leak in an
ill-behaved program.

Also handle OOME in the native code better.

Change-Id: I9a07ad210469f064acde80f7d10ffb4b3a8f6443
Add harmony java.text tests.

Change-Id: Id8d0acd77d08ff337b4851ae74a48cc002d66cd9
Add missing closing paren to DSAParams doc

Change-Id: I8a40a03fee4c0f048f70af2286ae3a78da9e6ad4
Fix harmony java.text test failures.

There were plenty of bad tests here, but there were some real bugs too.

* DecimalFormat was only handling RoundingMode.UNNECESSARY for double
formatting.

* DecimalFormat was not ensuring that it's superclass' fields were
being correctly updated.

* NumberFormat was throwing NPE for a null object because of an
improved detail message, despite being specified to throw IAE.

* We weren't mapping NumberFormat.Field instances to the corresponding icu4c
UNUM_x_FIELD constant, so we weren't actually setting FieldPosition
objects correctly.

* SimpleDateFormat was not formatting milliseconds correctly with 'S'.

* NativeDecimalFormat wasn't handling JNI NewString OOME correctly.

Bug: 2528220
Bug: 3056865
Bug: 3057080
Bug: 3057090
Change-Id: Iac11f902f2e9649e596e7e7b7bc501b13e956fca
Fix a DecimalFormat crash when formatting the empty string.

We don't even need a general-purpose iterator, and it's never exposed
to user code, so we can simplify things quite a bit. The key change
though is that a null array is not an error condition --- it just
means we didn't actually output anything.

Bug: https://code.google.com/p/android/issues/detail?id=59600
Change-Id: I7ec0bab00e15ab5c3a4dbd15e2dc81494f68e82f
Increase wait time for test_SSLSocket_interrupt_case

Bug: 10599593

(cherry picked from commit a96049c03db95fd46583ac917f221791cf7d08dc)

Change-Id: Ifd5cfe1134a246671da0d1729b635b1f091ea3c6
Use getLocale more consistently.

Change-Id: I64d9e651aba3b2872a23e4d4b1b7c32c34f86d90
Only use public API for icu4c's FieldPositionIterator.

Change-Id: I247f7c644537b8e9f67f4f27360ce1449fa04300
More java.text test cleanup/fixes.

I investigated http://bugs.icu-project.org/trac/ticket/10353 further
and decided it's WAI, so we can remove a TODO implying that icu4c was
incorrect. Also merge the remaining OldDecimalFormatTest tests, removing
duplication.

Change-Id: I1941dd1bef3b5eae258960ca8a5fcd2e7de0c926
Remove StaticAssert.h.

The switch to C++11 means we have static_assert now.

Change-Id: Iaa39af8c4fa7143fc83fda550543eb3270f9f161