Home
last modified time | relevance | path

Searched refs:email (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardControllerTest.java147 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_hasFeedbackEmail_debug_returnTrue() local
149 assertThat(mController.isFeedbackEnabled(email)).isTrue(); in isFeedbackEnabled_hasFeedbackEmail_debug_returnTrue()
156 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_hasFeedbackEmail_user_returnFalse() local
158 assertThat(mController.isFeedbackEnabled(email)).isFalse(); in isFeedbackEnabled_hasFeedbackEmail_user_returnFalse()
164 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_noFeedbackEmail_debug_returnFalse() local
166 assertThat(mController.isFeedbackEnabled(email)).isFalse(); in isFeedbackEnabled_noFeedbackEmail_debug_returnFalse()
172 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_noFeedbackEmail_user_returnFalse() local
174 assertThat(mController.isFeedbackEnabled(email)).isFalse(); in isFeedbackEnabled_noFeedbackEmail_user_returnFalse()
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql155email._id AS primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type…
157email._id AS primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type…
158email._id AS primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type…
162email ON (raw_contacts._id = email.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimety…
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceContextualCardController.java91 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in showFeedbackDialog() local
92 if (!isFeedbackEnabled(email)) { in showFeedbackDialog()
98 feedbackIntent.putExtra(ContextualCardFeedbackDialog.EXTRA_FEEDBACK_EMAIL, email); in showFeedbackDialog()
104 boolean isFeedbackEnabled(String email) { in isFeedbackEnabled() argument
105 return !TextUtils.isEmpty(email) && Build.IS_DEBUGGABLE; in isFeedbackEnabled()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardController.java92 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in showFeedbackDialog() local
93 if (!isFeedbackEnabled(email)) { in showFeedbackDialog()
99 feedbackIntent.putExtra(ContextualCardFeedbackDialog.EXTRA_FEEDBACK_EMAIL, email); in showFeedbackDialog()
105 boolean isFeedbackEnabled(String email) { in isFeedbackEnabled() argument
106 return !TextUtils.isEmpty(email) && Build.IS_DEBUGGABLE; in isFeedbackEnabled()
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DContactsPopulator.java237 for (Email email : contact.getEmails()) { in addContact()
244 .withValue(ContactsContract.CommonDataKinds.Email.DATA, email.value) in addContact()
245 .withValue(ContactsContract.CommonDataKinds.Email.TYPE, email.type) in addContact()
246 .withValue(ContactsContract.CommonDataKinds.Email.LABEL, email.label) in addContact()
313 Builder addEmail(Email email) { in addEmail() argument
314 emails.add(email); in addEmail()
/packages/apps/Contacts/src/com/android/contacts/
DSplitAggregateView.java121 String email; field in SplitAggregateView.RawContactInfo
133 if (email != null) { in getAdditionalData()
134 return email; in getAdditionalData()
205 if (info.email == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { in loadEmail()
206 info.email = cursor.getString(SplitQuery.EMAIL); in loadEmail()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java300 protected Uri insertEmail(long rawContactId, String email) { in insertEmail() argument
301 return insertEmail(rawContactId, email, false); in insertEmail()
304 protected Uri insertEmail(long rawContactId, String email, boolean primary) { in insertEmail() argument
305 return insertEmail(rawContactId, email, primary, Email.TYPE_HOME, null); in insertEmail()
308 protected Uri insertEmail(long rawContactId, String email, boolean primary, in insertEmail() argument
310 return insertEmail(rawContactId, email, primary, superPrimary, Email.TYPE_HOME, null); in insertEmail()
313 protected Uri insertEmail(long rawContactId, String email, boolean primary, int type, in insertEmail() argument
315 return insertEmail(rawContactId, email, primary, false, type, label); in insertEmail()
318 protected Uri insertEmail(long rawContactId, String email, boolean primary, in insertEmail() argument
323 values.put(Email.DATA, email); in insertEmail()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmessageBuilder.java129 List<EmailData> email = vcard.getEmailList(); in buildVcard() local
141 if (email != null && email.size() > 0) { in buildVcard()
142 mBmsg.append(VCARD_EMAIL).append(email.get(0).getAddress()).append(CRLF); in buildVcard()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardResourceEntry.java181 for (final EmailData email : vcard.getEmailList()) {
184 intent.putExtra(Intent.EXTRA_EMAIL, new String[] { email.getAddress() });
185 retList.add(new VCardResourceEntryDestinationItem(email.getAddress(),
186 Phone.getTypeLabel(resources, email.getType(),
187 email.getLabel()).toString(), intent));
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/proto/
Dcalendar.proto41 // This typically represents an email address.
96 // This is typically an email address.
121 // The attendee email.
122 string email = 2; field
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardFeedbackDialog.java54 final String email = getIntent().getStringExtra(EXTRA_FEEDBACK_EMAIL); in onClick() local
55 final Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.parse("mailto:" + email)); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardFeedbackDialog.java54 final String email = getIntent().getStringExtra(EXTRA_FEEDBACK_EMAIL); in onClick() local
55 final Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.parse("mailto:" + email)); in onClick()
/packages/apps/Messaging/tests/src/com/android/messaging/util/
DContactUtilTest.java68 final String name, final String phone, final String email, final boolean starred) in addTestContact() argument
95 if (email != null) { in addTestContact()
100 .withValue(ContactsContract.CommonDataKinds.Email.DATA, email) in addTestContact()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForEmail.java39 String email = values.getAsString(Email.DATA); in insert() local
44 String address = mDbHelper.insertNameLookupForEmail(rawContactId, dataId, email); in insert()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DContactsMatchers.java62 public static Matcher<Cursor> hasEmail(final String email) { in hasEmail() argument
66 ContactsContract.CommonDataKinds.Email.ADDRESS, email))); in hasEmail()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java702 for (ValuesDelta email : emails) { in addReadOnlyRawContactEditorViews()
703 final String emailAddress = email.getEmailData(); in addReadOnlyRawContactEditorViews()
708 if (email.hasEmailType()) { in addReadOnlyRawContactEditorViews()
710 res, email.getEmailType(), email.getEmailLabel()); in addReadOnlyRawContactEditorViews()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimContact.java103 for (String email : mEmails) { in appendCreateContactOperations()
105 Email.ADDRESS, email)); in appendCreateContactOperations()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java156 final EmailDataItem email = (EmailDataItem) item; in DataAction() local
157 final String address = email.getData(); in DataAction()
DQuickContactActivity.java1609 final EmailDataItem email = (EmailDataItem) dataItem; in dataItemToEntry() local
1610 final String address = email.getData(); in dataItemToEntry()
1616 header = email.getAddress(); in dataItemToEntry()
1620 if (email.hasKindTypeColumn(kind)) { in dataItemToEntry()
1621 text = Email.getTypeLabel(res, email.getKindTypeColumn(kind), in dataItemToEntry()
1622 email.getLabel()).toString(); in dataItemToEntry()
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dreadme.txt3 filled: With/Without name/email/phone.
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java393 public static CursorQueryData lookupEmail(final Context context, final String email) { in lookupEmail() argument
399 .appendPath(email).appendQueryParameter( in lookupEmail()
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java288 private Attendee.Builder newAttendee(String name, String email, Attendee.Status status,
292 .setEmail(email)
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java80 ContactData(String name, ArrayList<String> phone, ArrayList<String> email, in ContactData() argument
84 this.mEmail = email; in ContactData()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java928 String email = tokens[i].getAddress(); in getRecipientAddressingEmail() local
932 sb.append(email); in getRecipientAddressingEmail()
954 String email = tokens[i].getAddress(); in getRecipientAddressingEmail() local
958 sb.append(email); in getRecipientAddressingEmail()
979 String email = tokens[i].getAddress(); in getRecipientAddressingEmail() local
983 sb.append(email); in getRecipientAddressingEmail()
4143 StringBuilder email = new StringBuilder(""); in getEmailMessage() local
4147 email.append(new String(buffer, 0, count)); in getEmailMessage()
4154 message.setEmailBody(email.toString()); in getEmailMessage()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java548 for (String email : emails) { in appendCreateContact()
549 ops.add(insertIntoData(email, Email.CONTENT_ITEM_TYPE, Email.TYPE_HOME, index)); in appendCreateContact()

12