Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/
DDataController.java60 Object replyTo; field in DataController.CallbackContainer
67 Object replyTo; field in DataController.DCMessage
91 OnQueryUrlIsBookmark cb = (OnQueryUrlIsBookmark) cc.replyTo; in DataController()
110 public void queryBookmarkStatus(String url, OnQueryUrlIsBookmark replyTo) { in queryBookmarkStatus() argument
113 replyTo.onQueryUrlIsBookmark(url, false); in queryBookmarkStatus()
116 mDataHandler.sendMessage(QUERY_URL_IS_BOOKMARK, url.trim(), replyTo); in queryBookmarkStatus()
158 void sendMessage(int what, Object obj, Object replyTo) { in sendMessage() argument
160 m.replyTo = replyTo; in sendMessage()
177 doQueryBookmarkStatus((String) msg.obj, msg.replyTo); in handleMessage()
271 private void doQueryBookmarkStatus(String url, Object replyTo) { in doQueryBookmarkStatus() argument
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java247 String[] replyTo = message.getHeader("Reply-to"); in testEncodingAddressField() local
263 assertEquals("reply-to address count", 1, replyTo.length); in testEncodingAddressField()
267 replyTo[0]); in testEncodingAddressField()
292 Address[] replyTo = message.getReplyTo(); in testParsingAddressField() local
308 assertEquals("reply-to address count", 3, replyTo.length); in testParsingAddressField()
309 assertEquals("quoted name address", "bigG@dom5.net", replyTo[0].getAddress()); in testParsingAddressField()
310 assertEquals("quoted name name", "big \"G\"", replyTo[0].getPersonal()); in testParsingAddressField()
311 assertEquals("utf-16 name address", "address6@co.jp", replyTo[1].getAddress()); in testParsingAddressField()
312 assertEquals("utf-16 name name", "\u65E5\u672C\u8A9E", replyTo[1].getPersonal()); in testParsingAddressField()
313 assertEquals("utf-32 name address", "address8@ne.jp", replyTo[2].getAddress()); in testParsingAddressField()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeMessage.java321 public void setReplyTo(Address[] replyTo) throws MessagingException { in setReplyTo() argument
323 if (replyTo == null || replyTo.length == 0) { in setReplyTo()
327 setHeader("Reply-to", MimeUtility.fold(Address.toHeader(replyTo), REPLY_TO_LENGTH)); in setReplyTo()
328 mReplyTo = replyTo; in setReplyTo()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java132 private MimeMessage buildTestMessage(String to, String cc, String bcc, String replyTo, in buildTestMessage() argument
148 if (replyTo != null) { in buildTestMessage()
149 Address[] addresses = Address.parse(replyTo); in buildTestMessage()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java84 Address[] replyTo = message.getReplyTo(); in updateMessageFields() local
140 localMessage.mReplyTo = Address.pack(replyTo); in updateMessageFields()