Home
last modified time | relevance | path

Searched refs:addresses (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DAddress.java217 ArrayList<Address> addresses = new ArrayList<Address>(); in parse() local
227 addresses.add(new Address(address, name)); in parse()
231 return addresses.toArray(new Address[addresses.size()]); in parse()
305 public static String toString(Address[] addresses) { in toString() argument
306 return toString(addresses, ADDRESS_DELIMETER); in toString()
316 public static String toString(Address[] addresses, String separator) { in toString() argument
317 if (addresses == null || addresses.length == 0) { in toString()
320 if (addresses.length == 1) { in toString()
321 return addresses[0].toString(); in toString()
323 StringBuilder sb = new StringBuilder(addresses[0].toString()); in toString()
[all …]
/packages/modules/DnsResolver/tests/testdata/
Dgetaddrinfo.topsite.netflix.pbtxt17 addresses: "2620:108:700f::22d1:6443"
18 addresses: "2620:108:700f::36c8:5c97"
19 addresses: "2620:108:700f::36ba:3a73"
20 addresses: "2620:108:700f::36bf:5e94"
21 addresses: "2620:108:700f::3644:8d41"
22 addresses: "2620:108:700f::36bb:ed4c"
23 addresses: "2620:108:700f::3645:f643"
24 addresses: "2620:108:700f::3694:303e"
25 addresses: "52.35.228.185"
26 addresses: "52.38.194.36"
[all …]
Dgetaddrinfo.topsite.reddit.pbtxt17 addresses: "64:ff9b::9765:18c"
18 addresses: "64:ff9b::9765:418c"
19 addresses: "64:ff9b::9765:818c"
20 addresses: "64:ff9b::9765:c18c"
21 addresses: "151.101.1.140"
22 addresses: "151.101.65.140"
23 addresses: "151.101.129.140"
24 addresses: "151.101.193.140"
Dgetaddrinfo.topsite.youtube.pbtxt17 addresses: "2404:6800:4012:1::200e"
18 addresses: "172.217.24.14"
19 addresses: "216.58.200.46"
20 addresses: "172.217.160.78"
21 addresses: "172.217.27.142"
22 addresses: "172.217.160.110"
Dgethostbyname.topsite.youtube.pbtxt14 addresses: "216.58.200.46"
15 addresses: "172.217.160.78"
16 addresses: "172.217.27.142"
17 addresses: "172.217.160.110"
18 addresses: "172.217.24.14"
Dgethostbyname.tls.topsite.youtube.pbtxt14 addresses: "216.58.200.46"
15 addresses: "172.217.160.78"
16 addresses: "216.58.200.238"
17 addresses: "172.217.27.142"
18 addresses: "172.217.160.110"
19 addresses: "172.217.24.14"
Dgetaddrinfo.topsite.yahoo.pbtxt17 addresses: "2406:2000:ec:815::3"
18 addresses: "2406:2000:ec:815::4"
19 addresses: "124.108.103.104"
20 addresses: "124.108.103.103"
Dgetaddrinfo.topsite.bing.pbtxt17 addresses: "2620:1ec:c11::200"
18 addresses: "204.79.197.200"
19 addresses: "13.107.21.200"
Dgetaddrinfo.topsite.facebook.pbtxt17 addresses: "2a03:2880:f102:83:face:b00c:0:25de"
18 addresses: "31.13.95.36"
Dgetaddrinfo.topsite.wikipedia.pbtxt17 addresses: "2001:df2:e500:ed1a::1"
18 addresses: "103.102.166.224"
Dgetaddrinfo.topsite.google.pbtxt17 addresses: "2404:6800:4004:80f::2004"
18 addresses: "172.217.26.4"
Dgetaddrinfo.topsite.ebay.pbtxt17 addresses: "64:ff9b::685d:168"
18 addresses: "104.93.1.104"
Dgetaddrinfo.topsite.amazon.pbtxt17 addresses: "64:ff9b::d23:9aa5"
18 addresses: "104.124.254.132"
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java286 public void setRecipients(String type, Address[] addresses) throws MessagingException { in setRecipients() argument
291 if (addresses == null || addresses.length == 0) { in setRecipients()
295 setHeader("To", MimeUtility.fold(Address.toHeader(addresses), toLength)); in setRecipients()
296 this.to = addresses; in setRecipients()
299 if (addresses == null || addresses.length == 0) { in setRecipients()
303 setHeader("CC", MimeUtility.fold(Address.toHeader(addresses), ccLength)); in setRecipients()
304 this.cc = addresses; in setRecipients()
307 if (addresses == null || addresses.length == 0) { in setRecipients()
311 setHeader("BCC", MimeUtility.fold(Address.toHeader(addresses), bccLength)); in setRecipients()
312 this.bcc = addresses; in setRecipients()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java234 final Set<LinkAddress> addresses = links(TEST_LOCAL_ADDRESSES); in makeIPv6ProvisionedLinkProperties() local
235 addresses.add(new LinkAddress(TEST_GLOBAL_ADDRESS, 0, RT_SCOPE_UNIVERSE)); in makeIPv6ProvisionedLinkProperties()
241 return linkproperties(addresses, routes, ips(TEST_DNSES)); in makeIPv6ProvisionedLinkProperties()
574 static LinkProperties linkproperties(Set<LinkAddress> addresses, in linkproperties() argument
577 lp.setLinkAddresses(addresses); in linkproperties()
610 static Set<LinkAddress> links(String... addresses) { in links() argument
611 return mapIntoSet(addresses, LinkAddress::new); in links()
614 static Set<InetAddress> ips(String... addresses) { in ips() argument
615 return mapIntoSet(addresses, InetAddress::getByName); in ips()
618 static Set<InetAddress> dns(String... addresses) { in dns() argument
[all …]
/packages/apps/TV/common/src/com/android/tv/common/util/
DLocationUtils.java150 List<Address> addresses = in updateAddress() local
152 if (addresses != null && !addresses.isEmpty()) { in updateAddress()
153 sAddress = addresses.get(0); in updateAddress()
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java262 List<Address> addresses = in doInBackground() local
264 if (addresses != null && !addresses.isEmpty()) { in doInBackground()
265 return addresses.get(0).getCountryCode(); in doInBackground()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java234 public void onInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in onInterfaceDnsServerInfo() argument
236 maybeLog("interfaceDnsServerInfo", Arrays.toString(addresses)); in onInterfaceDnsServerInfo()
237 boolean changed = mDnsServerRepository.addServers(lifetime, addresses); in onInterfaceDnsServerInfo()
497 public synchronized boolean addServers(long lifetime, String[] addresses) { in addServers() argument
509 for (String addressString : addresses) { in addServers()
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java145 StringBuilder addresses = new StringBuilder(); in formatIpAddresses() local
150 addresses.append(addr.getHostAddress()); in formatIpAddresses()
154 return addresses.toString(); in formatIpAddresses()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
DNetworkAttributes.java150 private static Blob[] inetAddressListToBlobArray(@Nullable final List<InetAddress> addresses) { in inetAddressListToBlobArray() argument
151 if (null == addresses) return null; in inetAddressListToBlobArray()
153 for (int i = 0; i < addresses.size(); ++i) { in inetAddressListToBlobArray()
154 final InetAddress addr = addresses.get(i); in inetAddressListToBlobArray()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java222 private static byte[] encodeAddressList(@NonNull final List<InetAddress> addresses) { in encodeAddressList() argument
224 for (final InetAddress address : addresses) { in encodeAddressList()
235 final ArrayList<InetAddress> addresses = new ArrayList<>(); in decodeAddressList() local
241 addresses.add(InetAddress.getByAddress(bytes)); in decodeAddressList()
244 return addresses; in decodeAddressList()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java376 Set<String> addresses = new HashSet<String>(); in getConnectedDevices() local
380 addresses.add(connection.address); in getConnectedDevices()
382 return addresses; in getConnectedDevices()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAdapter.java346 final HashSet<String> addresses = new HashSet<String>();
349 addresses.add(tokens.length > 0 ? tokens[0].getAddress() : inAddresses.get(i));
355 for (final String address : addresses) {
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java320 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/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DInitialConfiguration.java123 public boolean isProvisionedBy(List<LinkAddress> addresses, List<RouteInfo> routes) { in isProvisionedBy() argument
129 if (!any(addresses, (addrSeen) -> addr.isSameAddressAs(addrSeen))) { in isProvisionedBy()

12