Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 77) sorted by relevance

1234

/packages/apps/Email/src/com/android/email/mail/
DAddress.java69 public Address(String address, String personal) { in Address() argument
70 setAddress(address); in Address()
74 public Address(String address) { in Address() argument
75 setAddress(address); in Address()
82 public void setAddress(String address) { in setAddress() argument
83 this.mAddress = REMOVE_OPTIONAL_BRACKET.matcher(address).replaceAll("$1");; in setAddress()
124 String address = token.getAddress(); in isAllValid() local
125 if (!TextUtils.isEmpty(address) && !isValidAddress(address)) { in isAllValid()
148 String address = token.getAddress(); in parse() local
149 if (!TextUtils.isEmpty(address)) { in parse()
[all …]
DMessage.java72 public void setRecipient(RecipientType type, Address address) throws MessagingException { in setRecipient() argument
74 address in setRecipient()
/packages/apps/Email/tests/src/com/android/email/mail/
DAddressUnitTests.java99 Address address = new Address(bareAddress); in testSetAddress() local
100 assertEquals("bare address", "user1@dom1.com", address.getAddress()); in testSetAddress()
102 address.setAddress(bracketAddress); in testSetAddress()
103 assertEquals("bracket address", "user2@dom2.com", address.getAddress()); in testSetAddress()
110 Address address = new Address("user1@dom1.org"); in testNullPersonal() local
111 assertNull("no name", address.getPersonal()); in testNullPersonal()
113 address.setPersonal(null); in testNullPersonal()
114 assertNull("null name", address.getPersonal()); in testNullPersonal()
116 address.setPersonal(""); in testNullPersonal()
117 assertNull("empty name", address.getPersonal()); in testNullPersonal()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/
DBuilder.java20 package org.apache.james.mime4j.field.address;
26 import org.apache.james.mime4j.field.address.parser.*;
27 import org.apache.james.mime4j.field.address.parser.ASTaddr_spec;
28 import org.apache.james.mime4j.field.address.parser.ASTaddress;
29 import org.apache.james.mime4j.field.address.parser.ASTaddress_list;
30 import org.apache.james.mime4j.field.address.parser.ASTangle_addr;
31 import org.apache.james.mime4j.field.address.parser.ASTdomain;
32 import org.apache.james.mime4j.field.address.parser.ASTgroup_body;
33 import org.apache.james.mime4j.field.address.parser.ASTlocal_part;
34 import org.apache.james.mime4j.field.address.parser.ASTmailbox;
[all …]
DAddressList.java20 package org.apache.james.mime4j.field.address;
22 import org.apache.james.mime4j.field.address.parser.AddressListParser;
23 import org.apache.james.mime4j.field.address.parser.ParseException;
/packages/apps/Gallery3D/src/com/cooliris/media/
DReverseGeocoder.java408 Address address = null; in lookupAddress() local
413 address = addresses.get(0); in lookupAddress()
416 Locale locale = address.getLocale(); in lookupAddress()
421 Utils.writeUTF(dos, address.getThoroughfare()); in lookupAddress()
422 int numAddressLines = address.getMaxAddressLineIndex(); in lookupAddress()
425 Utils.writeUTF(dos, address.getAddressLine(i)); in lookupAddress()
427 Utils.writeUTF(dos, address.getFeatureName()); in lookupAddress()
428 Utils.writeUTF(dos, address.getLocality()); in lookupAddress()
429 Utils.writeUTF(dos, address.getAdminArea()); in lookupAddress()
430 Utils.writeUTF(dos, address.getSubAdminArea()); in lookupAddress()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DBaseNode.java20 package org.apache.james.mime4j.field.address.parser;
22 import org.apache.james.mime4j.field.address.parser.Node;
23 import org.apache.james.mime4j.field.address.parser.Token;
DSimpleNode.java3 package org.apache.james.mime4j.field.address.parser;
5 public class SimpleNode extends org.apache.james.mime4j.field.address.parser.BaseNode implements No…
DAddressListParser.jj1 …mime4j-0.3/target/generated-sources/jjtree/org/apache/james/mime4j/field/address/parser/AddressLis…
23 * RFC2822 address list parser.
52 package org.apache.james.mime4j.field.address.parser;
118 [ address() ]
121 [ address() ]
146 void address() :
147 {/*@bgen(jjtree) address */
153 {/*@bgen(jjtree) address */
/packages/apps/Email/src/org/apache/james/mime4j/field/
DMailboxField.java26 import org.apache.james.mime4j.field.address.AddressList;
27 import org.apache.james.mime4j.field.address.Mailbox;
28 import org.apache.james.mime4j.field.address.MailboxList;
29 import org.apache.james.mime4j.field.address.parser.ParseException;
DMailboxListField.java26 import org.apache.james.mime4j.field.address.AddressList;
27 import org.apache.james.mime4j.field.address.MailboxList;
28 import org.apache.james.mime4j.field.address.parser.ParseException;
DAddressListField.java26 import org.apache.james.mime4j.field.address.AddressList;
27 import org.apache.james.mime4j.field.address.parser.ParseException;
/packages/inputmethods/LatinIME/native/src/
Ddictionary.cpp127 int address = 0; in getAddress() local
131 address += (mDict[*pos] & (ADDRESS_MASK >> 16)) << 16; in getAddress()
132 address += (mDict[*pos + 1] & 0xFF) << 8; in getAddress()
133 address += (mDict[*pos + 2] & 0xFF); in getAddress()
136 return address; in getAddress()
367 int address = 0; in getBigramAddress() local
369 address += (mDict[*pos] & 0x3F) << 16; in getBigramAddress()
370 address += (mDict[*pos + 1] & 0xFF) << 8; in getBigramAddress()
371 address += (mDict[*pos + 2] & 0xFF); in getBigramAddress()
377 return address; in getBigramAddress()
/packages/apps/Mms/src/com/android/mms/transaction/
DSmsReceiverService.java215 String address = c.getString(SEND_COLUMN_ADDRESS); in sendFirstQueuedMessage() local
223 address, msgText, threadId, status == Sms.STATUS_PENDING, in sendFirstQueuedMessage()
228 ", address: " + address + in sendFirstQueuedMessage()
452 String address = values.getAsString(Sms.ADDRESS); in storeMessage() local
453 if (!TextUtils.isEmpty(address)) { in storeMessage()
454 Contact cacheContact = Contact.get(address,true); in storeMessage()
456 address = cacheContact.getNumber(); in storeMessage()
459 address = getString(R.string.unknown_sender); in storeMessage()
460 values.put(Sms.ADDRESS, address); in storeMessage()
463 if (((threadId == null) || (threadId == 0)) && (address != null)) { in storeMessage()
[all …]
DMessagingNotification.java302 String address = AddressUtils.getFrom(context, msgUri); in getMmsNewMessageNotificationInfo() local
310 ", first addr = " + address + ", thread_id=" + threadId); in getMmsNewMessageNotificationInfo()
314 address, subject, context, in getMmsNewMessageNotificationInfo()
342 String address = cursor.getString(COLUMN_SMS_ADDRESS); in getSmsNewDeliveryInfo()
346 context.getString(R.string.delivery_toast_body), address), in getSmsNewDeliveryInfo()
370 String address = cursor.getString(COLUMN_SMS_ADDRESS); in getSmsNewMessageNotificationInfo() local
378 ", first addr=" + address + ", thread_id=" + threadId); in getSmsNewMessageNotificationInfo()
382 address, body, context, R.drawable.stat_notify_sms, in getSmsNewMessageNotificationInfo()
397 String address, in getNewMessageNotificationInfo() argument
411 context, address, null, null).toString(); in getNewMessageNotificationInfo()
[all …]
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java206 for (Address address : to) { in sendMessage()
207 executeSimpleCommand("RCPT TO: " + "<" + address.getAddress() + ">"); in sendMessage()
209 for (Address address : cc) { in sendMessage()
210 executeSimpleCommand("RCPT TO: " + "<" + address.getAddress() + ">"); in sendMessage()
212 for (Address address : bcc) { in sendMessage()
213 executeSimpleCommand("RCPT TO: " + "<" + address.getAddress() + ">"); in sendMessage()
/packages/apps/Mms/tests/src/com/android/mms/
DRecyclerTest.java141 private Uri storeMessage(Context context, String address, String message) { in storeMessage() argument
145 values.put(Inbox.ADDRESS, address); in storeMessage()
162 Contact cacheContact = Contact.get(address,true); in storeMessage()
164 address = cacheContact.getNumber(); in storeMessage()
167 if (((threadId == null) || (threadId == 0)) && (address != null)) { in storeMessage()
169 context, address)); in storeMessage()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java99 mAddress = (EditText) findViewById(R.id.address); in onCreate()
206 WebAddress address; in save() local
208 address = new WebAddress(unfilteredUrl); in save()
212 if (address.mHost.length() == 0) { in save()
215 url = address.toString(); in save()
/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java52 List<Address> address = in doInBackground() local
55 for (Address addr : address) { in doInBackground()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageListAdapter.java220 public void notifyImageLoaded(String address) { in notifyImageLoaded() argument
221 HashSet<MessageListItem> set = mAddressToMessageListItems.get(address); in notifyImageLoaded()
491 ContactData(String address) { in ContactData() argument
492 mAddress = address; in ContactData()
653 public ContactData get(final String address) { in get() argument
654 if (mImageCache.containsKey(address)) { in get()
655 return mImageCache.get(address); in get()
660 ContactData cookie = new ContactData(address); in get()
661 mImageCache.put(address, cookie); in get()
DMessageUtils.java934 private static String parsePhoneNumberForMms(String address) { in parsePhoneNumberForMms() argument
936 int len = address.length(); in parsePhoneNumberForMms()
939 char c = address.charAt(i); in parsePhoneNumberForMms()
962 public static boolean isValidMmsAddress(String address) { in isValidMmsAddress() argument
963 String retVal = parseMmsAddress(address); in isValidMmsAddress()
973 public static String parseMmsAddress(String address) { in parseMmsAddress() argument
975 if (Mms.isEmailAddress(address)) { in parseMmsAddress()
976 return address; in parseMmsAddress()
980 String retVal = parsePhoneNumberForMms(address); in parseMmsAddress()
986 if (isAlias(address)) { in parseMmsAddress()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DEmailAddressAdapter.java60 String address = cursor.getString(DATA_INDEX); in makeDisplayString() local
62 return new Rfc822Token(name, address, null).toString(); in makeDisplayString()
/packages/apps/Email/src/com/android/email/
DEmailAddressAdapter.java57 String address = cursor.getString(DATA_INDEX); in convertToString() local
59 return new Address(address, name).toString(); in convertToString()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java219 String address = null;
221 address = mAddressView.getText().toString();
222 Log.v(Constants.TAG, "Send to address " + address);
224 if (address == null) {
225 address = "00:17:83:58:5D:CC";
252 values.put(BluetoothShare.DESTINATION, address);
/packages/apps/Email/src/com/android/exchange/provider/
DExchangeProvider.java59 private static void addGalDataRow(MatrixCursor mc, long id, String name, String address) { in addGalDataRow() argument
60 mc.newRow().add(id).add(name).add(address); in addGalDataRow()

1234