Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/
DAddressUnitTests.java548 assertEquals("personal1", mAddress1.toFriendly()); in testToFriendlySingle()
549 assertEquals("address2", mAddress2.toFriendly()); in testToFriendlySingle()
550 assertEquals("address3", mAddress3.toFriendly()); in testToFriendlySingle()
562 assertEquals(null, Address.toFriendly(list1)); in testToFriendlyArray()
563 assertEquals(null, Address.toFriendly(list2)); in testToFriendlyArray()
564 assertEquals("personal1", Address.toFriendly(list3)); in testToFriendlyArray()
565 assertEquals("personal1, address2, address3", Address.toFriendly(list4)); in testToFriendlyArray()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DAddress.java398 public String toFriendly() { in toFriendly() method in Address
415 public static String toFriendly(Address[] addresses) { in toFriendly() method in Address
420 return addresses[0].toFriendly(); in toFriendly()
422 StringBuilder sb = new StringBuilder(addresses[0].toFriendly()); in toFriendly()
425 sb.append(addresses[i].toFriendly()); in toFriendly()
/packages/services/Telephony/src/com/android/phone/common/mail/
DAddress.java397 public String toFriendly() { in toFriendly() method in Address
414 public static String toFriendly(Address[] addresses) { in toFriendly() method in Address
419 return addresses[0].toFriendly(); in toFriendly()
421 StringBuilder sb = new StringBuilder(addresses[0].toFriendly()); in toFriendly()
424 sb.append(addresses[i].toFriendly()); in toFriendly()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java92 localMessage.mDisplayName = from[0].toFriendly(); in updateMessageFields()