Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp116 static int set_addresses(const char *name, const char *addresses) in set_addresses() argument
138 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { in set_addresses()
139 addresses += chars; in set_addresses()
185 } else if (*addresses) { in set_addresses()
186 ALOGE("Invalid address: %s", addresses); in set_addresses()
287 const char *addresses = NULL; in setAddresses() local
295 addresses = jAddresses ? env->GetStringUTFChars(jAddresses, NULL) : NULL; in setAddresses()
296 if (!addresses) { in setAddresses()
300 count = set_addresses(name, addresses); in setAddresses()
310 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().getAddress().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<>(); field in VpnConfig
122 addresses = copyOf(other.addresses); in VpnConfig()
163 String[] addresses = addressesStr.trim().split(" "); in addLegacyAddresses() local
164 for (String address : addresses) { in addLegacyAddresses()
167 this.addresses.add(addr); in addLegacyAddresses()
182 out.writeTypedList(addresses); in writeToParcel()
211 in.readTypedList(config.addresses, LinkAddress.CREATOR);
246 .append(", addresses=").append(toString(addresses)) in toString()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java177 public void interfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in interfaceDnsServerInfo() argument
179 maybeLog("interfaceDnsServerInfo", Arrays.toString(addresses)); in interfaceDnsServerInfo()
180 boolean changed = mDnsServerRepository.addServers(lifetime, addresses); in interfaceDnsServerInfo()
310 public synchronized boolean addServers(long lifetime, String[] addresses) { in addServers() argument
319 for (String addressString : addresses) { in addServers()
/frameworks/base/location/java/android/location/
DGeocoder.java68 void onGeocode(@NonNull List<Address> addresses); in onGeocode() argument
361 public void onResults(List<Address> addresses) { in onResults() argument
366 mListener.onGeocode(addresses); in onResults()
380 public void onGeocode(@NonNull List<Address> addresses) { in onGeocode() argument
381 mResults = addresses; in onGeocode()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
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/base/telephony/java/android/telephony/data/
DDataCallResponse.java176 @Nullable List<LinkAddress> addresses, in DataCallResponse() argument
183 addresses == null ? Collections.emptyList() : addresses, in DataCallResponse()
197 @NonNull String interfaceName, @NonNull List<LinkAddress> addresses, in DataCallResponse() argument
211 mAddresses = new ArrayList<>(addresses); in DataCallResponse()
754 public @NonNull Builder setAddresses(@NonNull List<LinkAddress> addresses) { in setAddresses() argument
755 Objects.requireNonNull(addresses); in setAddresses()
756 mAddresses = addresses; in setAddresses()
/frameworks/base/media/java/android/media/
DAudioSystem.java2000 @NonNull String[] addresses); in setUidDeviceAffinities() argument
2007 @NonNull String[] addresses); in setUserIdDeviceAffinities() argument
2154 String[] addresses = new String[devices.size()]; in setDevicesRoleForStrategy() local
2157 addresses[i] = devices.get(i).getAddress(); in setDevicesRoleForStrategy()
2159 return setDevicesRoleForStrategy(strategy, role, types, addresses); in setDevicesRoleForStrategy()
2172 int strategy, int role, @NonNull int[] types, @NonNull String[] addresses); in setDevicesRoleForStrategy() argument
2188 String[] addresses = new String[devices.size()]; in removeDevicesRoleForStrategy() local
2191 addresses[i] = devices.get(i).getAddress(); in removeDevicesRoleForStrategy()
2193 return removeDevicesRoleForStrategy(strategy, role, types, addresses); in removeDevicesRoleForStrategy()
2206 int strategy, int role, @NonNull int[] types, @NonNull String[] addresses); in removeDevicesRoleForStrategy() argument
[all …]
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java54 public boolean updateWithAddress(Collection<String> addresses) { in updateWithAddress() argument
/frameworks/base/core/java/android/net/
DSntpClient.java128 final InetAddress[] addresses = networkForResolv.getAllByName(host); in requestTime() local
129 for (int i = 0; i < addresses.length; i++) { in requestTime()
130 if (requestTime(addresses[i], port, timeout, networkForResolv)) { in requestTime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCountryDetector.java142 public void onGeocode(List<Address> addresses) { in onGeocode() argument
143 if (addresses != null && !addresses.isEmpty()) { in onGeocode()
145 String countryCode = addresses.get(0).getCountryCode(); in onGeocode()
DRadioDataProxy.java300 ArrayList<String> addresses = new ArrayList<>(); in setupDataCall()
305 addresses.add(address.getHostAddress()); in setupDataCall()
342 roamingAllowed, reason, addresses, dnses); in setupDataCall()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/patterns/
DTEMPLATE.md5 Give detailed information about the problem that this pattern addresses, include when it
/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/audio/
DAudioSystemAdapter.java665 public int setUidDeviceAffinities(int uid, @NonNull int[] types, @NonNull String[] addresses) { in setUidDeviceAffinities() argument
667 return AudioSystem.setUidDeviceAffinities(uid, types, addresses); in setUidDeviceAffinities()
688 @NonNull String[] addresses) { in setUserIdDeviceAffinities() argument
690 return AudioSystem.setUserIdDeviceAffinities(userId, types, addresses); in setUserIdDeviceAffinities()
DAudioDeviceInventory.java1039 List<Pair<String, String>> addresses = new ArrayList<>(); in onUpdateLeAudioGroupAddresses() local
1042 if (addresses.isEmpty()) { in onUpdateLeAudioGroupAddresses()
1043 addresses = mDeviceBroker.getLeAudioGroupAddresses(groupId); in onUpdateLeAudioGroupAddresses()
1046 for (Pair<String, String> addr : addresses) { in onUpdateLeAudioGroupAddresses()
1053 } else if (!addresses.contains( in onUpdateLeAudioGroupAddresses()
1059 for (Pair<String, String> addr : addresses) { in onUpdateLeAudioGroupAddresses()
2508 List<Pair<String, String>> addresses =
2510 if (addresses.size() > 1) {
2511 for (Pair<String, String> addr : addresses) {
2935 List<String> addresses = new ArrayList<String>();
[all …]
DBtHelper.java1205 List<Pair<String, String>> addresses = new ArrayList<>(); in getLeAudioGroupAddresses() local
1208 return addresses; in getLeAudioGroupAddresses()
1213 addresses.add(new Pair(device.getAddress(), device.getIdentityAddress())); in getLeAudioGroupAddresses()
1216 return addresses; in getLeAudioGroupAddresses()
/frameworks/av/services/mediaextractor/seccomp_policy/
Dmediaextractor-arm64.policy53 # and addresses just the arm64 framework av service policies. In the future, we
/frameworks/av/services/audiopolicy/engineconfigurable/config/example/caremu/
DAndroid.bp61 // Generate audio_policy_engine criterion type file => provides device addresses criterion type
/frameworks/av/services/audiopolicy/engineconfigurable/config/example/automotive/
DAndroid.bp66 // Generate audio_policy_engine criterion type file => provides device addresses criterion type
/frameworks/av/services/audiopolicy/engineconfigurable/config/example/phone/
DAndroid.bp72 // Generate audio_policy_engine criterion type file => provides device addresses criterion type
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java163 private void allocateDevices(List<Integer> addresses) { in allocateDevices() argument
164 for (Integer i : addresses) { in allocateDevices()
/frameworks/av/services/mediacodec/seccomp_policy/
Dmediaswcodec-arm64.policy87 # and addresses just the arm64 framework av service policies. In the future, we
/frameworks/proto_logging/stats/enums/stats/hdmi/
Denums.proto23 // HDMI CEC logical addresses.

12