Home
last modified time | relevance | path

Searched refs:ipAddresses (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/net/java/android/net/shared/
DInitialConfiguration.java39 public final Set<LinkAddress> ipAddresses = new HashSet<>(); field in InitialConfiguration
56 configCopy.ipAddresses.addAll(config.ipAddresses); in copy()
66 join(", ", ipAddresses), join(", ", directlyConnectedRoutes), in toString()
74 if (ipAddresses.isEmpty()) { in isValid()
79 for (LinkAddress addr : ipAddresses) { in isValid()
92 if (any(ipAddresses, not(InitialConfiguration::isPrefixLengthCompliant))) { in isValid()
98 && all(ipAddresses, not(InitialConfiguration::isIPv6GUA))) { in isValid()
107 if (ipAddresses.stream().filter(InitialConfiguration::isIPv4).count() > 1) { in isValid()
124 if (ipAddresses.isEmpty()) { in isProvisionedBy()
128 for (LinkAddress addr : ipAddresses) { in isProvisionedBy()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DNetworkWatchlistServiceTests.java177 public void asyncNetworkEvent(String host, String[] ipAddresses, int uid) { in testNetworkEvents()
179 dnsParams[1] = ipAddresses; in testNetworkEvents()
203 public void asyncNetworkEvent(String host, String[] ipAddresses, int uid) { in testNetworkEvents()
205 connectParams[1] = ipAddresses; in testNetworkEvents()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java184 public void asyncNetworkEvent(String host, String[] ipAddresses, int uid) { in asyncNetworkEvent() argument
188 bundle.putStringArray(WatchlistEventKeys.IP_ADDRESSES, ipAddresses); in asyncNetworkEvent()
195 private void handleNetworkEvent(String hostname, String[] ipAddresses, in handleNetworkEvent() argument
216 final String cncIp = searchIpInWatchlist(ipAddresses); in handleNetworkEvent()
364 private String searchIpInWatchlist(String[] ipAddresses) { in searchIpInWatchlist() argument
365 for (String ipAddress : ipAddresses) { in searchIpInWatchlist()
DNetworkWatchlistService.java146 String[] ipAddresses, int ipAddressesCount, long timestamp, int uid) {
150 mNetworkWatchlistHandler.asyncNetworkEvent(hostname, ipAddresses, uid);
/frameworks/base/tests/net/java/android/net/shared/
DInitialConfigurationTest.java50 mConfig.ipAddresses.addAll(Arrays.asList( in setUp()
74 assertNotEqualsAfterChange(c -> c.ipAddresses.add( in testEquals()
DProvisioningConfigurationTest.java58 mConfig.mInitialConfig.ipAddresses.add( in setUp()
117 assertNotEqualsAfterChange(c -> c.mInitialConfig.ipAddresses.add( in testEquals()
/frameworks/base/core/java/android/app/admin/
DDnsEvent.java49 public DnsEvent(String hostname, String[] ipAddresses, int ipAddressesCount, in DnsEvent() argument
53 this.mIpAddresses = ipAddresses; in DnsEvent()
/frameworks/base/services/net/aidl/networkstack/3/android/net/
DInitialConfigurationParcelable.aidl20 android.net.LinkAddress[] ipAddresses;
/frameworks/base/services/net/aidl/networkstack/1/android/net/
DInitialConfigurationParcelable.aidl3 android.net.LinkAddress[] ipAddresses;
/frameworks/base/services/net/aidl/networkstack/2/android/net/
DInitialConfigurationParcelable.aidl3 android.net.LinkAddress[] ipAddresses;
/frameworks/base/services/net/java/android/net/
DInitialConfigurationParcelable.aidl23 LinkAddress[] ipAddresses;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLogger.java57 String[] ipAddresses, int ipAddressesCount, long timestamp, int uid) {
61 DnsEvent dnsEvent = new DnsEvent(hostname, ipAddresses, ipAddressesCount,
/frameworks/base/core/java/android/net/
DINetdEventCallback.aidl45 in String[] ipAddresses, int ipAddressesCount, long timestamp, int uid); in onDnsEvent() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java30 String[] ipAddresses, int ipAddressesCount, long timestamp, int uid) { in onDnsEvent() argument
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java202 String hostname, String[] ipAddresses, int ipAddressesCount, int uid) in onDnsEvent() argument
209 callback.onDnsEvent(netId, eventType, returnCode, hostname, ipAddresses, in onDnsEvent()
DDnsManager.java185 private void updateTrackedDnses(String[] ipAddresses, String hostname) { in updateTrackedDnses() argument
187 for (String ipAddress : ipAddresses) { in updateTrackedDnses()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1779 String[] ipAddresses, int ipAddressesCount, long timestamp, int uid) {