Searched refs:toUtf8 (Results 1 – 4 of 4) sorted by relevance
69 assertNull(Utility.toUtf8(null)); in testToUtf8()70 MoreAsserts.assertEquals(new byte[] {}, Utility.toUtf8("")); in testToUtf8()71 MoreAsserts.assertEquals(b('a'), Utility.toUtf8("a")); in testToUtf8()72 MoreAsserts.assertEquals(b('A', 'B', 'C'), Utility.toUtf8("ABC")); in testToUtf8()74 Utility.toUtf8("\u65E5\u672C\u8A9E")); in testToUtf8()97 byte[] bytes = Utility.toUtf8(aChar); in checkIsFirstUtf8Byte()
42 for (byte b : Utility.toUtf8(string)) { in writeLine()
400 public static byte[] toUtf8(String s) { in toUtf8() method in Utility478 sha.update(Utility.toUtf8(value)); in getSmallHash()
259 att.mContentBytes = Utility.toUtf8("content " + fileName); in setupAttachment()