Home
last modified time | relevance | path

Searched refs:Address (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DAddress.java39 public class Address implements Parcelable { class
76 private static final Address[] EMPTY_ADDRESS_ARRAY = new Address[0];
85 public Address(String address) { in Address() method in Address
89 public Address(String address, String personal) { in Address() method in Address
121 public static synchronized Address getEmailAddress(String rawAddress) { in getEmailAddress()
136 return new Address(address, name); in getEmailAddress()
212 public static Address[] parse(String addressList) { in parse()
217 ArrayList<Address> addresses = new ArrayList<Address>(); in parse()
227 addresses.add(new Address(address, name)); in parse()
231 return addresses.toArray(new Address[addresses.size()]); in parse()
[all …]
DMessage.java71 public abstract Address[] getRecipients(String type) throws MessagingException; in getRecipients()
73 public abstract void setRecipients(String type, Address[] addresses) throws MessagingException; in setRecipients()
75 public void setRecipient(String type, Address address) throws MessagingException { in setRecipient()
76 setRecipients(type, new Address[] {address}); in setRecipient()
79 public abstract Address[] getFrom() throws MessagingException; in getFrom()
81 public abstract void setFrom(Address from) throws MessagingException; in setFrom()
83 public abstract Address[] getReplyTo() throws MessagingException; in getReplyTo()
85 public abstract void setReplyTo(Address[] from) throws MessagingException; in setReplyTo()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java21 import com.android.voicemail.impl.mail.Address;
62 private Address[] from;
63 private Address[] to;
64 private Address[] cc;
65 private Address[] bcc;
66 private Address[] replyTo;
264 public Address[] getRecipients(String type) throws MessagingException { in getRecipients()
267 to = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); in getRecipients()
272 cc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); in getRecipients()
277 bcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); in getRecipients()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsAddressResolver.java20 import android.location.Address;
36 private Future<Address> mAddressLookupJob;
39 private class AddressLookupJob implements Job<Address> {
47 public Address run(JobContext jc) { in run()
66 new FutureListener<Address>() { in resolveAddress()
68 public void onFutureDone(final Future<Address> future) { in resolveAddress()
83 private void updateLocation(Address address) { in updateLocation()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java20 import android.location.Address;
76 private static Address sCurrentAddress; // last known address
101 Address addr1 = lookupAddress(setMinLatitude, setMinLongitude, true); in computeAddress()
102 Address addr2 = lookupAddress(setMaxLatitude, setMaxLongitude, true); in computeAddress()
127 Address currentAddress = lookupAddress( in computeAddress()
284 private String getLocalityAdminForAddress(final Address addr, final boolean approxLocation) { in getLocalityAdminForAddress()
305 public Address lookupAddress(final double latitude, final double longitude, in lookupAddress()
314 Address address = null; in lookupAddress()
320 List<Address> addresses = mGeocoder.getFromLocation(latitude, longitude, 1); in lookupAddress()
374 address = new Address(locale); in lookupAddress()
/packages/apps/TV/common/src/com/android/tv/common/util/
DLocationUtils.java20 import android.location.Address;
49 private static Address sAddress;
54 public static synchronized Address getCurrentAddress(Context context) in getCurrentAddress()
78 Address address = getCurrentAddress(context); in getCurrentPostalCode()
101 boolean onUpdateAddress(Address address); in onUpdateAddress()
150 List<Address> addresses = in updateAddress()
/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java19 import android.location.Address;
52 List<Address> address = in doInBackground()
55 for (Address addr : address) { in doInBackground()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMediaView.java20 import android.location.Address;
218 new AsyncTask<Float, Void, Address>() { in getAddress()
220 protected Address doInBackground(Float... coords) { in getAddress()
224 Address address = geocoder.getFromLocation(coords[0], // latitude in getAddress()
234 protected void onPostExecute(@Nullable Address address) { in getAddress()
/packages/apps/Dialer/java/com/android/incallui/bindings/
DDistanceHelper.java19 import android.location.Address;
30 float calculateDistance(Address address); in calculateDistance()
DContactUtils.java19 import android.location.Address;
31 void onContactInteractionsFound(Address address, List<Pair<Calendar, Calendar>> openingHours); in onContactInteractionsFound()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLocationFragment.java22 import android.location.Address;
156 Address address = LocationUtils.getCurrentAddress(getActivity()); in onRequestPermissionsResult()
183 public boolean onUpdateAddress(Address address) { in onUpdateAddress()
/packages/modules/DnsResolver/
Dstats.proto113 NS_T_AAAA = 28; // IPv6 Address.
119 NS_T_ATMA = 34; // ATM Address
127 NS_T_APL = 42; // Address prefix list (RFC 3123)
310 SYS_EAFNOSUPPORT = 97; // Address family not supported by protocol family
311 SYS_EADDRINUSE = 98; // Address already in use
312 SYS_EADDRNOTAVAIL = 99; // Address not available
/packages/modules/DnsResolver/tests/testdata/
Dgetaddrinfo.topsite.google.pbtxt52 # Address: 2404:6800:4004:80f::2004
85 "\xac\xd9\x1a\x04" # Address: 172.217.26.4
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java25 import android.location.Address;
262 List<Address> addresses = in doInBackground()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java36 import com.android.voicemail.impl.mail.Address;
275 private String getNumber(Address[] fromAddresses) { in getNumber()