add timezone setting

- seems to be caused by https://android-git.corp.google.com/g/#/c/207204/

Bug: 6809531
Change-Id: Ibdce09a77ab532a316727cea4275403b459e0b0b
Remove flakiness from OldSocketChannelTest#test_socketChannel_read_DirectByteBuffer.

Bug: 6744638
Change-Id: Ic0cf7d51d9aa709e19d611b1cee27771487ed55e
Remove flakiness from libcore.javax.net.ssl.SSLSessionTest#test_SSLSession_getCreationTime.

Bug: 6313283
Change-Id: I32399ce1e3d540d1248b90ad6eaaf0b196d0e7a5
OldDateFormatTest is flaky; improve its output.

Hopefully this will let us debug the flakiness.

Bug: 6838286

(cherry-pick of 47cc9f97b6c91463b58e80996d36337caae91693)

Change-Id: I5862da2cebec6ad09a466b74ee1cc37bd1c5ec97
Address flakiness of doFinal and unwrap CipherTests

The tests occasionally did not throw BadPaddingException when
expected. This seems to be because in those cases the random generated
keys were creating cipher text that appeared to be correctly PKCS#5
padded. In reproducing this in the doFinal case, this happened within
a few hundred runs.

Bug: 6301793
Change-Id: Ibd2d9bdd2fe88bccb20089ef653763849f45ff4c
TLS + SNI + proxy => bug : the SNI at the TLS layer is the hostname of the proxy instead of the hostname in the URL

Bug: http://code.google.com/p/android/issues/detail?id=35050
Bug: 6851038

(cherry-pick from b7705a4629bb74a5bb19d97bf0b4dd4c74cecd9e)

Change-Id: I93d718aa81832bae98209620e98f534ff525c555
Signature.verify should not throw if called twice

Bug: http://code.google.com/p/android/issues/detail?id=34933
Bug: 6870225

(cherry-picked from 52ec5bcc7d5d042d7ba6d0244d98ee72007a95e4)

Change-Id: I29ee6feb4df9505b1691418a9213fe69f840e1ea
Fix URLConnectionTest#test_getAllowUserInteraction.

Also improve the documentation, make it possible to run these tests
individually outside of CTS with vogar, and remove a few more URLs of
external web servers.

We should clean up all tests to remove all reliance on external web servers.

Bug: http://code.google.com/p/android/issues/detail?id=35400

(cherry-picked from 3827b65b1937acfbf3abbc449f8ba0ffc60f3cf3.)

Conflicts:

	luni/src/test/java/org/apache/harmony/luni/tests/java/net/URLConnectionTest.java

Change-Id: I4959fefa130290236533be72cce7c57b9ea1e296
Address more CipherTest flakiness due to random IV values

In a recent change, we stopped generating random keys to prevent
flakiness in the BadPaddingException test cases. This change removes
the use of random initialization vector (IV) values. There still are
uses of SecureRandom where the API being tested requires it, but I
visually checked that none of the BadPaddingException cases fall in
this category.

Bug: 6873673

Change-Id: Ia4e53973da05377687faf327b64acd42a2db344a
Make ZipFileTest#testHugeZipFile faster, and reduce ZipFile memory usage.

This test was timing out because of unbuffered I/O.

ZipFile was creating an unnecessary byte[] when writing out the central
directory. In the case of these tests, that was an extra 3MiB of heap!

(cherry-picked from a57c521b9d250f909508af771b96c0011676a968.)

Bug: 6481730
Change-Id: I923e563421056c9c0e73246357ccf54d8fb60cdb
Tracking DSA Signature.verify behavioral change

See also:

    commit 3ff7a80532c9edbcca3331de2b9e87bbf16a0c96
    Author: Brian Carlstrom <bdc@google.com>
    Date:   Mon Jul 23 23:33:56 2012 -0700

        Signature.verify should not throw if called twice

Bug: http://code.google.com/p/android/issues/detail?id=34933
Bug: 6870225

(cherry picked from commit b354e381cac5ffe6f884a4513127d68324779c3b)

Change-Id: Ifbd407d8228befb36fd0a57cd0c846c9760d3d4c
Merge branch 'jb-dev' of https://android.googlesource.com/platform/libcore into jb