Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp114 static int set_addresses(const char *name, const char *addresses) in set_addresses() argument
136 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { in set_addresses()
137 addresses += chars; in set_addresses()
183 } else if (*addresses) { in set_addresses()
184 ALOGE("Invalid address: %s", addresses); in set_addresses()
285 const char *addresses = NULL; in setAddresses() local
293 addresses = jAddresses ? env->GetStringUTFChars(jAddresses, NULL) : NULL; in setAddresses()
294 if (!addresses) { in setAddresses()
298 count = set_addresses(name, addresses); in setAddresses()
308 if (addresses) { in setAddresses()
[all …]
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java84 final Set<String> addresses = new HashSet<String>(); in updateWithRfc822Address() local
88 addresses.add(token.getAddress()); in updateWithRfc822Address()
91 return updateWithAddress(addresses); in updateWithRfc822Address()
105 public boolean updateWithAddress(Collection<String> addresses) { in updateWithAddress() argument
107 Log.d(TAG, "updateWithAddress: " + Arrays.toString(addresses.toArray())); in updateWithAddress()
109 if (addresses != null && !addresses.isEmpty()) { in updateWithAddress()
112 final String[] questionMarks = new String[addresses.size()]; in updateWithAddress()
114 whereArgs.addAll(addresses); in updateWithAddress()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java47 mDcResponse.addresses = new String[]{"12.34.56.78"}; in setUp()
66 assertEquals(mDcResponse.addresses.length, linkProperties.getAddresses().size()); in testSetLinkProperties()
67 for (int i = 0; i < mDcResponse.addresses.length; ++i) { in testSetLinkProperties()
68 assertEquals(mDcResponse.addresses[i], in testSetLinkProperties()
91 mDcResponse.addresses = new String[]{"224.224.224.224"}; in testSetLinkPropertiesInvalidAddress()
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java516 public IntentBuilder setEmailTo(String[] addresses) { in setEmailTo() argument
520 mIntent.putExtra(Intent.EXTRA_EMAIL, addresses); in setEmailTo()
546 public IntentBuilder addEmailTo(String[] addresses) { in addEmailTo() argument
547 combineArrayExtra(Intent.EXTRA_EMAIL, addresses); in addEmailTo()
559 public IntentBuilder setEmailCc(String[] addresses) { in setEmailCc() argument
560 mIntent.putExtra(Intent.EXTRA_CC, addresses); in setEmailCc()
586 public IntentBuilder addEmailCc(String[] addresses) { in addEmailCc() argument
587 combineArrayExtra(Intent.EXTRA_CC, addresses); in addEmailCc()
599 public IntentBuilder setEmailBcc(String[] addresses) { in setEmailBcc() argument
600 mIntent.putExtra(Intent.EXTRA_BCC, addresses); in setEmailBcc()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java47 public String [] addresses = new String[0]; field in DataCallResponse
90 for (String addr : addresses) { in toString()
94 if (addresses.length > 0) sb.deleteCharAt(sb.length()-1); in toString()
136 if (addresses != null && addresses.length > 0) { in setLinkProperties()
137 for (String addr : addresses) { in setLinkProperties()
DDataConnection.java292 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv4Connected() local
294 for (InetAddress addr: addresses) { in isIpv4Connected()
309 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv6Connected() local
311 for (InetAddress addr: addresses) { in isIpv6Connected()
449 response.addresses = new String[0]; in onConnect()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java91 public List<LinkAddress> addresses = new ArrayList<LinkAddress>(); field in VpnConfig
131 String[] addresses = addressesStr.trim().split(" "); in addLegacyAddresses() local
132 for (String address : addresses) { in addLegacyAddresses()
135 this.addresses.add(addr); in addLegacyAddresses()
151 out.writeTypedList(addresses); in writeToParcel()
176 in.readTypedList(config.addresses, LinkAddress.CREATOR);
/frameworks/base/core/java/android/net/
DLinkProperties.java214 List<InetAddress> addresses = new ArrayList<InetAddress>(); in getAddresses() local
216 addresses.add(linkAddress.getAddress()); in getAddresses()
218 return Collections.unmodifiableList(addresses); in getAddresses()
226 List<InetAddress> addresses = new ArrayList<InetAddress>(); in getAllAddresses() local
228 addresses.add(linkAddress.getAddress()); in getAllAddresses()
231 addresses.addAll(stacked.getAllAddresses()); in getAllAddresses()
233 return addresses; in getAllAddresses()
303 List<LinkAddress> addresses = new ArrayList<LinkAddress>(); in getAllLinkAddresses() local
304 addresses.addAll(mLinkAddresses); in getAllLinkAddresses()
306 addresses.addAll(stacked.getAllLinkAddresses()); in getAllLinkAddresses()
[all …]
DVpnService.java765 mConfig.addresses = mAddresses; in establish()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java174 public void interfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in interfaceDnsServerInfo() argument
176 maybeLog("interfaceDnsServerInfo", Arrays.toString(addresses)); in interfaceDnsServerInfo()
177 boolean changed = mDnsServerRepository.addServers(lifetime, addresses); in interfaceDnsServerInfo()
305 public synchronized boolean addServers(long lifetime, String[] addresses) { in addServers() argument
314 for (String addressString : addresses) { in addServers()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBasedCountryDetector.java79 List<Address> addresses = geoCoder.getFromLocation( in getCountryFromLocation() local
81 if (addresses != null && addresses.size() > 0) { in getCountryFromLocation()
82 country = addresses.get(0).getCountryCode(); in getCountryFromLocation()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java105 HashSet<String> addresses = new HashSet<String>(); in getMatchingRecipients() local
110 addresses.add(tokens.length > 0 ? tokens[0].getAddress() : inAddresses.get(i)); in getMatchingRecipients()
118 Log.d(TAG, "Doing reverse lookup for " + addresses.toString()); in getMatchingRecipients()
121 String[] addressArray = new String[addresses.size()]; in getMatchingRecipients()
122 addresses.toArray(addressArray); in getMatchingRecipients()
145 addresses, account, matchesNotFound, query, callback, permissionsCheckListener); in getMatchingRecipients()
151 Map<String, RecipientEntry> recipientEntries, Set<String> addresses, in getMatchingRecipientsFromDirectoryQueries() argument
156 context, recipientEntries, addresses, account, in getMatchingRecipientsFromDirectoryQueries()
161 Map<String, RecipientEntry> recipientEntries, Set<String> addresses, in getMatchingRecipientsFromDirectoryQueries() argument
168 if (recipientEntries.size() < addresses.size()) { in getMatchingRecipientsFromDirectoryQueries()
[all …]
/frameworks/compile/libbcc/
DREADME.rst113 * **bccGetExportVarList** - Get the addresses of exported variables
117 * **bccGetExportFuncList** - Get the addresses of exported functions
158 The list of the addresses of exported variables.
161 The list of the addresses of exported functions.
/frameworks/base/docs/html/training/location/
Ddisplay-address.jd93 latitude and longitude, and returns a list of addresses. The method is
189 maximum number of addresses you want returned. In this case, you want just one
190 address. The geocoder returns an array of addresses. If no addresses were
236 List&lt;Address&gt; addresses = null;
239 addresses = geocoder.getFromLocation(
258 if (addresses == null || addresses.size() == 0) {
265 Address address = addresses.get(0);
Dindex.jd62 addresses. The class includes sample apps and code snippets that you can use as a starting point
/frameworks/base/docs/html/training/contacts-provider/
Dindex.jd77 such as phone numbers and email addresses. You can retrieve all details, or you can
78 retrieve details of a specific type, such as all email addresses.
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java126 private void allocateDevices(List<Integer> addresses) { in allocateDevices() argument
127 for (Integer i : addresses) { in allocateDevices()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java662 InetAddress[] addresses = mNetworkAgentInfo.network.getAllByName(hostToResolve); in isCaptivePortal() local
666 for (InetAddress address : addresses) { in isCaptivePortal()
668 if (address != addresses[addresses.length-1]) connectInfo.append(","); in isCaptivePortal()
DVpn.java594 if (mConfig.addresses != null) { in makeLinkProperties()
595 for (LinkAddress address : mConfig.addresses) { in makeLinkProperties()
764 for (LinkAddress address : config.addresses) { in establish()
1255 private native int jniSetAddresses(String interfaze, String addresses); in jniSetAddresses() argument
/frameworks/base/docs/html/distribute/engage/
Dbeta.jd42 <strong>Closed beta using email addresses —</strong> If you want to
44 now set up a closed beta using lists of individual email addresses which
/frameworks/base/docs/html/distribute/monetize/
Decommerce.jd36 directly from the user’s wallet and intelligent auto-completion of addresses.</p>
/frameworks/base/docs/html/training/keyboard-input/
Dindex.jd40 addresses, or other formats. Also learn how to specify characteristics such
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3858 String addresses = p.readString(); in getDataCallResponse() local
3859 if (!TextUtils.isEmpty(addresses)) { in getDataCallResponse()
3860 dataCall.addresses = addresses.split(" "); in getDataCallResponse()
3873 String addresses = p.readString(); in getDataCallResponse() local
3874 if (!TextUtils.isEmpty(addresses)) { in getDataCallResponse()
3875 dataCall.addresses = addresses.split(" "); in getDataCallResponse()
3933 String addresses = p.readString(); in responseSetupDataCall() local
3934 if (!TextUtils.isEmpty(addresses)) { in responseSetupDataCall()
3935 dataCall.addresses = addresses.split(" "); in responseSetupDataCall()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java182 final List<LinkAddress> sourceAddrs = vpnConfig.addresses; in handleStateChangedLocked()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java727 private void notifyInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in notifyInterfaceDnsServerInfo() argument
733 addresses); in notifyInterfaceDnsServerInfo()
1359 private List<InterfaceAddress> excludeLinkLocal(List<InterfaceAddress> addresses) { in excludeLinkLocal() argument
1360 ArrayList<InterfaceAddress> filtered = new ArrayList<InterfaceAddress>(addresses.size()); in excludeLinkLocal()
1361 for (InterfaceAddress ia : addresses) { in excludeLinkLocal()

123