Home
last modified time | relevance | path

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

123

/packages/modules/AppSearch/testing/servicestests/src/android/app/appsearch/testutil/external/testutil/
DAppSearchEmailTest.java27 AppSearchEmail email = in testBuildEmailAndGetValue() local
40 assertThat(email.getNamespace()).isEqualTo("namespace"); in testBuildEmailAndGetValue()
41 assertThat(email.getId()).isEqualTo("id"); in testBuildEmailAndGetValue()
42 assertThat(email.getFrom()).isEqualTo("FakeFromAddress"); in testBuildEmailAndGetValue()
43 assertThat(email.getTo()).isNull(); in testBuildEmailAndGetValue()
44 assertThat(email.getCc()).asList().containsExactly("CC1", "CC2"); in testBuildEmailAndGetValue()
45 assertThat(email.getBcc()).isNull(); in testBuildEmailAndGetValue()
46 assertThat(email.getScore()).isEqualTo(1); in testBuildEmailAndGetValue()
47 assertThat(email.getPropertyString("propertyKey")).isEqualTo("propertyValue1"); in testBuildEmailAndGetValue()
48 assertThat(email.getPropertyStringArray("propertyKey")) in testBuildEmailAndGetValue()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardControllerTest.java151 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_hasFeedbackEmail_debug_returnTrue() local
153 assertThat(mController.isFeedbackEnabled(email)).isTrue(); in isFeedbackEnabled_hasFeedbackEmail_debug_returnTrue()
160 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_hasFeedbackEmail_user_returnFalse() local
162 assertThat(mController.isFeedbackEnabled(email)).isFalse(); in isFeedbackEnabled_hasFeedbackEmail_user_returnFalse()
168 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_noFeedbackEmail_debug_returnFalse() local
170 assertThat(mController.isFeedbackEnabled(email)).isFalse(); in isFeedbackEnabled_noFeedbackEmail_debug_returnFalse()
176 final String email = mContext.getString(R.string.config_contextual_card_feedback_email); in isFeedbackEnabled_noFeedbackEmail_user_returnFalse() local
178 assertThat(mController.isFeedbackEnabled(email)).isFalse(); in isFeedbackEnabled_noFeedbackEmail_user_returnFalse()
/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/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/modules/Wifi/service/java/com/android/server/wifi/util/
DCertificateSubjectInfo.java43 public String email = ""; field in CertificateSubjectInfo
77 } else if (s.startsWith(EMAILADDRESS_OID_PREFIX) && TextUtils.isEmpty(info.email)) { in parse()
80 info.email = new String( in parse()
137 .append(", Contact=").append(email); in toString()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoginViewModel.java46 public void login(String email, String password) { in login() argument
47 if (email.isEmpty() || password.isEmpty()) { in login()
54 .signInWithEmailAndPassword(email, password) in login()
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DBmessageBuilder.java132 List<EmailData> email = vcard.getEmailList(); in buildVcard() local
144 if (email != null && email.size() > 0) { in buildVcard()
145 mBmsg.append(VCARD_EMAIL).append(email.get(0).getAddress()).append(CRLF); in buildVcard()
/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/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DContactPoint.java184 public Builder addEmail(@NonNull String email) { in addEmail() argument
185 Objects.requireNonNull(email); in addEmail()
186 mEmails.add(email); in addEmail()
/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/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/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/appsearchtypes/
DContactPointTest.java40 for (String email : emails) { in testBuilder()
41 contactPointBuilder.addEmail(email); in testBuilder()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java318 protected Uri insertEmail(long rawContactId, String email) { in insertEmail() argument
319 return insertEmail(rawContactId, email, false); in insertEmail()
322 protected Uri insertEmail(long rawContactId, String email, boolean primary) { in insertEmail() argument
323 return insertEmail(rawContactId, email, primary, Email.TYPE_HOME, null); in insertEmail()
326 protected Uri insertEmail(long rawContactId, String email, boolean primary, in insertEmail() argument
328 return insertEmail(rawContactId, email, primary, superPrimary, Email.TYPE_HOME, null); in insertEmail()
331 protected Uri insertEmail(long rawContactId, String email, boolean primary, int type, in insertEmail() argument
333 return insertEmail(rawContactId, email, primary, false, type, label); in insertEmail()
336 protected Uri insertEmail(long rawContactId, String email, boolean primary, in insertEmail() argument
341 values.put(Email.DATA, email); in insertEmail()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForEmail.java45 String email = values.getAsString(Email.DATA); in insert() local
50 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/Messaging/tests/src/com/android/messaging/util/
DContactUtilTest.java69 final String name, final String phone, final String email, final boolean starred) in addTestContact() argument
96 if (email != null) { in addTestContact()
101 .withValue(ContactsContract.CommonDataKinds.Email.DATA, email) in addTestContact()
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dreadme.txt3 filled: With/Without name/email/phone.
/packages/modules/Bluetooth/android/pandora/mmi2grpc/
Dpyproject.toml3 authors = [{name = "Pandora", email = "pandora-core@google.com"}] qkey
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java499 GenericDocument email = in testQuery_wildcardProjection_polymorphism() local
508 .addGenericDocuments(email, text) in testQuery_wildcardProjection_polymorphism()
609 GenericDocument email = in testQuery_wildcardFilterSchema_polymorphism() local
619 .addGenericDocuments(email, text) in testQuery_wildcardFilterSchema_polymorphism()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimContact.java103 for (String email : mEmails) { in appendCreateContactOperations()
105 Email.ADDRESS, email)); in appendCreateContactOperations()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java648 GenericDocument email = in testQuery_wildcardProjection_polymorphism() local
657 .addGenericDocuments(email, text) in testQuery_wildcardProjection_polymorphism()
757 GenericDocument email = in testQuery_wildcardFilterSchema_polymorphism() local
767 .addGenericDocuments(email, text) in testQuery_wildcardFilterSchema_polymorphism()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DPersonBuilderHelper.java192 public PersonBuilderHelper addEmailToPerson(@NonNull String label, @NonNull String email) { in addEmailToPerson() argument
195 .addEmail(Objects.requireNonNull(email)); in addEmailToPerson()
DContactDataHandler.java271 String email = data.get(Email.ADDRESS); in addContactPointData() local
272 if (!TextUtils.isEmpty(email)) { in addContactPointData()
273 builderHelper.addEmailToPerson(label, email); in addContactPointData()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java714 for (ValuesDelta email : emails) { in addReadOnlyRawContactEditorViews()
715 final String emailAddress = email.getEmailData(); in addReadOnlyRawContactEditorViews()
720 if (email.hasEmailType()) { in addReadOnlyRawContactEditorViews()
722 res, email.getEmailType(), email.getEmailLabel()); in addReadOnlyRawContactEditorViews()

123