/external/protobuf/examples/ |
add_person_test.go | 35 if got.Email != "name@example.com" { 36 t.Errorf("promptForAddress(%q) => want email %q, got %q", "name@example.com", got.Email)
|
list_people.go | 17 if p.Email != "" { 18 fmt.Fprintln(w, " E-mail address:", p.Email)
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
GoogleAccountType.java | 21 import android.provider.ContactsContract.CommonDataKinds.Email; 112 kind.typeColumn = Email.TYPE; 114 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); 115 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); 116 kind.typeList.add(buildEmailType(Email.TYPE_OTHER)); 117 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( 118 Email.LABEL)); 121 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL));
|
SamsungAccountType.java | 21 import android.provider.ContactsContract.CommonDataKinds.Email; 156 kind.typeColumn = Email.TYPE; 158 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); 159 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); 160 kind.typeList.add(buildEmailType(Email.TYPE_OTHER)); 161 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( 162 Email.LABEL)); 165 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL));
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
ImDataItem.java | 22 import android.provider.ContactsContract.CommonDataKinds.Email; 52 return getContentValues().getAsString(Email.DATA);
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
GoogleAccountType.java | 21 import android.provider.ContactsContract.CommonDataKinds.Email; 108 kind.typeColumn = Email.TYPE; 110 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); 111 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); 112 kind.typeList.add(buildEmailType(Email.TYPE_OTHER)); 114 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL)); 117 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL));
|
SamsungAccountType.java | 21 import android.provider.ContactsContract.CommonDataKinds.Email; 153 kind.typeColumn = Email.TYPE; 155 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); 156 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); 157 kind.typeList.add(buildEmailType(Email.TYPE_OTHER)); 159 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL)); 162 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL));
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
ImDataItem.java | 21 import android.provider.ContactsContract.CommonDataKinds.Email; 50 return getContentValues().getAsString(Email.DATA);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
GoogleSource.java | 36 import android.provider.ContactsContract.CommonDataKinds.Email; 111 kind.typeColumn = Email.TYPE; 113 kind.typeList.add(buildEmailType(Email.TYPE_HOME)); 114 kind.typeList.add(buildEmailType(Email.TYPE_WORK)); 115 kind.typeList.add(buildEmailType(Email.TYPE_OTHER)); 116 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( 117 Email.LABEL)); 120 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL));
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactOperations.java | 27 import android.provider.ContactsContract.CommonDataKinds.Email; 155 * Adds an email 157 * @param the email address we're adding 160 public ContactOperations addEmail(String email) { 162 if (!TextUtils.isEmpty(email)) { 163 mValues.put(Email.DATA, email); 164 mValues.put(Email.TYPE, Email.TYPE_OTHER); 165 mValues.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE) [all...] |
/external/protobuf/csharp/src/AddressBook/ |
Addressbook.cs | 38 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Examples.AddressBook.Person), global::Google.Protobuf.Examples.AddressBook.Person.Parser, new[]{ "Name", "Id", "Email", "Phones" }, null, new[]{ typeof(global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneType) }, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber), global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber.Parser, new[]{ "Number", "Type" }, null, null, null)}), 102 /// <summary>Field number for the "email" field.</summary> 105 public string Email { 134 if (Email != other.Email) return false; 143 if (Email.Length != 0) hash ^= Email.GetHashCode(); 161 if (Email.Length != 0) { 163 output.WriteString(Email); 176 if (Email.Length != 0) [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardExporterTests.java | 26 import android.provider.ContactsContract.CommonDataKinds.Email; [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactsUtils.java | 33 import android.provider.ContactsContract.CommonDataKinds.Email; 62 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 63 colType = cursor.getColumnIndex(Email.TYPE); 64 colLabel = cursor.getColumnIndex(Email.LABEL); 92 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { 93 defaultType = Email.TYPE_HOME; 94 customType = Email.TYPE_CUSTOM; 232 * {@link Email} row. Returns null when missing protocol or data. 235 final boolean isEmail = Email.CONTENT_ITEM_TYPE.equals(values.getAsString(Data.MIMETYPE)); 244 String data = values.getAsString(isEmail ? Email.DATA : Im.DATA) [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
DataUsageStatUpdater.java | 26 import android.provider.ContactsContract.CommonDataKinds.Email; 44 * Applications like Email, Sms, etc. can promote recipients for better sorting with this class 96 * Update usage statistics information using a list of email addresses. 116 // Email.ADDRESS == Email.DATA1. Email.ADDRESS can be available from API Level 11. 117 whereBuilder.append(Email.DATA1 + " IN (") 120 final Cursor cursor = mResolver.query(Email.CONTENT_URI, 121 new String[] {Email.CONTACT_ID, Email._ID}, whereBuilder.toString() [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
EmailTest.java | 75 class TestEmail extends Email { 143 * Ensure that the email body is passed correctly to the mailer program's standard input 178 * Ensure that the email is sent correctly even if the message has an empty (but present) 188 * Ensure that the email is sent correctly even if the message has an empty (but present) body. 197 * A short functional test to send an email somewhere. Intended to be manually enabled with 198 * appropriate email addresses to verify that Email functionality is working after changes. 208 final String subject = "This is a TF test email"; 231 final IEmail mailer = new Email(); 240 * Helper function that takes a full email and splits it into the headers and the body [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ContactsTest.java | 37 import android.provider.ContactsContract.CommonDataKinds.Email; 73 // details of a sample primary and a sample managed contact, with the same phone & email [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
SimContact.java | 24 import android.provider.ContactsContract.CommonDataKinds.Email; 103 for (String email : mEmails) { 104 ops.add(createInsertOp(rawContactOpIndex, Email.CONTENT_ITEM_TYPE, 105 Email.ADDRESS, email));
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DataUtil.java | 62 public static long insertEmail(ContentResolver resolver, long rawContactId, String email) { 64 values.put(ContactsContract.Data.MIMETYPE, CommonDataKinds.Email.CONTENT_ITEM_TYPE); 65 values.put(CommonDataKinds.Email.ADDRESS, email);
|
/developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 50 // display name, email address and phone number. In this case, the query was extracted 101 int emailColumnIndex = cursor.getColumnIndex(CommonDataKinds.Email.ADDRESS); 126 } else if (mimeType.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) {
|
/developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 50 // display name, email address and phone number. In this case, the query was extracted 101 int emailColumnIndex = cursor.getColumnIndex(CommonDataKinds.Email.ADDRESS); 126 } else if (mimeType.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) {
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 89 // Also, be aware that type IDs differ between Phone and Email, and MUST be computed 97 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_HOME); 98 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_WORK); 99 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_MOBILE); 100 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_OTHER); 122 // Populate list of account types for email 127 adapter.add(ContactsContract.CommonDataKinds.Email.getTypeLabel( 174 String email = mContactEmailEditText.getText().toString(); local 206 ContactsContract.CommonDataKinds.Email.CONTENT_ITEM_TYPE) 207 .withValue(ContactsContract.CommonDataKinds.Email.DATA, email [all...] |
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
ContactablesLoaderCallbacks.java | 50 // display name, email address and phone number. In this case, the query was extracted 101 int emailColumnIndex = cursor.getColumnIndex(CommonDataKinds.Email.ADDRESS); 126 } else if (mimeType.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) {
|
/external/toolchain-utils/deprecated/ |
sheriff_rotation.py | 7 appropriately and sends out email notifying the team. 74 def Email(self): 89 '--email', 90 dest='email', 92 help='Email the sheriff.') 114 if options.email: 115 sheriff_handler.Email()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
RawContactModifierTests.java | 22 import android.provider.ContactsContract.CommonDataKinds.Email; 110 // Email is unlimited 111 final DataKind emailKind = new DataKind(Email.CONTENT_ITEM_TYPE, -1, 10, true); 114 emailKind.fieldList.add(new EditField(Email.DATA, -1, -1)); [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
ContactsMatchers.java | 62 public static Matcher<Cursor> hasEmail(final String email) { 64 hasMimeType(ContactsContract.CommonDataKinds.Email.CONTENT_ITEM_TYPE), 66 ContactsContract.CommonDataKinds.Email.ADDRESS, email)));
|