Searched refs:toUtf8 (Results 1 – 4 of 4) sorted by relevance
125 assertNull(Utility.toUtf8(null)); in testToUtf8()126 MoreAsserts.assertEquals(new byte[] {}, Utility.toUtf8("")); in testToUtf8()127 MoreAsserts.assertEquals(b('a'), Utility.toUtf8("a")); in testToUtf8()128 MoreAsserts.assertEquals(b('A', 'B', 'C'), Utility.toUtf8("ABC")); in testToUtf8()130 Utility.toUtf8("\u65E5\u672C\u8A9E")); in testToUtf8()153 byte[] bytes = Utility.toUtf8(aChar); in checkIsFirstUtf8Byte()
42 for (byte b : Utility.toUtf8(string)) { in writeLine()
514 public static byte[] toUtf8(String s) { in toUtf8() method in Utility601 sha.update(Utility.toUtf8(deviceId)); in getConsistentDeviceId()
205 att.mContentBytes = Utility.toUtf8("content " + fileName); in setupAttachment()