Home
last modified time | relevance | path

Searched refs:HexEncoding (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DDataOutputStreamTest.java25 import libcore.util.HexEncoding;
34 assertEquals("0100", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeBoolean()
44 assertEquals("FF00018134", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeByte()
50 assertEquals("303431", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeBytes()
57 assertEquals("00301234", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeChar()
63 assertEquals("003012340031", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeChars()
68 assertEquals("0123456789ABCDEF", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeDouble()
73 assertEquals("01234567", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeFloat()
78 assertEquals("01234567", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeInt()
83 assertEquals("0123456789ABCDEF", HexEncoding.encodeToString(bytes.toByteArray())); in test_writeLong()
[all …]
/libcore/luni/src/test/java/libcore/libcore/util/
DSerializationTester.java29 import libcore.util.HexEncoding;
59 + HexEncoding.encodeToString(serialize(value))); in test()
63 T deserialized = (T) deserialize(HexEncoding.decode(golden)); in test()
105 return HexEncoding.encodeToString(serialize(object)); in serializeHex()
109 return deserialize(HexEncoding.decode(hex)); in deserializeHex()
DHexEncodingTest.java24 import static libcore.util.HexEncoding.decode;
25 import static libcore.util.HexEncoding.encode;
26 import static libcore.util.HexEncoding.encodeToString;
/libcore/luni/src/test/java/libcore/java/security/spec/
DAlgorithmParametersPSSTest.java32 import libcore.util.HexEncoding;
40 private static final byte[] DEFAULT_SPEC_DER_ENCODED = HexEncoding.decode("3000");
45 HexEncoding.decode(
51 HexEncoding.decode(
57 HexEncoding.decode(
/libcore/luni/src/main/java/libcore/util/
DHexEncoding.java28 public class HexEncoding { class
39 private HexEncoding() {} in HexEncoding() method in HexEncoding
/libcore/ojluni/src/main/java/java/lang/
DByte.java41 import libcore.util.HexEncoding;
610 return HexEncoding.encodeToString(b, upperCase); in toHexString()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java42 import libcore.util.HexEncoding;
305 private static final byte[] PK_BYTES = HexEncoding.decode(
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java39 import libcore.util.HexEncoding;
1120 fail("Expected " + HexEncoding.encodeToString(expected) in assertArrayEquals()
1121 + ", got " + HexEncoding.encodeToString(actual)); in assertArrayEquals()
/libcore/
Dnon_openjdk_java_files.bp258 "luni/src/main/java/libcore/util/HexEncoding.java",
/libcore/api/
Dmodule-lib-current.txt751 public class HexEncoding {