| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The getParameters() call was unimplemented in the OpenSSLCipher as an
oversight. Add it so code relying on it will continue to work.
Additionally add tests for getIV() and getParameters() to make sure they
work correctly.
(cherry picked from commit 8d59a14a150738b8b3a2a8c31d1a48b8ae0a3d0c)
Bug: 10423926
Change-Id: I6bc7fc540509242dff9e5411f66f82be54691cb4
|
|\ |
|
|/
|
|
|
|
| |
Bug: 8145760
Bug: 10179879
Change-Id: Idafa81402c8d89cc2756ab1d57c0f8b1b3401df7
|
|\ |
|
|/
|
|
|
| |
Bug: 10681815
Change-Id: If9a76f4c55b578c6f135befebcc443ab9aef3073
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10599593
(cherry picked from commit 3f17b9a79c4331504f32d34ce46adf7a78870f87)
Change-Id: I1bffa8189d64aa8ee0aa1ac414359aecb71934a5
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Class preloading will create an instance of objects if they are in
static fields, so put the ones we don't want instantiated into a holder
class that is not preloaded.
(cherry picked from commit da5b7116b58795b169961cbd63c2b21bac741d9a)
Bug: 9984058
Change-Id: If8cb4280cbee79cd4d479fbf6a5297c8e5569b6c
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the current design, if AlgNameMapper's class initialization is run
too early, the data will be incomplete. This change uses the Services's
cache versioning system to check when it should update its internal
cache ensuring it's never out of date.
(cherry picked from commit 6243428ca4ba6d9d767070bbe2d5c480bbcd0669)
Bug: 10666722
Change-Id: I70dd09cf77145bd98f84279e58ed20cb9cef8341
|
|\ \
| |/
|/| |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
The proper way to free a stack of owned "FOO" items is to use
sk_FOO_pop_free since that will iterate through all the FOO instances
in the stack and free them. Calling sk_FOO_free just frees the stack and
not the items.
(cherry picked from commit 64299318644c0c6b86992d414e68d0af236b52c5)
Bug: 10610037
Bug: http://code.google.com/p/android/issues/detail?id=59536
Change-Id: I8af603b10219acb476666e77cc776b6936a19f8d
|
|\ |
|
|/
|
|
|
| |
Bug: 8467515
Change-Id: I37fe971c1136301d2cc29bd6bc321133dbe50f5e
|
|\ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We failed a couple of tests because of an assumption about the default
time zone:
junit.framework.AssertionFailedError: Wrong format: " d" expected: 12 result: 11
at java.text.SimpleDateFormatTest.test(SimpleDateFormatTest.java:55)
at org.apache.harmony.tests.java.text.SimpleDateFormatTest.test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition(SimpleDateFormatTest.java:347)
junit.framework.AssertionFailedError: Wrong result: h input: 12 expected: Thu Jan 01 00:00:00 UTC 1970 result: Thu Jan 01 08:00:00 UTC 1970
at java.text.SimpleDateFormatTest.parse(SimpleDateFormatTest.java:86)
at org.apache.harmony.tests.java.text.SimpleDateFormatTest.test_parseLjava_lang_StringLjava_text_ParsePosition(SimpleDateFormatTest.java:546)
Cleaning up the tests and merging OldSimpleDateFormatTest into
SimpleDateFormatTest accidentally made one of our tests more
strict, at which point it failed because we weren't updating the
FieldPosition for 'z' or 'Z' when formatting or parsing. So this
patch fixes that by mapping the DateFormat.Field to the appropriate
int for Calendar.
Change-Id: If4b2f2c02d8ccd50d96d77df3b60e1c1d65ae666
|
|\ |
|
|/
|
|
| |
Change-Id: I921a8e1edb1d2aa596325cf03c04196328b3930b
|
|\ |
|
|/
|
|
|
|
| |
The switch to C++11 means we have static_assert now.
Change-Id: Iaa39af8c4fa7143fc83fda550543eb3270f9f161
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 10209343
Change-Id: Id386e9ee4acf46ce3b4d0802b4aca49a0b0667cb
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conscrypt was moved out of libcore, so the call directly to NativeCrypto
was removed as well. To break the dependency, introduce an interface
that Conscrypt registers as to answer algorithm name to OID mapping
queries and vice versa.
(cherry picked from commit b6963ac272834ec5f791ecdc773d17cb156e23f0)
Bug: 10310296
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This test used the test ChannelID key, but it didn't make sure it was
initialized first. This made it appear sometimes depending on the order
the tests were executed.
(cherry picked from commit debfff83084b79b65c092cfe72ebea9d9a9548d6)
Bug: 10210673
Change-Id: I5212e265611208ecb641a7d6b403985df603cb03
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conscrypt was moved out of libcore, so the call directly to NativeCrypto
was removed as well. To break the dependency, introduce an interface
that Conscrypt registers as to answer algorithm name to OID mapping
queries and vice versa.
(cherry picked from commit 6fcfb5a75dfb595ccbcf0a7a576ee7515fe2da32)
Bug: 10310296
Change-Id: Ia9c802f1102df7209749a90d0ed3ed2831480b04
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: https://code.google.com/p/android/issues/detail?id=54433
Change-Id: Icf39b98802e2c6128e79c44eaf2cabc7b4805cc5
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Android's formatDateRange's interpretation of a time span running until 0 ms
into a day is different from icu4c. Traditionally we didn't count that as
being the next day, but icu4c does.
Bug: 10560853
Change-Id: I99fbbf19ad98147c9c4ff568231aec71d97a8938
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
|/ /
| |
| |
| | |
Change-Id: I247f7c644537b8e9f67f4f27360ce1449fa04300
|
|\ \ |
|
|/ /
| |
| |
| |
| | |
Bug: 10318326
Change-Id: Ifbd50a994e30ce11e060eebd0bf6b8f428c1264d
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Instance created by DateTimePatternGenerator::createInstance() needs to
be deleted
Change-Id: I3e6058f717e56dbc06ffaca35ff6ae06059b689d
Signed-off-by: Carton He <carton.he@marvell.com>
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| | |
We already have a more general implementation, exposed as public
API >= jb-mr2.
Change-Id: I917465f6bac4afec40e3685dccffad920d050c85
|
|\ \ |
|
|/ /
| |
| |
| | |
Change-Id: I64d9e651aba3b2872a23e4d4b1b7c32c34f86d90
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Bug: 10599593
(cherry picked from commit a96049c03db95fd46583ac917f221791cf7d08dc)
Change-Id: Ifd5cfe1134a246671da0d1729b635b1f091ea3c6
|
|\ \
| | |
| | |
| | | |
test_SSLSocket_TestSSLSessions_create test case"
|
|/ /
| |
| |
| |
| |
| |
| | |
test_SSLSocket_TestSSLSessions_create test case
Bug: 10577514
Change-Id: I867fc6f852a47fb299e82fff2870c136cc58cbdb
|
|\ \ |
|