/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Address.java | 217 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/ |
D | getaddrinfo.topsite.netflix.pbtxt | 17 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 …]
|
D | getaddrinfo.topsite.reddit.pbtxt | 17 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"
|
D | getaddrinfo.topsite.youtube.pbtxt | 17 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"
|
D | gethostbyname.topsite.youtube.pbtxt | 14 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"
|
D | gethostbyname.tls.topsite.youtube.pbtxt | 14 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"
|
D | getaddrinfo.topsite.yahoo.pbtxt | 17 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"
|
D | getaddrinfo.topsite.bing.pbtxt | 17 addresses: "2620:1ec:c11::200" 18 addresses: "204.79.197.200" 19 addresses: "13.107.21.200"
|
D | getaddrinfo.topsite.facebook.pbtxt | 17 addresses: "2a03:2880:f102:83:face:b00c:0:25de" 18 addresses: "31.13.95.36"
|
D | getaddrinfo.topsite.wikipedia.pbtxt | 17 addresses: "2001:df2:e500:ed1a::1" 18 addresses: "103.102.166.224"
|
D | getaddrinfo.topsite.google.pbtxt | 17 addresses: "2404:6800:4004:80f::2004" 18 addresses: "172.217.26.4"
|
D | getaddrinfo.topsite.ebay.pbtxt | 17 addresses: "64:ff9b::685d:168" 18 addresses: "104.93.1.104"
|
D | getaddrinfo.topsite.amazon.pbtxt | 17 addresses: "64:ff9b::d23:9aa5" 18 addresses: "104.124.254.132"
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeMessage.java | 286 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/ |
D | IpClientTest.java | 234 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/ |
D | LocationUtils.java | 150 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/ |
D | CountryDetector.java | 262 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/ |
D | IpClientLinkObserver.java | 234 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/ |
D | AdbIpAddressPreferenceController.java | 145 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/ |
D | NetworkAttributes.java | 150 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/ |
D | IpMemoryStoreDatabase.java | 222 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/ |
D | ContextMap.java | 376 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/ |
D | ContactRecipientAdapter.java | 346 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/ |
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/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | InitialConfiguration.java | 123 public boolean isProvisionedBy(List<LinkAddress> addresses, List<RouteInfo> routes) { in isProvisionedBy() argument 129 if (!any(addresses, (addrSeen) -> addr.isSameAddressAs(addrSeen))) { in isProvisionedBy()
|