Home
last modified time | relevance | path

Searched refs:fromUtf8 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
DUtilityUnitTests.java134 assertNull(Utility.fromUtf8(null)); in testFromUtf8()
135 assertEquals("", Utility.fromUtf8(new byte[] {})); in testFromUtf8()
136 assertEquals("a", Utility.fromUtf8(b('a'))); in testFromUtf8()
137 assertEquals("ABC", Utility.fromUtf8(b('A', 'B', 'C'))); in testFromUtf8()
139 Utility.fromUtf8(b(0xE6, 0x97, 0xA5, 0xE6, 0x9C, 0xAC, 0xE8, 0xAA, 0x9E))); in testFromUtf8()
/packages/apps/Email/tests/src/com/android/exchange/utility/
DSimpleIcsWriterTests.java45 final String actual = Utility.fromUtf8(ics.getBytes()); in testWriteTag()
99 final String actual = Utility.fromUtf8(bytes); in checkWriteLine()
DCalendarUtilitiesTests.java724 BufferedReader reader = new BufferedReader(new StringReader(Utility.fromUtf8(bytes))); in parseIcsContent()
/packages/apps/Email/src/com/android/exchange/utility/
DSimpleIcsWriter.java107 return Utility.fromUtf8(getBytes()); in toString()
/packages/apps/Email/src/com/android/email/
DUtility.java519 public static String fromUtf8(byte[] b) { in fromUtf8() method in Utility
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java910 Utility.fromUtf8(IOUtils.toByteArray(mimePart1.getBody().getInputStream()))); in testFetchAttachment()