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.java49 assertEquals("", Utility.fromAscii(IOUtils.toByteArray(ImapString.EMPTY.getAsStream()))); in testEmpty()
65 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in testBasics()
147 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.java91 return Utility.fromAscii(IOUtils.toByteArray(getAsStream())); in getString()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java554 return Utility.fromAscii(b); in encodeFolderName()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java415 public static String fromAscii(byte[] b) { in fromAscii() method in Utility