Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java45 public final String [] addresses; field in DataCallResponse
76 String ifname, String addresses, String dnses, String gateways, in DataCallResponse() argument
87 this.addresses = TextUtils.isEmpty(addresses) ? new String[0] : addresses.split(" "); in DataCallResponse()
106 for (String addr : addresses) { in toString()
110 if (addresses.length > 0) sb.deleteCharAt(sb.length()-1); in toString()
152 if (addresses != null && addresses.length > 0) { in setLinkProperties()
153 for (String addr : addresses) { in setLinkProperties()
DDataConnection.java294 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv4Connected() local
296 for (InetAddress addr: addresses) { in isIpv4Connected()
311 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv6Connected() local
313 for (InetAddress addr: addresses) { in isIpv6Connected()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp115 static int set_addresses(const char *name, const char *addresses) in set_addresses() argument
137 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { in set_addresses()
138 addresses += chars; in set_addresses()
184 } else if (*addresses) { in set_addresses()
185 ALOGE("Invalid address: %s", addresses); in set_addresses()
286 const char *addresses = NULL; in setAddresses() local
294 addresses = jAddresses ? env->GetStringUTFChars(jAddresses, NULL) : NULL; in setAddresses()
295 if (!addresses) { in setAddresses()
299 count = set_addresses(name, addresses); in setAddresses()
309 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/support/compat/java/android/support/v4/app/
DShareCompat.java444 public IntentBuilder setEmailTo(String[] addresses) { in setEmailTo() argument
448 mIntent.putExtra(Intent.EXTRA_EMAIL, addresses); in setEmailTo()
474 public IntentBuilder addEmailTo(String[] addresses) { in addEmailTo() argument
475 combineArrayExtra(Intent.EXTRA_EMAIL, addresses); in addEmailTo()
487 public IntentBuilder setEmailCc(String[] addresses) { in setEmailCc() argument
488 mIntent.putExtra(Intent.EXTRA_CC, addresses); in setEmailCc()
514 public IntentBuilder addEmailCc(String[] addresses) { in addEmailCc() argument
515 combineArrayExtra(Intent.EXTRA_CC, addresses); in addEmailCc()
527 public IntentBuilder setEmailBcc(String[] addresses) { in setEmailBcc() argument
528 mIntent.putExtra(Intent.EXTRA_BCC, addresses); in setEmailBcc()
[all …]
/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.java767 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/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java61 assertEquals(mDcResponse.addresses.length, linkProperties.getAddresses().size()); in testSetLinkProperties()
62 for (int i = 0; i < mDcResponse.addresses.length; ++i) { in testSetLinkProperties()
63 assertEquals(mDcResponse.addresses[i], in testSetLinkProperties()
/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 …]
DRecipientEditTextView.java3104 ArrayList<String> addresses = new ArrayList<String>(); in doInBackground() local
3107 addresses.add(createAddressText(chip.getEntry())); in doInBackground()
3111 adapter.getMatchingRecipients(addresses, new RecipientMatchCallback() { in doInBackground()
3229 ArrayList<String> addresses = new ArrayList<String>(); in doInBackground() local
3232 addresses.add(createAddressText(chip.getEntry())); in doInBackground()
3236 adapter.getMatchingRecipients(addresses, new RecipientMatchCallback() { in doInBackground()
DBaseRecipientAdapter.java706 public Map<String, RecipientEntry> getMatchingRecipients(Set<String> addresses) { in getMatchingRecipients() argument
/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/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()
DHdmiCecLocalDeviceTv.java226 List<Integer> addresses = new ArrayList<>(); in initLocalDeviceAddresses() local
228 addresses.add(device.getDeviceInfo().getLogicalAddress()); in initLocalDeviceAddresses()
230 return Collections.unmodifiableList(addresses); in initLocalDeviceAddresses()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java962 Enumeration<InetAddress> addresses = ni.getInetAddresses(); in configureAgentProperties() local
963 while (addresses.hasMoreElements()) { in configureAgentProperties()
964 InetAddress ip = addresses.nextElement(); in configureAgentProperties()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java622 if (mConfig.addresses != null) { in makeLinkProperties()
623 for (LinkAddress address : mConfig.addresses) { in makeLinkProperties()
789 for (LinkAddress address : config.addresses) { in establish()
1317 private native int jniSetAddresses(String interfaze, String addresses); in jniSetAddresses() argument
DNetworkMonitor.java797 InetAddress[] addresses = mNetworkAgentInfo.network.getAllByName(host); in sendDnsProbe() local
799 for (InetAddress address : addresses) { in sendDnsProbe()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java184 final List<LinkAddress> sourceAddrs = vpnConfig.addresses; in handleStateChangedLocked()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java697 private void notifyInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in notifyInterfaceDnsServerInfo() argument
698 invokeForAllObservers(o -> o.interfaceDnsServerInfo(iface, lifetime, addresses)); in notifyInterfaceDnsServerInfo()
1308 private List<InterfaceAddress> excludeLinkLocal(List<InterfaceAddress> addresses) { in excludeLinkLocal() argument
1309 ArrayList<InterfaceAddress> filtered = new ArrayList<>(addresses.size()); in excludeLinkLocal()
1310 for (InterfaceAddress ia : addresses) { in excludeLinkLocal()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java962 HashSet<byte[]> addresses = new HashSet<byte[]>(Arrays.asList( in testGetDeviceAddress_invalidResult() local
968 byte[] address = addresses.iterator().next(); in testGetDeviceAddress_invalidResult()
970 addresses.remove(address); in testGetDeviceAddress_invalidResult()
977 while (!addresses.isEmpty()) { in testGetDeviceAddress_invalidResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1323 dcResult.addresses, in convertDataCallResult()