Searched defs:addresses (Results 1 - 12 of 12) sorted by relevance

/frameworks/ex/common/java/com/android/common/contacts/
H A DDataUsageStatUpdater.java84 final Set<String> addresses = new HashSet<String>();
88 addresses.add(token.getAddress());
91 return updateWithAddress(addresses);
96 * Update usage statistics information using a list of email addresses.
105 public boolean updateWithAddress(Collection<String> addresses) { argument
107 Log.d(TAG, "updateWithAddress: " + Arrays.toString(addresses.toArray()));
109 if (addresses != null && !addresses.isEmpty()) {
112 final String[] questionMarks = new String[addresses.size()];
114 whereArgs.addAll(addresses);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataCallResponse.java47 public String [] addresses = new String[0]; field in class:DataCallResponse
89 .append(" addresses=[");
90 for (String addr : addresses) {
94 if (addresses.length > 0) sb.deleteCharAt(sb.length()-1);
135 // set link addresses
136 if (addresses != null && addresses.length > 0) {
137 for (String addr : addresses) {
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java91 public List<LinkAddress> addresses = new ArrayList<LinkAddress>(); field in class:VpnConfig
131 String[] addresses = addressesStr.trim().split(" ");
132 for (String address : addresses) {
135 this.addresses.add(addr);
151 out.writeTypedList(addresses);
176 in.readTypedList(config.addresses, LinkAddress.CREATOR);
/frameworks/base/core/java/com/android/server/net/
H A DNetlinkTracker.java62 * This class currently tracks IPv4 and IPv6 addresses. In the future it will
174 public void interfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { argument
176 maybeLog("interfaceDnsServerInfo", Arrays.toString(addresses));
177 boolean changed = mDnsServerRepository.addServers(lifetime, addresses);
303 * @param addresses the string representations of the IP addresses of the DNS servers to use.
305 public synchronized boolean addServers(long lifetime, String[] addresses) { argument
314 for (String addressString : addresses) {
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDeviceDiscoveryAction.java126 private void allocateDevices(List<Integer> addresses) { argument
127 for (Integer i : addresses) {
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp114 static int set_addresses(const char *name, const char *addresses) argument
136 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) {
137 addresses += chars;
183 } else if (*addresses) {
184 ALOGE("Invalid address: %s", addresses);
285 const char *addresses = NULL; local
293 addresses = jAddresses ? env->GetStringUTFChars(jAddresses, NULL) : NULL;
294 if (!addresses) {
295 jniThrowNullPointerException(env, "addresses");
298 count = set_addresses(name, addresses);
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java73 * Called with all addresses that could not be resolved to valid recipients.
91 * @param inAddresses Array of addresses on which to perform the lookup.
105 HashSet<String> addresses = new HashSet<String>();
110 addresses.add(tokens.length > 0 ? tokens[0].getAddress() : inAddresses.get(i));
118 Log.d(TAG, "Doing reverse lookup for " + addresses.toString());
121 String[] addressArray = new String[addresses.size()];
122 addresses.toArray(addressArray);
145 addresses, account, matchesNotFound, query, callback, permissionsCheckListener);
151 Map<String, RecipientEntry> recipientEntries, Set<String> addresses,
156 context, recipientEntries, addresses, accoun
150 getMatchingRecipientsFromDirectoryQueries(Context context, Map<String, RecipientEntry> recipientEntries, Set<String> addresses, Account account, Set<String> matchesNotFound, RecipientMatchCallback callback, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument
160 getMatchingRecipientsFromDirectoryQueries(Context context, Map<String, RecipientEntry> recipientEntries, Set<String> addresses, Account account, Set<String> matchesNotFound, Queries.Query query, RecipientMatchCallback callback, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument
[all...]
H A DBaseRecipientAdapter.java659 * Used to replace email addresses with chips. Default behavior
663 * @param inAddresses addresses to query
703 * @param addresses A set of addresses to be matched
706 public Map<String, RecipientEntry> getMatchingRecipients(Set<String> addresses) { argument
/frameworks/base/core/java/android/net/
H A DLinkProperties.java41 * It may have multiple addresses and multiple gateways,
204 * Returns all the addresses on this link. We often think of a link having a single address,
205 * however, particularly with Ipv6 several addresses are typical. Note that the
214 List<InetAddress> addresses = new ArrayList<InetAddress>();
216 addresses.add(linkAddress.getAddress());
218 return Collections.unmodifiableList(addresses);
222 * Returns all the addresses on this link and all the links stacked above it.
226 List<InetAddress> addresses = new ArrayList<InetAddress>();
228 addresses.add(linkAddress.getAddress());
231 addresses
319 setLinkAddresses(Collection<LinkAddress> addresses) argument
[all...]
/frameworks/support/compat/java/android/support/v4/app/
H A DShareCompat.java509 * Set an array of email addresses as recipients of this share.
512 * @param addresses Email addresses to send to
516 public IntentBuilder setEmailTo(String[] addresses) { argument
520 mIntent.putExtra(Intent.EXTRA_EMAIL, addresses);
540 * Add an array of email addresses to be used in the "to" field of the final Intent.
542 * @param addresses Email addresses to send to
546 public IntentBuilder addEmailTo(String[] addresses) { argument
547 combineArrayExtra(Intent.EXTRA_EMAIL, addresses);
559 setEmailCc(String[] addresses) argument
586 addEmailCc(String[] addresses) argument
599 setEmailBcc(String[] addresses) argument
626 addEmailBcc(String[] addresses) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java594 if (mConfig.addresses != null) {
595 for (LinkAddress address : mConfig.addresses) {
764 for (LinkAddress address : config.addresses) {
1255 private native int jniSetAddresses(String interfaze, String addresses); argument
1695 // Set the interface and the addresses in the config.
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java727 private void notifyInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { argument
733 addresses);
1091 IPv6 addresses on interface down, but we need to do full clean up here */
1359 private List<InterfaceAddress> excludeLinkLocal(List<InterfaceAddress> addresses) { argument
1360 ArrayList<InterfaceAddress> filtered = new ArrayList<InterfaceAddress>(addresses.size());
1361 for (InterfaceAddress ia : addresses) {
1398 // Don't touch link-local routes, as link-local addresses aren't routable,

Completed in 813 milliseconds