/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | AddressUnitTests.java | 249 Address[] addresses = Address.parse("address1@dom1.net, <address2@dom2.com>"); in brokentestParsingAddress() local 250 assertEquals("address count", 2, addresses.length); in brokentestParsingAddress() 252 assertEquals("bare address", "address1@dom1.net", addresses[0].getAddress()); in brokentestParsingAddress() 253 assertNull("bare address name", addresses[0].getPersonal()); in brokentestParsingAddress() 255 assertEquals("bracket address", "address2@dom2.com", addresses[1].getAddress()); in brokentestParsingAddress() 256 assertNull("bracket address name", addresses[1].getPersonal()); in brokentestParsingAddress() 263 Address[] addresses = Address.parse( in brokentestParsingSimpleName() local 266 assertEquals("address count", 2, addresses.length); in brokentestParsingSimpleName() 268 assertEquals("bare name address", "address1@dom1.net", addresses[0].getAddress()); in brokentestParsingSimpleName() 269 assertEquals("bare name", "name 1", addresses[0].getPersonal()); in brokentestParsingSimpleName() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Address.java | 216 ArrayList<Address> addresses = new ArrayList<Address>(); in parse() local 226 addresses.add(new Address(name, address)); in parse() 230 return addresses.toArray(new Address[] {}); in parse() 288 public static String toString(Address[] addresses) { in toString() argument 289 return toString(addresses, ADDRESS_DELIMETER); in toString() 299 public static String toString(Address[] addresses, String separator) { in toString() argument 300 if (addresses == null || addresses.length == 0) { in toString() 303 if (addresses.length == 1) { in toString() 304 return addresses[0].toString(); in toString() 306 StringBuffer sb = new StringBuffer(addresses[0].toString()); in toString() [all …]
|
D | Message.java | 546 public static String[] tokenizeAddresses(String addresses) { in tokenizeAddresses() argument 547 if (TextUtils.isEmpty(addresses)) { in tokenizeAddresses() 551 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(addresses); in tokenizeAddresses()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Address.java | 158 ArrayList<Address> addresses = new ArrayList<Address>(); in parse() local 168 addresses.add(new Address(address, name)); in parse() 172 return addresses.toArray(new Address[] {}); in parse() 258 public static String toString(Address[] addresses) { in toString() argument 259 return toString(addresses, ","); in toString() 269 public static String toString(Address[] addresses, String separator) { in toString() argument 270 if (addresses == null || addresses.length == 0) { in toString() 273 if (addresses.length == 1) { in toString() 274 return addresses[0].toString(); in toString() 276 StringBuffer sb = new StringBuffer(addresses[0].toString()); in toString() [all …]
|
D | Message.java | 69 public abstract void setRecipients(RecipientType type, Address[] addresses) in setRecipients() argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageHeaderDetailsDialogFragment.java | 74 final Bundle addresses = new Bundle(); in newInstance() local 75 addAddressesToBundle(addresses, addressCache, from); in newInstance() 76 addAddressesToBundle(addresses, addressCache, replyTo); in newInstance() 77 addAddressesToBundle(addresses, addressCache, to); in newInstance() 78 addAddressesToBundle(addresses, addressCache, cc); in newInstance() 79 addAddressesToBundle(addresses, addressCache, bcc); in newInstance() 80 args.putBundle(ARG_ADDRESS_CACHE, addresses); in newInstance() 94 Bundle addresses, Map<String, Address> addressCache, String[] emails) { in addAddressesToBundle() argument 96 addresses.putParcelable(email, MessageHeaderView.getAddress(addressCache, email)); in addAddressesToBundle() 110 final Bundle addresses = args.getBundle(ARG_ADDRESS_CACHE); in onCreateDialog() local [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
D | AddressList.java | 35 private ArrayList<Address> addresses; field in AddressList 41 public AddressList(ArrayList<Address> addresses, boolean dontCopy) { in AddressList() argument 42 if (addresses != null) in AddressList() 43 this.addresses = (dontCopy ? addresses : new ArrayList<Address>(addresses)); in AddressList() 45 this.addresses = new ArrayList<Address>(0); in AddressList() 52 return addresses.size(); in size() 61 return addresses.get(index); in get() 80 return new MailboxList(addresses, true); in flatten()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeMessage.java | 277 public void setRecipients(RecipientType type, Address[] addresses) throws MessagingException { in setRecipients() argument 282 if (addresses == null || addresses.length == 0) { in setRecipients() 286 setHeader("To", MimeUtility.fold(Address.toHeader(addresses), TO_LENGTH)); in setRecipients() 287 this.mTo = addresses; in setRecipients() 290 if (addresses == null || addresses.length == 0) { in setRecipients() 294 setHeader("CC", MimeUtility.fold(Address.toHeader(addresses), CC_LENGTH)); in setRecipients() 295 this.mCc = addresses; in setRecipients() 298 if (addresses == null || addresses.length == 0) { in setRecipients() 302 setHeader("BCC", MimeUtility.fold(Address.toHeader(addresses), BCC_LENGTH)); in setRecipients() 303 this.mBcc = addresses; in setRecipients()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 140 Address[] addresses = Address.parse(to); in buildTestMessage() local 141 message.setRecipients(RecipientType.TO, addresses); in buildTestMessage() 144 Address[] addresses = Address.parse(cc); in buildTestMessage() local 145 message.setRecipients(RecipientType.CC, addresses); in buildTestMessage() 148 Address[] addresses = Address.parse(bcc); in buildTestMessage() local 149 message.setRecipients(RecipientType.BCC, addresses); in buildTestMessage() 152 Address[] addresses = Address.parse(replyTo); in buildTestMessage() local 153 message.setReplyTo(addresses); in buildTestMessage() 156 Address[] addresses = Address.parse(sender); in buildTestMessage() local 157 message.setFrom(addresses[0]); in buildTestMessage()
|
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
D | ContactPhotoManager.java | 175 Set<String> addresses = new HashSet<String>(); in loadPhotos() local 188 addresses.add(emailAddress); in loadPhotos() 195 getResolver(), addresses, false /* decodeBitmaps */); in loadPhotos() 202 for (final String address : addresses) { in loadPhotos() 210 for (final String address: addresses) { in loadPhotos()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 1754 private void addToAddresses(Collection<String> addresses) { in addToAddresses() argument 1755 addAddressesToList(addresses, mTo); in addToAddresses() 1758 private void addCcAddresses(Collection<String> addresses, Collection<String> toAddresses) { in addCcAddresses() argument 1759 addCcAddressesToList(tokenizeAddressList(addresses), in addCcAddresses() 1763 private void addBccAddresses(Collection<String> addresses) { in addBccAddresses() argument 1764 addAddressesToList(addresses, mBcc); in addBccAddresses() 1768 protected void addCcAddressesToList(List<Rfc822Token[]> addresses, in addCcAddressesToList() argument 1773 for (Rfc822Token[] tokens : addresses) { in addCcAddressesToList() 1781 for (Rfc822Token[] tokens : addresses) { in addCcAddressesToList() 1804 protected List<Rfc822Token[]> tokenizeAddressList(Collection<String> addresses) { in tokenizeAddressList() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 361 String addresses = ""; in formatIpAddresses() 363 addresses += iter.next().getHostAddress(); in formatIpAddresses() 364 if (iter.hasNext()) addresses += "\n"; in formatIpAddresses() 366 return addresses; in formatIpAddresses()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ContextMap.java | 196 Set<String> addresses = new HashSet<String>(); in getConnectedDevices() local 200 addresses.add(connection.address); in getConnectedDevices() 202 return addresses; in getConnectedDevices()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 320 List<Address> addresses = mGeocoder.getFromLocation(latitude, longitude, 1); in lookupAddress() local 321 if (!addresses.isEmpty()) { in lookupAddress() 322 address = addresses.get(0); in lookupAddress()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventHelper.java | 575 LinkedHashSet<Rfc822Token> addresses = new LinkedHashSet<Rfc822Token>(); in getAddressesFromList() local 576 Rfc822Tokenizer.tokenize(list, addresses); in getAddressesFromList() 578 return addresses; in getAddressesFromList() 583 Iterator<Rfc822Token> addressIterator = addresses.iterator(); in getAddressesFromList() 591 return addresses; in getAddressesFromList()
|
D | AttendeesView.java | 386 final LinkedHashSet<Rfc822Token> addresses = in addAttendees() local 389 for (final Rfc822Token address : addresses) { in addAttendees()
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | MailPrefs.java | 298 public void setSenderWhitelist(Set<String> addresses) { in setSenderWhitelist() argument 299 getEditor().putStringSet(PreferenceKeys.DISPLAY_IMAGES, addresses).apply(); in setSenderWhitelist()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnDialog.java | 277 private boolean validateAddresses(String addresses, boolean cidr) { in validateAddresses() argument 279 for (String address : addresses.split(" ")) { in validateAddresses()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsProvider.java | 542 private Set<Long> getAddressIds(List<String> addresses) { in getAddressIds() argument 543 Set<Long> result = new HashSet<Long>(addresses.size()); in getAddressIds() 545 for (String address : addresses) { in getAddressIds()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMmsEmail.java | 264 ArrayList<Rfc822Token> addresses) { in encodeHeaderAddresses() argument 273 for(Rfc822Token address : addresses) { in encodeHeaderAddresses()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 451 final LinkedHashSet<Rfc822Token> addresses = EditEventHelper.getAddressesFromList( in addAttendees() local 454 for (final Rfc822Token address : addresses) { in addAttendees()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationUtils.java | 1300 private static ArrayList<Long> findContacts(Context context, Collection<String> addresses) { in findContacts() argument 1303 String[] questionMarks = new String[addresses.size()]; in findContacts() 1305 whereArgs.addAll(addresses); in findContacts()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_wordlist.combined.gz |
|