/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTracker.java | 147 private static boolean hasExpiredAddress(List<AddressInfo> addresses, long now) { in hasExpiredAddress() argument 148 for (AddressInfo info : addresses) { in hasExpiredAddress() 158 final List<AddressInfo> addresses = client.getAddresses(); in pruneExpired() local 159 if (addresses.size() == 0) return null; in pruneExpired() 160 if (!hasExpiredAddress(addresses, now)) return client; in pruneExpired() 162 final ArrayList<AddressInfo> newAddrs = new ArrayList<>(addresses.size() - 1); in pruneExpired() 163 for (AddressInfo info : addresses) { in pruneExpired()
|
/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/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractIpAddressPreferenceController.java | 106 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/ |
D | VpnConfig.java | 95 public List<LinkAddress> addresses = new ArrayList<LinkAddress>(); field in VpnConfig 141 String[] addresses = addressesStr.trim().split(" "); in addLegacyAddresses() local 142 for (String address : addresses) { in addLegacyAddresses() 145 this.addresses.add(addr); in addLegacyAddresses() 161 out.writeTypedList(addresses); in writeToParcel() 188 in.readTypedList(config.addresses, LinkAddress.CREATOR); 221 .append(", addresses=").append(toString(addresses)) in toString()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataCallResponse.java | 110 @Nullable List<LinkAddress> addresses, in DataCallResponse() argument 120 mAddresses = (addresses == null) in DataCallResponse() 121 ? new ArrayList<>() : new ArrayList<>(addresses); in DataCallResponse() 134 @Nullable String interfaceName, @Nullable List<LinkAddress> addresses, in DataCallResponse() argument 143 mAddresses = (addresses == null) in DataCallResponse() 144 ? new ArrayList<>() : new ArrayList<>(addresses); in DataCallResponse() 476 public @NonNull Builder setAddresses(@NonNull List<LinkAddress> addresses) { in setAddresses() argument 477 mAddresses = addresses; in setAddresses()
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetlinkTracker.java | 176 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/ |
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/libs/net/common/devicetests/com/android/testutils/ |
D | FakeDns.kt | 34 class DnsEntry(val hostname: String, val type: Int, val addresses: List<InetAddress>) { constant in com.android.testutils.FakeDns.DnsEntry 84 if (!answer?.addresses.isNullOrEmpty()) { in mockAnswer() 86 callback.onAnswer(answer?.addresses, 0); }) }) in mockAnswer()
|
/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 …]
|
/frameworks/base/core/java/android/net/ |
D | LinkProperties.java | 256 final List<InetAddress> addresses = new ArrayList<>(); in getAddresses() local 258 addresses.add(linkAddress.getAddress()); in getAddresses() 260 return Collections.unmodifiableList(addresses); in getAddresses() 269 List<InetAddress> addresses = new ArrayList<>(); in getAllAddresses() local 271 addresses.add(linkAddress.getAddress()); in getAllAddresses() 274 addresses.addAll(stacked.getAllAddresses()); in getAllAddresses() 276 return addresses; in getAllAddresses() 351 List<LinkAddress> addresses = new ArrayList<>(mLinkAddresses); in getAllLinkAddresses() local 353 addresses.addAll(stacked.getAllLinkAddresses()); in getAllLinkAddresses() 355 return addresses; in getAllLinkAddresses() [all …]
|
D | SntpClient.java | 99 final InetAddress[] addresses = networkForResolv.getAllByName(host); in requestTime() local 100 for (int i = 0; i < addresses.length; i++) { in requestTime() 101 if (requestTime(addresses[i], NTP_PORT, timeout, networkForResolv)) return true; in requestTime()
|
D | VpnService.java | 893 mConfig.addresses = mAddresses; in establish()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinatorTest.java | 100 final List<LinkAddress> addresses = lp.getLinkAddresses(); in assertOnlyOneV6AddressAndNoV4() local 101 assertEquals(addresses.size(), 1); in assertOnlyOneV6AddressAndNoV4() 102 final LinkAddress v6Address = addresses.get(0); in assertOnlyOneV6AddressAndNoV4()
|
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/ |
D | TetheredClient.java | 47 @NonNull Collection<AddressInfo> addresses, int tetheringType) { in TetheredClient() argument 49 mAddresses = new ArrayList<>(addresses); in TetheredClient()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | DataUsageStatUpdater.java | 54 public boolean updateWithAddress(Collection<String> addresses) { in updateWithAddress() argument
|
/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/av/services/audiopolicy/engineconfigurable/config/example/caremu/ |
D | Android.bp | 49 // Generate audio_policy_engine criterion type file => provides device addresses criterion type
|
/frameworks/base/packages/Tethering/tests/unit/common/android/net/ |
D | TetheredClientTest.kt | 106 assertEquals(listOf(TEST_ADDRINFO1, TEST_ADDRINFO2), makeTestClient().addresses) in makeLinkAddress()
|
/frameworks/av/services/audiopolicy/engineconfigurable/config/example/automotive/ |
D | Android.bp | 53 // Generate audio_policy_engine criterion type file => provides device addresses criterion type
|
/frameworks/av/services/audiopolicy/engineconfigurable/config/example/phone/ |
D | Android.bp | 58 // Generate audio_policy_engine criterion type file => provides device addresses criterion type
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DeviceDiscoveryAction.java | 149 private void allocateDevices(List<Integer> addresses) { in allocateDevices() argument 150 for (Integer i : addresses) { in allocateDevices()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 640 private void notifyInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in notifyInterfaceDnsServerInfo() argument 641 invokeForAllObservers(o -> o.interfaceDnsServerInfo(iface, lifetime, addresses)); in notifyInterfaceDnsServerInfo() 1084 private List<InterfaceAddress> excludeLinkLocal(List<InterfaceAddress> addresses) { in excludeLinkLocal() argument 1085 ArrayList<InterfaceAddress> filtered = new ArrayList<>(addresses.size()); in excludeLinkLocal() 1086 for (InterfaceAddress ia : addresses) { in excludeLinkLocal()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1014 if (mConfig.addresses != null) { 1015 for (LinkAddress address : mConfig.addresses) { 1212 for (LinkAddress address : config.addresses) { 1869 private native int jniSetAddresses(String interfaze, String addresses); 2299 mConfig.addresses.clear(); 2300 mConfig.addresses.addAll(internalAddresses);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 1835 ArrayList<String> addresses = new ArrayList<>(); in setupDataCall() local 1839 addresses.add(address.getHostAddress()); in setupDataCall() 1894 + ",addresses=" + addresses + ",dnses=" + dnses); in setupDataCall() 1898 reason, addresses, dnses); in setupDataCall() 1913 + dataProfile + ",addresses=" + addresses + ",dnses=" + dnses); in setupDataCall() 1918 addresses, dnses); in setupDataCall() 6786 String[] addresses = null; in convertDataCallResult() local 6802 if (!TextUtils.isEmpty(result.addresses)) { in convertDataCallResult() 6803 addresses = result.addresses.split("\\s+"); in convertDataCallResult() 6815 if (addresses != null) { in convertDataCallResult() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 179 final List<LinkAddress> sourceAddrs = vpnConfig.addresses; in handleStateChangedLocked()
|