Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/
DUtilityUnitTests.java125 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()
/packages/apps/Email/src/com/android/exchange/utility/
DSimpleIcsWriter.java42 for (byte b : Utility.toUtf8(string)) { in writeLine()
/packages/apps/Email/src/com/android/email/
DUtility.java514 public static byte[] toUtf8(String s) { in toUtf8() method in Utility
601 sha.update(Utility.toUtf8(deviceId)); in getConsistentDeviceId()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java205 att.mContentBytes = Utility.toUtf8("content " + fileName); in setupAttachment()