Home
last modified time | relevance | path

Searched refs:Email (Results 1 – 25 of 69) sorted by relevance

123

/packages/apps/Email/src/com/android/email/mail/transport/
DMailTransport.java19 import com.android.email.Email;
148 if (Config.LOGD && Email.DEBUG) { in open()
149 Log.d(Email.LOG_TAG, "*** " + mDebugLabel + " open " + in open()
169 if (Config.LOGD && Email.DEBUG) { in open()
170 Log.d(Email.LOG_TAG, e.toString()); in open()
174 if (Config.LOGD && Email.DEBUG) { in open()
175 Log.d(Email.LOG_TAG, gse.toString()); in open()
179 if (Config.LOGD && Email.DEBUG) { in open()
180 Log.d(Email.LOG_TAG, ioe.toString()); in open()
204 if (Config.LOGD && Email.DEBUG) { in reopenTls()
[all …]
DSmtpSender.java19 import com.android.email.Email;
127 if (Config.LOGD && Email.DEBUG) { in open()
128 Log.d(Email.LOG_TAG, "Unable to look up localhost"); in open()
152 if (Config.LOGD && Email.DEBUG) { in open()
153 Log.d(Email.LOG_TAG, "TLS not supported but required"); in open()
174 if (Config.LOGD && Email.DEBUG) { in open()
175 Log.d(Email.LOG_TAG, "No valid authentication mechanism found."); in open()
181 if (Config.LOGD && Email.DEBUG) { in open()
182 Log.d(Email.LOG_TAG, e.toString()); in open()
186 if (Config.LOGD && Email.DEBUG) { in open()
[all …]
DStatusOutputStream.java23 import com.android.email.Email;
39 if (Email.LOGD) { in write()
41 Log.v(Email.LOG_TAG, "# " + mCount); in write()
DLoggingInputStream.java19 import com.android.email.Email;
79 Log.d(Email.LOG_TAG, mSb.toString()); in logRaw()
/packages/apps/Contacts/src/com/android/contacts/
DTypePrecedence.java23 import android.provider.ContactsContract.CommonDataKinds.Email;
54 Email.TYPE_CUSTOM,
55 Email.TYPE_HOME,
56 Email.TYPE_WORK,
57 Email.TYPE_OTHER};
104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList()
DContactsUtils.java33 import android.provider.ContactsContract.CommonDataKinds.Email;
71 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { in getDisplayLabel()
72 colType = cursor.getColumnIndex(Email.TYPE); in getDisplayLabel()
73 colLabel = cursor.getColumnIndex(Email.LABEL); in getDisplayLabel()
101 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { in getDisplayLabel()
102 defaultType = Email.TYPE_HOME; in getDisplayLabel()
103 customType = Email.TYPE_CUSTOM; in getDisplayLabel()
231 final boolean isEmail = Email.CONTENT_ITEM_TYPE.equals(values.getAsString(Data.MIMETYPE)); in buildImIntent()
240 String data = values.getAsString(isEmail ? Email.DATA : Im.DATA); in buildImIntent()
/packages/apps/Email/src/com/android/email/mail/store/
DTrustManagerFactory.java19 import com.android.email.Email;
112 if (Email.DEBUG) { in logCertificates()
114 Log.d(Email.LOG_TAG, caller + " Certificate #" + i); in logCertificates()
115 Log.d(Email.LOG_TAG, " subject=" + chain[i].getSubjectDN()); in logCertificates()
117 Log.d(Email.LOG_TAG, " issuer=" + chain[i].getIssuerDN()); in logCertificates()
118 Log.d(Email.LOG_TAG, " dates=" + chain[i].getNotBefore() in logCertificates()
DImapResponseParser.java19 import com.android.email.Email;
48 if (DEBUG_LOG_RAW_STREAM && Config.LOGD && Email.DEBUG) { in ImapResponseParser()
81 if (Email.DEBUG) { in readResponse()
82 Log.d(Email.LOG_TAG, "<<< " + response.toString()); in readResponse()
199 if (Config.LOGD && Email.DEBUG) { in parseAtom()
200 Log.d(Email.LOG_TAG, "parseAtom(): end of stream reached"); in parseAtom()
261 if (Config.LOGD && Email.DEBUG) { in readStringUntil()
262 Log.d(Email.LOG_TAG, "readQuotedString(): end of stream reached"); in readStringUntil()
270 if (d == -1 && Config.LOGD && Email.DEBUG) { in expect()
271 Log.d(Email.LOG_TAG, "expect(): end of stream reached"); in expect()
DPop3Store.java19 import com.android.email.Email;
249 if (Config.LOGD && Email.DEBUG) { in open()
250 Log.d(Email.LOG_TAG, "TLS not supported but required"); in open()
260 if (Config.LOGD && Email.DEBUG) { in open()
261 Log.d(Email.LOG_TAG, me.toString()); in open()
267 if (Config.LOGD && Email.DEBUG) { in open()
268 Log.d(Email.LOG_TAG, ioe.toString()); in open()
289 if (Config.LOGD && Email.DEBUG) { in open()
290 Log.d(Email.LOG_TAG, statException.toString()); in open()
359 if (Email.DEBUG) { in getMessage()
[all …]
/packages/apps/Email/src/com/android/email/activity/
DDebug.java20 import com.android.email.Email;
66 mEnableDebugLoggingView.setChecked(Email.DEBUG); in onCreate()
67 mEnableSensitiveLoggingView.setChecked(Email.DEBUG_SENSITIVE); in onCreate()
75 Email.DEBUG = isChecked; in onCheckedChanged()
76 mPreferences.setEnableDebugLogging(Email.DEBUG); in onCheckedChanged()
79 Email.DEBUG_SENSITIVE = isChecked; in onCheckedChanged()
80 mPreferences.setEnableSensitiveLogging(Email.DEBUG_SENSITIVE); in onCheckedChanged()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java22 import android.provider.ContactsContract.CommonDataKinds.Email;
73 values.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testImEmailIntent()
74 values.put(Email.TYPE, Email.TYPE_HOME); in testImEmailIntent()
75 values.put(Email.DATA, TEST_ADDRESS); in testImEmailIntent()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java19 import com.android.email.Email;
41 assertEquals(Email.VISIBLE_LIMIT_DEFAULT, info.mVisibleLimitDefault); in testStoreLookupPOP()
42 assertEquals(Email.VISIBLE_LIMIT_INCREMENT, info.mVisibleLimitIncrement); in testStoreLookupPOP()
59 assertEquals(Email.VISIBLE_LIMIT_DEFAULT, info.mVisibleLimitDefault); in testStoreLookupIMAP()
60 assertEquals(Email.VISIBLE_LIMIT_INCREMENT, info.mVisibleLimitIncrement); in testStoreLookupIMAP()
/packages/apps/Contacts/src/com/android/contacts/model/
DGoogleSource.java36 import android.provider.ContactsContract.CommonDataKinds.Email;
111 kind.typeColumn = Email.TYPE; in inflateEmail()
113 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in inflateEmail()
114 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in inflateEmail()
115 kind.typeList.add(buildEmailType(Email.TYPE_OTHER)); in inflateEmail()
116 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in inflateEmail()
117 Email.LABEL)); in inflateEmail()
120 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL)); in inflateEmail()
DFallbackSource.java27 import android.provider.ContactsContract.CommonDataKinds.Email;
89 return new EditType(type, Email.getTypeLabelResource(type)); in buildEmailType()
202 DataKind kind = getKindForMimetype(Email.CONTENT_ITEM_TYPE); in inflateEmail()
204 kind = addKind(new DataKind(Email.CONTENT_ITEM_TYPE, in inflateEmail()
207 kind.actionBody = new SimpleInflater(Email.DATA); in inflateEmail()
211 kind.typeColumn = Email.TYPE; in inflateEmail()
213 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); in inflateEmail()
214 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); in inflateEmail()
215 kind.typeList.add(buildEmailType(Email.TYPE_OTHER)); in inflateEmail()
216 kind.typeList.add(buildEmailType(Email.TYPE_MOBILE)); in inflateEmail()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DEmailAddressAdapter.java25 import android.provider.ContactsContract.CommonDataKinds.Email;
45 Email.DATA // 2
73 Uri uri = Uri.withAppendedPath(Email.CONTENT_FILTER_URI, Uri.encode(filter)); in runQueryOnBackgroundThread()
/packages/apps/Email/src/com/android/email/
DEmailAddressAdapter.java27 import android.provider.ContactsContract.CommonDataKinds.Email;
44 Email.DATA // 2
71 Uri uri = Uri.withAppendedPath(Email.CONTENT_FILTER_URI, Uri.encode(filter)); in runQueryOnBackgroundThread()
DMessagingController.java353 box.mVisibleLimit = Email.VISIBLE_LIMIT_DEFAULT; in listFolders()
436 if (Email.LOGD) { in synchronizeMailboxSynchronous()
437 Log.v(Email.LOG_TAG, "synchronizeMailbox", e); in synchronizeMailboxSynchronous()
500 Log.d(Email.LOG_TAG, "*** synchronizeMailboxGeneric ***"); in synchronizeMailboxGeneric()
668 Log.e(Email.LOG_TAG, in synchronizeMailboxGeneric()
675 Log.e(Email.LOG_TAG, in synchronizeMailboxGeneric()
1000 Log.d(Email.LOG_TAG, "Could not retrieve message from db, UUID=" in copyOneMessageToProvider()
1041 Log.e(Email.LOG_TAG, "Error while copying downloaded message." + me); in copyOneMessageToProvider()
1045 Log.e(Email.LOG_TAG, "Error while storing downloaded message." + rte.toString()); in copyOneMessageToProvider()
1047 Log.e(Email.LOG_TAG, "Error while storing attachment." + ioe.toString()); in copyOneMessageToProvider()
[all …]
DLegacyConversions.java118 if (Email.DEBUG) { in updateMessageFields()
119 Log.d(Email.LOG_TAG, "Missing message-id for UID=" + localMessage.mServerId); in updateMessageFields()
315 Log.d(Email.LOG_TAG, "Add attachment " + localAttachment); in addOneAttachment()
340 Log.d(Email.LOG_TAG, "Skipped, found db attachment " + dbAttachment); in addOneAttachment()
450 Log.d(Email.LOG_TAG, "Exception while reading html body " + rte.toString()); in makeMessage()
457 Log.d(Email.LOG_TAG, "Exception while reading text body " + rte.toString()); in makeMessage()
471 Log.d(Email.LOG_TAG, "Exception while reading text reply " + rte.toString()); in makeMessage()
479 Log.d(Email.LOG_TAG, "Exception while reading html reply " + rte.toString()); in makeMessage()
486 Log.d(Email.LOG_TAG, "Exception while reading text reply " + rte.toString()); in makeMessage()
/packages/apps/Email/src/com/android/email/service/
DBootReceiver.java19 import com.android.email.Email;
30 if (Email.setServicesEnabled(context)) { in onReceive()
DMailService.java20 import com.android.email.Email;
167 if (Config.LOGD && Email.DEBUG) { in onStartCommand()
185 if (Config.LOGD && Email.DEBUG) { in onStartCommand()
192 if (Config.LOGD && Email.DEBUG) { in onStartCommand()
226 if (Config.LOGD && Email.DEBUG) { in onStartCommand()
338 if (Config.LOGD && Email.DEBUG) { in reschedule()
343 if (Config.LOGD && Email.DEBUG) { in reschedule()
525 if (Config.LOGD && Email.DEBUG) { in updateAccountReport()
594 Email.updateMailboxRefreshTime(mailboxId); in updateMailboxCallback()
/packages/apps/Email/src/com/android/email/mail/
DStore.java19 import com.android.email.Email;
82 Log.d(Email.LOG_TAG, String.format( in instantiateStore()
130 null, "visibleLimitDefault", Email.VISIBLE_LIMIT_DEFAULT); in getStoreInfo()
132 null, "visibleLimitIncrement", Email.VISIBLE_LIMIT_INCREMENT); in getStoreInfo()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java40 import android.provider.ContactsContract.CommonDataKinds.Email;
286 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testEmailsQuery()
287 values.put(Email.DATA, "meghan@acme.com"); in testEmailsQuery()
288 values.put(Email.TYPE, Email.TYPE_HOME); in testEmailsQuery()
289 values.putNull(Email.LABEL); in testEmailsQuery()
297 assertStoredValues(ContentUris.withAppendedId(Email.CONTENT_URI, emailId), values); in testEmailsQuery()
298 assertSelection(Email.CONTENT_URI, values, Data._ID, emailId); in testEmailsQuery()
305 Uri filterUri1 = Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, "tamale@acme.com"); in testEmailsLookupQuery()
308 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testEmailsLookupQuery()
309 values.put(Email.DATA, "tamale@acme.com"); in testEmailsLookupQuery()
[all …]
/packages/apps/Mms/src/com/android/mms/util/
DContactInfoCache.java33 import android.provider.ContactsContract.CommonDataKinds.Email;
86 private static final String EMAIL_SELECTION = Email.DATA + "=? AND " + Data.MIMETYPE + "='"
87 + Email.CONTENT_ITEM_TYPE + "'";
90 Email.DISPLAY_NAME, // 0
91 Email.CONTACT_PRESENCE, // 1
92 Email.CONTACT_ID, // 2
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptions.java19 import com.android.email.Email;
146 Log.d(Email.LOG_TAG, "addAccount was canceled");
148 Log.d(Email.LOG_TAG, "addAccount failed: " + e);
150 Log.d(Email.LOG_TAG, "addAccount failed: " + e);
178 Email.setServicesEnabled(this); in finishOnDone()
/packages/apps/Phone/src/com/android/phone/
DSimContacts.java37 import android.provider.ContactsContract.CommonDataKinds.Email;
199 builder.withValueBackReference(Email.RAW_CONTACT_ID, 0); in actuallyImportOneSimContact()
200 builder.withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
201 builder.withValue(Email.TYPE, Email.TYPE_MOBILE); in actuallyImportOneSimContact()
202 builder.withValue(Email.DATA, emailAddress); in actuallyImportOneSimContact()

123