Home
last modified time | relevance | path

Searched refs:fromAscii (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapStringTest.java53 assertEquals("", Utility.fromAscii(IOUtils.toByteArray(ImapString.EMPTY.getAsStream()))); in testEmpty()
69 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in testBasics()
151 assertEquals(content, Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in doLiteralTest()
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapMemoryLiteral.java60 return Utility.fromAscii(mData); in getString()
DImapTempFileLiteral.java90 return Utility.fromAscii(IOUtils.toByteArray(getAsStream())); in getString()
/packages/apps/Email/src/com/android/email/
DUtility.java529 public static String fromAscii(byte[] b) { in fromAscii() method in Utility
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java472 return Utility.fromAscii(b); in encodeFolderName()