Searched refs:fromUtf8 (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/ |
D | UtilityUnitTests.java | 134 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/ |
D | SimpleIcsWriterTests.java | 45 final String actual = Utility.fromUtf8(ics.getBytes()); in testWriteTag() 99 final String actual = Utility.fromUtf8(bytes); in checkWriteLine()
|
D | CalendarUtilitiesTests.java | 724 BufferedReader reader = new BufferedReader(new StringReader(Utility.fromUtf8(bytes))); in parseIcsContent()
|
/packages/apps/Email/src/com/android/exchange/utility/ |
D | SimpleIcsWriter.java | 107 return Utility.fromUtf8(getBytes()); in toString()
|
/packages/apps/Email/src/com/android/email/ |
D | Utility.java | 519 public static String fromUtf8(byte[] b) { in fromUtf8() method in Utility
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 910 Utility.fromUtf8(IOUtils.toByteArray(mimePart1.getBody().getInputStream()))); in testFetchAttachment()
|