Searched refs:HexEncoding (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/io/ |
D | DataOutputStreamTest.java | 25 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/ |
D | SerializationTester.java | 29 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()
|
D | HexEncodingTest.java | 24 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/ |
D | AlgorithmParametersPSSTest.java | 32 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/ |
D | HexEncoding.java | 28 public class HexEncoding { class 39 private HexEncoding() {} in HexEncoding() method in HexEncoding
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Byte.java | 41 import libcore.util.HexEncoding; 610 return HexEncoding.encodeToString(b, upperCase); in toHexString()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SignatureTest.java | 42 import libcore.util.HexEncoding; 305 private static final byte[] PK_BYTES = HexEncoding.decode(
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | Base64Test.java | 39 import libcore.util.HexEncoding; 1120 fail("Expected " + HexEncoding.encodeToString(expected) in assertArrayEquals() 1121 + ", got " + HexEncoding.encodeToString(actual)); in assertArrayEquals()
|
/libcore/ |
D | non_openjdk_java_files.bp | 258 "luni/src/main/java/libcore/util/HexEncoding.java",
|
/libcore/api/ |
D | module-lib-current.txt | 751 public class HexEncoding {
|