History log of /libcore/luni/src/main/java/libcore/util/HexEncoding.java
Revision Date Author Comments
3696c0780f4fa368c8ca04a396db7d8f1f091df6 04-Jul-2017 Adam Vartanian <flooey@google.com> Revert "Revert "Consolidate byte to/from hex methods to use HexEncoding.""

Returns to the original submission, plus a fix to CurrencyTest and a bunch
of exception serialization tests that were missed in the first batch.

This reverts commit e52f28fda5ec771c080a922866e0d4719551f11d.
Bug: 63153182
Test: cts -m CtsLibcoreTestCases

Change-Id: Iebcfddef2e9a2775bb7e489955998437f0999e02
e52f28fda5ec771c080a922866e0d4719551f11d 03-Jul-2017 Nicolas Geoffray <ngeoffray@google.com> Revert "Consolidate byte to/from hex methods to use HexEncoding."

Bot complains on:

libcore.java.util.CurrencyTest#testSerialization
junit.framework.ComparisonFailure: expected:<[aced0005737200126a6176612e7574696c2e43757272656e6379fdcd934a5911a91f0200014c000c63757272656e6379436f64657400124c6a6176612f6c616e672f537472696e673b]7870740003555344> but was:<[ACED0005737200126A6176612E7574696C2E43757272656E6379FDCD934A5911A91F0200014C000C63757272656E6379436F64657400124C6A6176612F6C616E672F537472696E673B]7870740003555344>
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at libcore.java.util.CurrencyTest.testSerialization(CurrencyTest.java:155)
libcore.java.util.CurrencyTest#testSerialization FAIL (EXEC_FAILED)

bug: 63153182

This reverts commit 4847b84f2ea6c882b767ee50e512de090569a73c.

Change-Id: Ifce21f787932459344d775bde5fb48a9c3b22c6b
4847b84f2ea6c882b767ee50e512de090569a73c 30-Jun-2017 Adam Vartanian <flooey@google.com> Consolidate byte to/from hex methods to use HexEncoding.

Test: cts -m CtsLibcoreTestCases
Bug: 63153182
Change-Id: I1115bbd8d20428e8ec641ca53e6a7331fb8ab002
8c704b4fa9f072cc074897b99ea8f71a02757f33 16-Mar-2015 Narayan Kamath <narayan@google.com> Use uppercase for hex encoded strings.

For backwards compatibility with the apache code this is replacing.
Several callers compare encoded strings for byte equality.

bug: 19731588
Change-Id: I2e96abcabd69ba6d48d341eafe1f8075fff880ee
11f82d1a94ebe1becb7e7d09dd3343ce117bdd46 15-Dec-2014 Narayan Kamath <narayan@google.com> Repurpose "HexEncoding" for internal users.

Frameworks callers either roll their own or use an internal apache
class. Given that apache is going away, we need to provide them with
an alternative.

bug: 18027885
Change-Id: Iec01cba9f3d2027828457c0b450eac0dd08fcaf6