Home
last modified time | relevance | path

Searched refs:getEmailAddress (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/UnifiedEmail/tests/src/com/android/mail/
DEmailAddressTest.java26 EmailAddress email = EmailAddress.getEmailAddress("email@gmail.com"); in testNameRegex()
31 EmailAddress nameKnown = EmailAddress.getEmailAddress("john doe <coolguy@doe.com>"); in testNameRegex()
37 .getEmailAddress("\"john doe\" <coolguy@doe.com>"); in testNameRegex()
42 EmailAddress noSpace = EmailAddress.getEmailAddress("john doe<coolguy@doe.com>"); in testNameRegex()
48 .getEmailAddress("\"john doe\"<coolguy@doe.com>"); in testNameRegex()
58 EmailAddress address = EmailAddress.getEmailAddress("test name <test@localhost.com>"); in testEmailAddressParsing()
62 address = EmailAddress.getEmailAddress("\"test name\" <test@localhost.com>"); in testEmailAddressParsing()
66 address = EmailAddress.getEmailAddress("<test@localhost.com>"); in testEmailAddressParsing()
70 address = EmailAddress.getEmailAddress("test@localhost.com"); in testEmailAddressParsing()
74 address = EmailAddress.getEmailAddress("O'brian <test@localhost.com>"); in testEmailAddressParsing()
[all …]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
DComposeActivityTest.java118 if (account.getEmailAddress().equals(accountName)) { in getAccountForName()
147 mAccount.getEmailAddress(), mAccount.getEmailAddress(), customFrom, true, false); in testRecipientsRefReplyAllCustomFromReplyTo()
182 mAccount.getEmailAddress(), mAccount.getEmailAddress(), mAccount.getEmailAddress(), in testRecipientsRefReplyAllOnlyAccount()
199 assertTrue(toAsString.contains(account.getEmailAddress())); in testRecipientsRefReplyAllOnlyAccount()
224 mAccount.getEmailAddress(), mAccount.getEmailAddress(), customFrom, true, false); in testRecipientsRefReplyAllOnlyCustomFrom()
555 mAccount.getEmailAddress(), mAccount.getEmailAddress(), mAccount.getEmailAddress(), in brokentestRecipientsRefMessageReplyToCustomFrom()
598 mAccount.getEmailAddress(), mAccount.getEmailAddress(), mAccount.getEmailAddress(), in brokentestRecipientsRefMessageReplyAllCustomFrom()
644 mAccount.getEmailAddress(), mAccount.getEmailAddress(), mAccount.getEmailAddress(), in brokentestRecipientsRefMessageReplyAllCustomFromThisAccount()
704 assertEquals("account0@mockuiprovider.com", fromAccount.getEmailAddress()); in testReplySendingAccount0()
744 assertEquals("account2@mockuiprovider.com", fromAccount.getEmailAddress()); in testReplySendingAccount1()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAccountItemView.java75 mAccountAddress.setText(account.getEmailAddress()); in bind()
78 !TextUtils.equals(account.getDisplayName(), account.getEmailAddress())) { in bind()
80 mAccountAddress.setText(account.getEmailAddress()); in bind()
83 mAccountDisplayName.setText(account.getEmailAddress()); in bind()
106 drawable.bind(account.getSenderName(), account.getEmailAddress()); in bind()
DFolderListFragment.java668 !mCurrentAccount.getEmailAddress().equals(account.getEmailAddress())) { in onAccountSelected()
1086 folderName, mCurrentAccount.getEmailAddress()); in recalculateDividedListFolders()
1368 return mCurrentAccount == null ? "" : mCurrentAccount.getEmailAddress(); in getCurrentAccountEmailAddress()
1638 if (!account.getEmailAddress().equals(currentAccount.getEmailAddress())) { in setAccounts()
1697 mDrawable.bind(mAccount.getSenderName(), mAccount.getEmailAddress()); in setAccount()
1700 contentDescription = mAccount.getEmailAddress(); in setAccount()
DAbstractConversationWebViewClient.java169 mActivity, mAccount.viewIntentProxyUri, uri, mAccount.getEmailAddress()); in generateProxyIntent()
DRecentFolderList.java183 LogUtils.v(TAG, "Account %s, Recent: %s", mAccount.getEmailAddress(), folder.name); in loadFromUiProvider()
DAttachmentTileGrid.java116 MailPhotoViewActivity.startMailPhotoViewActivity(getContext(), mAccount.getEmailAddress(), in viewPhoto()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DSendersFormattingTests.java143 assertEquals("b@b.com", senderAvatarModel.getEmailAddress()); in testSenderAvatarIsSenderOfFirstUnreadMessage()
163 assertEquals("b", senderAvatarModel.getEmailAddress()); in testSenderAvatarDoesNotChooseEmptyEmailAddress()
183 assertEquals("c@c.com", senderAvatarModel.getEmailAddress()); in testSenderAvatarIsLastSenderIfAllMessagesAreRead()
203 assertEquals("c", senderAvatarModel.getEmailAddress()); in testSenderAvatarIsLastSenderWithValidEmailAddressIfAllMessagesAreRead()
224 assertEquals("b@b.com", senderAvatarModel.getEmailAddress()); in testSenderAvatarIsLastSenderThatIsNotTheCurrentAccountIfAllMessagesAreRead()
243 assertEquals("fflintstone@example.com", senderAvatarModel.getEmailAddress()); in testSenderAvatarIsCurrentAccountIfAllSendersAreCurrentAccount()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
DMailPreferenceActivity.java115 TextUtils.equals(account.getDisplayName(), account.getEmailAddress())) { in onBuildHeaders()
117 header.title = account.getEmailAddress(); in onBuildHeaders()
120 header.summary = account.getEmailAddress(); in onBuildHeaders()
125 account.getEmailAddress()); in onBuildHeaders()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java98 new String[] { account.getEmailAddress() }, in migrate()
106 LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress())); in migrate()
115 LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress())); in migrate()
150 new FolderPreferences(context, account.getEmailAddress(), folder, in migrate()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java414 final String email = account.getEmailAddress(); in validateAccountNotifications()
460 notification.account.getEmailAddress(), folder.persistentId); in validateAccountNotifications()
476 LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress()), in sendSetNewEmailIndicatorIntent()
499 account.getEmailAddress(), folder.folderUri, getAttention); in setNewEmailIndicator()
510 account.getEmailAddress(), folder.persistentId); in setNewEmailIndicator()
518 "to: unread: %d unseen %d", account.getEmailAddress(), folder.persistentId, in setNewEmailIndicator()
613 LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress()), in validateNotifications()
741 LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress()), in validateNotifications()
781 LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress()), vibrate, in validateNotifications()
1606 LogUtils.v(LOG_TAG, "Clearing all notifications for %s/%s", account.getEmailAddress(), in clearFolderNotification()
[all …]
DAccountUtils.java48 existingList.add(account.getEmailAddress()); in mergeAccountLists()
55 final String accountName = accounts[i].getEmailAddress(); in mergeAccountLists()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java47 assertEquals("dhoff@example.com", a.getEmailAddress()); in testDeserializeFromJSON()
103 assertEquals(before.getEmailAddress(), after.getEmailAddress()); in testSerializeAndDeserializeWithJSON()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
DAccountTests.java51 assertEquals(before.getEmailAddress(), after.getEmailAddress()); in testSerializeDeserialize()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java303 summary = mUiAccount.getEmailAddress(); in onPreferenceChange()
571 mUiAccount.getEmailAddress(), mInboxFolder, true); in onLoadFinished()
639 new AccountPreferences(mContext, mUiAccount.getEmailAddress()); in loadSettings()
DAccountCreationFragment.java206 new AccountPreferences(mAppContext, account.getEmailAddress()) in onCreateLoader()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccount.java823 mReplyFroms.add(new ReplyFromAccount(this, uri, getEmailAddress(), getSenderName(), in getReplyFroms()
824 getEmailAddress(), false /* isDefault */, false /* isCustom */)); in getReplyFroms()
881 public String getEmailAddress() { in getEmailAddress() method in Account
DReplyFromAccount.java118 if (TextUtils.equals(Utils.normalizeEmailAddress(account.getEmailAddress()), in matchesAccountOrCustomFrom()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSendersView.java374 final String senderEmail = TextUtils.isEmpty(currentName) ? account.getEmailAddress() : in handlePriority()
433 senderAvatarModel.populate(account.getDisplayName(), account.getEmailAddress()); in handlePriority()
DConversationItemView.java475 bind(ConversationItemViewModel.forConversation(mAccount.getEmailAddress(), conversation), in bind()
845 mHeader.mSenderAvatarModel.getEmailAddress()); in loadImages()
1780 return mAccount.getEmailAddress(); in getAccountEmailAddress()
DConversationItemViewModel.java336 public String getEmailAddress() { in getEmailAddress() method in ConversationItemViewModel.SenderAvatarModel
DMessageFooterView.java314 intent.putExtra(FullMessageContract.EXTRA_ACCOUNT_NAME, account.getEmailAddress()); in viewEntireMessage()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java828 if (a.getEmailAddress().equals(accountExtra)) { in obtainAccount()
1181 : mAccount != null ? mAccount.getEmailAddress() : null; in computeFromForAccount()
1206 MailActivity.setNfcMessage(mAccount.getEmailAddress()); in setAccount()
1330 return new ReplyFromAccount(account, account.uri, account.getEmailAddress(), in getDefaultReplyFromAccount()
1331 account.getSenderName(), account.getEmailAddress(), true, false); in getDefaultReplyFromAccount()
2222 final String recipientAddress = Address.getEmailAddress(email).getAddress(); in addRecipients()
2288 final String accountName = mAccount.getEmailAddress(); in setupRecipients()
/packages/apps/UnifiedEmail/src/com/android/mail/
DEmailAddress.java60 public static synchronized EmailAddress getEmailAddress(String rawAddress) { in getEmailAddress() method in EmailAddress
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DAddress.java121 public static synchronized Address getEmailAddress(String rawAddress) { in getEmailAddress() method in Address

12