/external/smack/src/org/jivesoftware/smack/ |
RosterListener.java | 39 * @param addresses the XMPP addresses of the contacts that have been added to the roster. 41 public void entriesAdded(Collection<String> addresses); 46 * @param addresses the XMPP addresses of the contacts whose entries have been updated. 48 public void entriesUpdated(Collection<String> addresses); 53 * @param addresses the XMPP addresses of the contacts that have been removed from the roster. 55 public void entriesDeleted(Collection<String> addresses);
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
AddressUnitTests.java | 249 Address[] addresses = Address.parse("address1@dom1.net, <address2@dom2.com>"); local 250 assertEquals("address count", 2, addresses.length); 252 assertEquals("bare address", "address1@dom1.net", addresses[0].getAddress()); 253 assertNull("bare address name", addresses[0].getPersonal()); 255 assertEquals("bracket address", "address2@dom2.com", addresses[1].getAddress()); 256 assertNull("bracket address name", addresses[1].getPersonal()); 263 Address[] addresses = Address.parse( local 266 assertEquals("address count", 2, addresses.length); 268 assertEquals("bare name address", "address1@dom1.net", addresses[0].getAddress()); 269 assertEquals("bare name", "name 1", addresses[0].getPersonal()) 279 Address[] addresses = Address.parse( local 298 Address[] addresses = Address.parse( local 317 Address[] addresses = Address.parse(MULTI_ADDRESSES_LIST); local 347 Address[] addresses = Address.parse(MULTI_ADDRESSES_LIST); local 374 final Address[] addresses = Address.parse(MULTI_ADDRESSES_LIST); local 429 Address[] addresses = Address.parse( local 514 Address[] addresses = new Address[] { local [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
Address.java | 127 * This method is used to check that all the addresses that the user 147 * Parse a comma-delimited list of addresses in RFC822 format and return an 151 * @return An array of 0 or more Addresses. 158 ArrayList<Address> addresses = new ArrayList<Address>(); local 168 addresses.add(new Address(address, name)); 172 return addresses.toArray(new Address[] {}); 255 * @param addresses Address array 258 public static String toString(Address[] addresses) { 259 return toString(addresses, ","); 265 * @param addresses Address arra 408 ArrayList<Address> addresses = new ArrayList<Address>(); local [all...] |
/external/chromium_org/net/dns/ |
address_sorter_posix_unittest.cc | 160 // Verify that NULL-terminated |addresses| matches (-1)-terminated |order| 162 void Verify(const char* addresses[], const int order[]) { 164 for (const char** addr = addresses; *addr != NULL; ++addr) 192 const char* addresses[] = { "::1", "10.0.0.231", "127.0.0.1", NULL }; 194 Verify(addresses, order); 215 // Rule 3: Avoid deprecated addresses. 221 const char* addresses[] = { "3002::1", "3002::2", NULL }; 223 Verify(addresses, order); 226 // Rule 4: Prefer home addresses. 231 const char* addresses[] = { "3002::1", "3002::2", NULL } [all...] |
mapped_host_resolver.cc | 23 AddressList* addresses, 32 return impl_->Resolve(info, priority, addresses, callback, out_req, net_log); 36 AddressList* addresses, 43 return impl_->ResolveFromCache(info, addresses, net_log);
|
host_resolver_impl.h | 135 AddressList* addresses, 140 AddressList* addresses, 170 AddressList* addresses, 178 AddressList* addresses); 181 // true, sets |net_error| to the cached error code and fills |addresses| 186 AddressList* addresses); 189 // HOSTS file, returns true and fills |addresses|. Otherwise returns false. 192 AddressList* addresses); 287 // addresses using ADDRESS_FAMILY_UNSPECIFIED. Reset on IP address change.
|
mapped_host_resolver.h | 50 AddressList* addresses, 55 AddressList* addresses,
|
mock_host_resolver.cc | 41 std::vector<std::string> addresses; local 42 base::SplitString(host_list, ',', &addresses); 44 for (size_t index = 0; index < addresses.size(); ++index) { 46 if (!ParseIPLiteralToNumber(addresses[index], &ip_number)) { 47 LOG(WARNING) << "Not a supported IP literal: " << addresses[index]; 59 : info(req_info), addresses(addr), callback(cb) {} 61 AddressList* addresses; member in struct:net::MockHostResolverBase::Request 71 AddressList* addresses, 79 int rv = ResolveFromIPLiteralOrCache(info, addresses); 84 return ResolveProc(id, info, addresses); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
AddressList.java | 35 private ArrayList<Address> addresses;
field in class:AddressList 38 * @param addresses An ArrayList that contains only Address objects.
39 * @param dontCopy true iff it is not possible for the addresses ArrayList to be modified by someone else.
41 public AddressList(ArrayList<Address> addresses, boolean dontCopy) {
42 if (addresses != null)
43 this.addresses = (dontCopy ? addresses : new ArrayList<Address>(addresses));
45 this.addresses = new ArrayList<Address>(0);
52 return addresses.size(); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Address.java | 185 * This method is used to check that all the addresses that the user 205 * Parse a comma-delimited list of addresses in RFC822 format and return an 209 * @return An array of 0 or more Addresses. 216 ArrayList<Address> addresses = new ArrayList<Address>(); local 226 addresses.add(new Address(name, address)); 230 return addresses.toArray(new Address[] {}); 285 * @param addresses Address array 288 public static String toString(Address[] addresses) { 289 return toString(addresses, ADDRESS_DELIMETER); 295 * @param addresses Address arra 431 ArrayList<Address> addresses = new ArrayList<Address>(); local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/io/ |
Code.java | 93 final int[] addresses; field in class:Code.CatchHandler 96 public CatchHandler(int[] typeIndexes, int[] addresses, int catchAllAddress) { 98 this.addresses = addresses; 107 return addresses;
|
/libcore/dex/src/main/java/com/android/dex/ |
Code.java | 97 final int[] addresses; field in class:Code.CatchHandler 101 public CatchHandler(int[] typeIndexes, int[] addresses, int catchAllAddress, int offset) { 103 this.addresses = addresses; 113 return addresses;
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
StdCatchBuilder.java | 45 private final BlockAddresses addresses; field in class:StdCatchBuilder 53 * @param addresses {@code non-null;} address objects for each block 56 BlockAddresses addresses) { 65 if (addresses == null) { 66 throw new NullPointerException("addresses == null"); 71 this.addresses = addresses; 76 return build(method, order, addresses); 119 * @param addresses {@code non-null;} address objects for each block 123 BlockAddresses addresses) { [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
StdCatchBuilder.java | 44 private final BlockAddresses addresses; field in class:StdCatchBuilder 52 * @param addresses {@code non-null;} address objects for each block 55 BlockAddresses addresses) { 64 if (addresses == null) { 65 throw new NullPointerException("addresses == null"); 70 this.addresses = addresses; 75 return build(method, order, addresses); 118 * @param addresses {@code non-null;} address objects for each block 122 BlockAddresses addresses) { [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
StdCatchBuilder.java | 45 private final BlockAddresses addresses; field in class:StdCatchBuilder 53 * @param addresses {@code non-null;} address objects for each block 56 BlockAddresses addresses) { 65 if (addresses == null) { 66 throw new NullPointerException("addresses == null"); 71 this.addresses = addresses; 76 return build(method, order, addresses); 119 * @param addresses {@code non-null;} address objects for each block 123 BlockAddresses addresses) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageHeaderDetailsDialogFragment.java | 42 private static final String ARG_ADDRESS_CACHE = "addresses"; 55 * @param addressCache a mapping of RFC822 addresses as strings to {@link Address}. 58 * @param from from addresses for the message 59 * @param replyTo replyTo addresses for the message 60 * @param to to addresses for the message 61 * @param cc cc addresses for the message 62 * @param bcc bcc addresses for the message 74 final Bundle addresses = new Bundle(); local 75 addAddressesToBundle(addresses, addressCache, from); 76 addAddressesToBundle(addresses, addressCache, replyTo) 110 final Bundle addresses = args.getBundle(ARG_ADDRESS_CACHE); local [all...] |
/external/chromium_org/media/audio/mac/ |
audio_device_listener_mac.cc | 31 const AudioObjectPropertyAddress addresses[], void* context) { 36 if (addresses[i].mSelector == kDeviceChangePropertyAddress.mSelector && 37 addresses[i].mScope == kDeviceChangePropertyAddress.mScope && 38 addresses[i].mElement == kDeviceChangePropertyAddress.mElement &&
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
EmailInputType.cpp | 169 Vector<String> addresses; 170 value.split(',', true, addresses); 171 for (unsigned i = 0; i < addresses.size(); ++i) { 172 String stripped = stripLeadingAndTrailingHTMLSpaces(addresses[i]); 243 Vector<String> addresses; 244 noLineBreakValue.split(',', true, addresses); 246 for (size_t i = 0; i < addresses.size(); ++i) { 249 strippedValue.append(stripLeadingAndTrailingHTMLSpaces(addresses[i])); 259 Vector<String> addresses; 260 sanitizedValue.split(',', true, addresses); [all...] |
/external/chromium_org/remoting/client/plugin/ |
pepper_network_manager.cc | 70 std::vector<pp::NetAddress> addresses; local 71 list.GetIpAddresses(i, &addresses); 73 if (addresses.size() == 0) 76 for (size_t i = 0; i < addresses.size(); ++i) { 78 PpNetAddressToSocketAddress(addresses[i], &address);
|
/libcore/luni/src/main/java/java/net/ |
NetworkInterface.java | 46 private final List<InetAddress> addresses; field in class:NetworkInterface 53 List<InetAddress> addresses, List<InterfaceAddress> interfaceAddresses) { 56 this.addresses = addresses; 83 * Returns an enumeration of the addresses bound to this network interface. 86 return Collections.enumeration(addresses); 122 List<InetAddress> addresses = new ArrayList<InetAddress>(); local 125 collectIpv6Addresses(interfaceName, interfaceIndex, addresses, interfaceAddresses, 127 collectIpv4Address(interfaceName, addresses, interfaceAddresses); 129 return new NetworkInterface(interfaceName, interfaceIndex, addresses, interfaceAddresses) [all...] |
AddressCache.java | 86 * Associates the given 'addresses' with 'hostname'. The association will expire after a 89 public void put(String hostname, InetAddress[] addresses) { 90 cache.put(hostname, new AddressCacheEntry(addresses)); 94 * Records that 'hostname' is known not to have any associated addresses. (I.e. insert a
|
/external/chromium/net/base/ |
mapped_host_resolver.cc | 22 AddressList* addresses, 31 return impl_->Resolve(modified_info, addresses, callback, out_req, net_log);
|
/external/chromium/net/proxy/ |
sync_host_resolver_bridge.cc | 25 AddressList* addresses); 45 AddressList* addresses); 87 net::AddressList* addresses) { 92 info, addresses)); 99 net::AddressList* addresses) { 107 info, addresses, &callback_, &outstanding_request_, BoundNetLog()); 164 AddressList* addresses, 171 return core_->ResolveSynchronously(info, addresses);
|
/external/smack/src/org/jivesoftware/smack/util/ |
DNSUtil.java | 114 List<HostAddress> addresses = cache.get(key); local 115 if (addresses != null) { 116 return addresses; 123 List<HostAddress> addresses = new ArrayList<HostAddress>(); local 137 addresses.addAll(sortedRecords); 140 addresses.add(new HostAddress(domain)); 143 cache.put(key, addresses); 145 return addresses;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
NetworkInterfaceTest.java | 83 // create the list of ok and not ok addresses to return 86 Enumeration addresses = networkInterface1.getInetAddresses(); local 89 while (addresses.hasMoreElements()) { 90 InetAddress theAddress = (InetAddress) addresses.nextElement(); 97 addresses = networkInterface2.getInetAddresses(); 99 while (addresses.hasMoreElements()) { 100 InetAddress theAddress = (InetAddress) addresses 107 // validate not ok addresses are not returned 130 // validate that ok addresses are returned 167 // addresses 260 Enumeration addresses = networkInterface1.getInetAddresses(); local 273 Enumeration addresses = networkInterface2.getInetAddresses(); local 486 Enumeration addresses = networkInterface1.getInetAddresses(); local [all...] |