Home
last modified time | relevance | path

Searched refs:toUtf8 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java69 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()
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DSimpleIcsWriter.java42 for (byte b : Utility.toUtf8(string)) { in writeLine()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java400 public static byte[] toUtf8(String s) { in toUtf8() method in Utility
478 sha.update(Utility.toUtf8(value)); in getSmallHash()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java259 att.mContentBytes = Utility.toUtf8("content " + fileName); in setupAttachment()