/frameworks/base/services/core/jni/ |
D | com_android_server_connectivity_Vpn.cpp | 115 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/ |
D | DataUsageStatUpdater.java | 84 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/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractIpAddressPreferenceController.java | 105 StringBuilder addresses = new StringBuilder(); in formatIpAddresses() 107 addresses.append(iter.next().getHostAddress()); in formatIpAddresses() 108 if (iter.hasNext()) addresses.append("\n"); in formatIpAddresses() 110 return addresses.toString(); in formatIpAddresses()
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
D | ShareCompat.java | 445 public IntentBuilder setEmailTo(String[] addresses) { in setEmailTo() argument 449 mIntent.putExtra(Intent.EXTRA_EMAIL, addresses); in setEmailTo() 475 public IntentBuilder addEmailTo(String[] addresses) { in addEmailTo() argument 476 combineArrayExtra(Intent.EXTRA_EMAIL, addresses); in addEmailTo() 488 public IntentBuilder setEmailCc(String[] addresses) { in setEmailCc() argument 489 mIntent.putExtra(Intent.EXTRA_CC, addresses); in setEmailCc() 515 public IntentBuilder addEmailCc(String[] addresses) { in addEmailCc() argument 516 combineArrayExtra(Intent.EXTRA_CC, addresses); in addEmailCc() 528 public IntentBuilder setEmailBcc(String[] addresses) { in setEmailBcc() argument 529 mIntent.putExtra(Intent.EXTRA_BCC, addresses); in setEmailBcc() [all …]
|
/frameworks/base/tests/net/java/android/net/ip/ |
D | IpClientTest.java | 207 String[] addresses = { in testProvisioningWithInitialConfiguration() local 217 .withInitialConfiguration(conf(links(addresses), prefixes(prefixes), ips())) in testProvisioningWithInitialConfiguration() 225 for (String addr : addresses) { in testProvisioningWithInitialConfiguration() 231 final int lastAddr = addresses.length - 1; in testProvisioningWithInitialConfiguration() 235 mObserver.addressUpdated(iface, new LinkAddress(addresses[i])); in testProvisioningWithInitialConfiguration() 241 mObserver.addressUpdated(iface, new LinkAddress(addresses[lastAddr])); in testProvisioningWithInitialConfiguration() 242 LinkProperties want = linkproperties(links(addresses), routes(prefixes)); in testProvisioningWithInitialConfiguration() 415 static LinkProperties linkproperties(Set<LinkAddress> addresses, Set<RouteInfo> routes) { in linkproperties() argument 417 lp.setLinkAddresses(addresses); in linkproperties() 445 static Set<LinkAddress> links(String... addresses) { in links() argument [all …]
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnConfig.java | 91 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/com/android/server/net/ |
D | NetlinkTracker.java | 174 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/core/java/android/net/ |
D | LinkProperties.java | 236 List<InetAddress> addresses = new ArrayList<InetAddress>(); in getAddresses() local 238 addresses.add(linkAddress.getAddress()); in getAddresses() 240 return Collections.unmodifiableList(addresses); in getAddresses() 248 List<InetAddress> addresses = new ArrayList<InetAddress>(); in getAllAddresses() local 250 addresses.add(linkAddress.getAddress()); in getAllAddresses() 253 addresses.addAll(stacked.getAllAddresses()); in getAllAddresses() 255 return addresses; in getAllAddresses() 325 List<LinkAddress> addresses = new ArrayList<LinkAddress>(); in getAllLinkAddresses() local 326 addresses.addAll(mLinkAddresses); in getAllLinkAddresses() 328 addresses.addAll(stacked.getAllLinkAddresses()); in getAllLinkAddresses() [all …]
|
D | VpnService.java | 802 mConfig.addresses = mAddresses; in establish()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationBasedCountryDetector.java | 79 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/src/java/com/android/internal/telephony/dataconnection/ |
D | CellularDataService.java | 244 String[] addresses = null; in convertDataCallResult() 245 if (!TextUtils.isEmpty(dcResult.addresses)) { in convertDataCallResult() 246 addresses = dcResult.addresses.split("\\s+"); in convertDataCallResult() 250 if (addresses != null) { in convertDataCallResult() 251 for (String address : addresses) { in convertDataCallResult()
|
D | DataConnection.java | 364 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv4Connected() local 366 for (InetAddress addr: addresses) { in isIpv4Connected() 381 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv6Connected() local 383 for (InetAddress addr: addresses) { in isIpv6Connected()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapter.java | 105 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 …]
|
D | RecipientEditTextView.java | 3104 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()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | CellularDataServiceTest.java | 60 result.addresses = "10.0.2.15"; in testConvertDataCallResult() 83 result.addresses = "2607:fb90:a620:651d:eabe:f8da:c107:44be/64"; in testConvertDataCallResult()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataCallResponse.java | 74 @Nullable List<LinkAddress> addresses, in DataCallResponse() argument 84 mAddresses = (addresses == null) ? new ArrayList<>() : addresses; in DataCallResponse()
|
/frameworks/compile/libbcc/ |
D | README.rst | 113 * **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/ |
D | DeviceDiscoveryAction.java | 126 private void allocateDevices(List<Integer> addresses) { in allocateDevices() argument 127 for (Integer i : addresses) { in allocateDevices()
|
D | HdmiCecLocalDeviceTv.java | 226 List<Integer> addresses = new ArrayList<>(); in initLocalDeviceAddresses() local 228 addresses.add(device.getDeviceInfo().getLogicalAddress()); in initLocalDeviceAddresses() 230 return Collections.unmodifiableList(addresses); in initLocalDeviceAddresses()
|
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
D | global.rsh | 25 /* Test taking addresses of globals */ \
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 183 final List<LinkAddress> sourceAddrs = vpnConfig.addresses; in handleStateChangedLocked()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 1312 Enumeration<InetAddress> addresses = ni.getInetAddresses(); in configureAgentProperties() local 1313 while (addresses.hasMoreElements()) { in configureAgentProperties() 1314 InetAddress ip = addresses.nextElement(); in configureAgentProperties()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 821 if (mConfig.addresses != null) { in makeLinkProperties() 822 for (LinkAddress address : mConfig.addresses) { in makeLinkProperties() 1052 for (LinkAddress address : config.addresses) { in establish() 1636 private native int jniSetAddresses(String interfaze, String addresses); in jniSetAddresses() argument
|
D | NetworkMonitor.java | 1049 InetAddress[] addresses = mNetwork.getAllByName(host); in sendDnsProbe() local 1051 for (InetAddress address : addresses) { in sendDnsProbe()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 755 private void notifyInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in notifyInterfaceDnsServerInfo() argument 756 invokeForAllObservers(o -> o.interfaceDnsServerInfo(iface, lifetime, addresses)); in notifyInterfaceDnsServerInfo() 1364 private List<InterfaceAddress> excludeLinkLocal(List<InterfaceAddress> addresses) { in excludeLinkLocal() argument 1365 ArrayList<InterfaceAddress> filtered = new ArrayList<>(addresses.size()); in excludeLinkLocal() 1366 for (InterfaceAddress ia : addresses) { in excludeLinkLocal()
|