Home
last modified time | relevance | path

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

12

/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/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractIpAddressPreferenceController.java106 StringBuilder addresses = new StringBuilder(); in formatIpAddresses()
108 addresses.append(iter.next().getHostAddress()); in formatIpAddresses()
109 if (iter.hasNext()) addresses.append("\n"); in formatIpAddresses()
111 return addresses.toString(); in formatIpAddresses()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java94 public List<LinkAddress> addresses = new ArrayList<LinkAddress>(); field in VpnConfig
136 String[] addresses = addressesStr.trim().split(" "); in addLegacyAddresses() local
137 for (String address : addresses) { in addLegacyAddresses()
140 this.addresses.add(addr); in addLegacyAddresses()
156 out.writeTypedList(addresses); in writeToParcel()
183 in.readTypedList(config.addresses, LinkAddress.CREATOR);
216 .append(", addresses=").append(toString(addresses)) in toString()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java176 public void interfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in interfaceDnsServerInfo() argument
178 maybeLog("interfaceDnsServerInfo", Arrays.toString(addresses)); in interfaceDnsServerInfo()
179 boolean changed = mDnsServerRepository.addServers(lifetime, addresses); in interfaceDnsServerInfo()
309 public synchronized boolean addServers(long lifetime, String[] addresses) { in addServers() argument
318 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 …]
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()
/frameworks/base/telephony/java/android/telephony/data/
DDataCallResponse.java109 @Nullable List<LinkAddress> addresses, in DataCallResponse() argument
119 mAddresses = (addresses == null) in DataCallResponse()
120 ? new ArrayList<>() : new ArrayList<>(addresses); in DataCallResponse()
416 public @NonNull Builder setAddresses(@NonNull List<LinkAddress> addresses) { in setAddresses() argument
417 mAddresses = addresses; in setAddresses()
/frameworks/base/core/java/android/net/
DLinkProperties.java248 final List<InetAddress> addresses = new ArrayList<>(); in getAddresses() local
250 addresses.add(linkAddress.getAddress()); in getAddresses()
252 return Collections.unmodifiableList(addresses); in getAddresses()
261 List<InetAddress> addresses = new ArrayList<>(); in getAllAddresses() local
263 addresses.add(linkAddress.getAddress()); in getAllAddresses()
266 addresses.addAll(stacked.getAllAddresses()); in getAllAddresses()
268 return addresses; in getAllAddresses()
343 List<LinkAddress> addresses = new ArrayList<>(mLinkAddresses); in getAllLinkAddresses() local
345 addresses.addAll(stacked.getAllLinkAddresses()); in getAllLinkAddresses()
347 return addresses; in getAllLinkAddresses()
[all …]
DVpnService.java893 mConfig.addresses = mAddresses; in establish()
/frameworks/base/services/net/java/android/net/ipmemorystore/
DNetworkAttributes.java150 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()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java54 public boolean updateWithAddress(Collection<String> addresses) { in updateWithAddress() argument
/frameworks/base/services/net/java/android/net/shared/
DInitialConfiguration.java123 public boolean isProvisionedBy(List<LinkAddress> addresses, List<RouteInfo> routes) { in isProvisionedBy() argument
129 if (!any(addresses, (addrSeen) -> addr.isSameAddressAs(addrSeen))) { in isProvisionedBy()
/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/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
Dglobal.rsh25 /* Test taking addresses of globals */ \
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java149 private void allocateDevices(List<Integer> addresses) { in allocateDevices() argument
150 for (Integer i : addresses) { in allocateDevices()
DHdmiCecLocalDeviceTv.java222 List<Integer> addresses = new ArrayList<>(); in initLocalDeviceAddresses() local
224 addresses.add(device.getDeviceInfo().getLogicalAddress()); in initLocalDeviceAddresses()
226 return Collections.unmodifiableList(addresses); in initLocalDeviceAddresses()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java177 final List<LinkAddress> sourceAddrs = vpnConfig.addresses; in handleStateChangedLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1484 ArrayList<String> addresses = new ArrayList<>(); in setupDataCall() local
1488 addresses.add(address.getHostAddress()); in setupDataCall()
1510 + ",addresses=" + addresses + ",dnses=" + dnses); in setupDataCall()
1514 reason, addresses, dnses); in setupDataCall()
1529 + dataProfile + ",addresses=" + addresses + ",dnses=" + dnses); in setupDataCall()
1534 addresses, dnses); in setupDataCall()
5913 String[] addresses = null; in convertDataCallResult() local
5926 if (!TextUtils.isEmpty(result.addresses)) { in convertDataCallResult()
5927 addresses = result.addresses.split("\\s+"); in convertDataCallResult()
5948 addresses = result.addresses.stream().toArray(String[]::new); in convertDataCallResult()
[all …]
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java640 private void notifyInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in notifyInterfaceDnsServerInfo() argument
641 invokeForAllObservers(o -> o.interfaceDnsServerInfo(iface, lifetime, addresses)); in notifyInterfaceDnsServerInfo()
1108 private List<InterfaceAddress> excludeLinkLocal(List<InterfaceAddress> addresses) { in excludeLinkLocal() argument
1109 ArrayList<InterfaceAddress> filtered = new ArrayList<>(addresses.size()); in excludeLinkLocal()
1110 for (InterfaceAddress ia : addresses) { in excludeLinkLocal()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java855 if (mConfig.addresses != null) { in makeLinkProperties()
856 for (LinkAddress address : mConfig.addresses) { in makeLinkProperties()
1080 for (LinkAddress address : config.addresses) { in establish()
1691 private native int jniSetAddresses(String interfaze, String addresses); in jniSetAddresses() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1507 Enumeration<InetAddress> addresses = ni.getInetAddresses(); in configureAgentProperties() local
1508 while (addresses.hasMoreElements()) { in configureAgentProperties()
1509 InetAddress ip = addresses.nextElement(); in configureAgentProperties()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java463 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv4Connected() local
465 for (InetAddress addr: addresses) { in isIpv4Connected()
480 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv6Connected() local
482 for (InetAddress addr: addresses) { in isIpv6Connected()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java1062 HashSet<byte[]> addresses = new HashSet<byte[]>(Arrays.asList( in testGetDeviceAddress_invalidResult() local
1068 byte[] address = addresses.iterator().next(); in testGetDeviceAddress_invalidResult()
1070 addresses.remove(address); in testGetDeviceAddress_invalidResult()
1077 while (!addresses.isEmpty()) { in testGetDeviceAddress_invalidResult()
/frameworks/base/media/java/android/media/
DAudioSystem.java1030 @NonNull String[] addresses); in setUidDeviceAffinities() argument

12