/frameworks/base/core/tests/coretests/src/android/net/ |
D | LinkAddressTest.java | 30 import android.net.LinkAddress; 69 LinkAddress address; in testConstructors() 72 address = new LinkAddress(V4_ADDRESS, 25); in testConstructors() 78 address = new LinkAddress(V6_ADDRESS, 127); in testConstructors() 85 address = new LinkAddress(V6 + "/64", IFA_F_DEPRECATED | IFA_F_PERMANENT, RT_SCOPE_LINK); in testConstructors() 91 address = new LinkAddress(V4 + "/23", 123, 456); in testConstructors() 101 LinkAddress ipv4Loopback, ipv6Loopback; in testConstructors() 104 ipv4Loopback = new LinkAddress(addrs.get(0)); in testConstructors() 105 ipv6Loopback = new LinkAddress(addrs.get(1)); in testConstructors() 107 ipv4Loopback = new LinkAddress(addrs.get(1)); in testConstructors() [all …]
|
D | LinkPropertiesTest.java | 41 private static LinkAddress LINKADDRV4 = new LinkAddress(ADDRV4, 32); 42 private static LinkAddress LINKADDRV6 = new LinkAddress(ADDRV6, 128); 43 private static LinkAddress LINKADDRV6LINKLOCAL = new LinkAddress("fe80::1/64"); 130 target.addLinkAddress(new LinkAddress( in testEqualsSameOrder() 244 LinkAddress prefix = new LinkAddress( in testRouteInterfaces() 353 private LinkAddress getFirstLinkAddress(LinkProperties lp) { in getFirstLinkAddress() 428 LinkAddress deprecated = new LinkAddress(ADDRV6, 128, in testAddressMethods()
|
D | RouteInfoTest.java | 218 LinkAddress l; in testTruncation() 221 l = new LinkAddress("192.0.2.5/30"); in testTruncation() 225 l = new LinkAddress("2001:db8:1:f::5/63"); in testTruncation()
|
/frameworks/base/core/java/android/net/ |
D | LinkAddress.java | 53 public class LinkAddress implements Parcelable { class 139 public LinkAddress(InetAddress address, int prefixLength, int flags, int scope) { in LinkAddress() method in LinkAddress 150 public LinkAddress(InetAddress address, int prefixLength) { in LinkAddress() method in LinkAddress 161 public LinkAddress(InterfaceAddress interfaceAddress) { in LinkAddress() method in LinkAddress 172 public LinkAddress(String address) { in LinkAddress() method in LinkAddress 185 public LinkAddress(String address, int flags, int scope) { in LinkAddress() method in LinkAddress 212 if (!(obj instanceof LinkAddress)) { in equals() 215 LinkAddress linkAddress = (LinkAddress) obj; in equals() 241 public boolean isSameAddressAs(LinkAddress other) { in isSameAddressAs() 319 public static final Creator<LinkAddress> CREATOR = [all …]
|
D | LinkProperties.java | 52 private ArrayList<LinkAddress> mLinkAddresses = new ArrayList<LinkAddress>(); 100 for (LinkAddress l : source.getLinkAddresses()) mLinkAddresses.add(l); in LinkProperties() 163 for (LinkAddress linkAddress : mLinkAddresses) { in getAddresses() 175 for (LinkAddress linkAddress : mLinkAddresses) { in getAllAddresses() 184 private int findLinkAddressIndex(LinkAddress address) { in findLinkAddressIndex() 200 public boolean addLinkAddress(LinkAddress address) { in addLinkAddress() 227 public boolean removeLinkAddress(LinkAddress toRemove) { in removeLinkAddress() 242 public List<LinkAddress> getLinkAddresses() { in getLinkAddresses() 250 public List<LinkAddress> getAllLinkAddresses() { in getAllLinkAddresses() 251 List<LinkAddress> addresses = new ArrayList<LinkAddress>(); in getAllLinkAddresses() [all …]
|
D | INetworkManagementEventObserver.aidl | 19 import android.net.LinkAddress; 66 void addressUpdated(String iface, in LinkAddress address); in addressUpdated() 74 void addressRemoved(String iface, in LinkAddress address); in addressRemoved()
|
D | InterfaceConfiguration.java | 33 private LinkAddress mAddr; 83 public LinkAddress getLinkAddress() { in getLinkAddress() 87 public void setLinkAddress(LinkAddress addr) { in setLinkAddress()
|
D | RouteInfo.java | 170 public RouteInfo(LinkAddress destination, InetAddress gateway, String iface) { in RouteInfo() 200 public RouteInfo(LinkAddress destination, InetAddress gateway) { in RouteInfo() 230 public RouteInfo(LinkAddress destination) { in RouteInfo() 281 public LinkAddress getDestinationLinkAddress() { in getDestinationLinkAddress() 282 return new LinkAddress(mDestination.getAddress(), mDestination.getPrefixLength()); in getDestinationLinkAddress()
|
D | LinkAddress.aidl | 20 parcelable LinkAddress;
|
D | VpnService.java | 405 private final List<LinkAddress> mAddresses = new ArrayList<LinkAddress>(); 463 mAddresses.add(new LinkAddress(address, prefixLength)); in addAddress()
|
D | StaticIpConfiguration.java | 19 import android.net.LinkAddress; 50 public LinkAddress ipAddress;
|
D | DhcpResults.java | 155 ipAddress = new LinkAddress(addr, prefixLength); in setIpAddress()
|
/frameworks/base/core/java/com/android/server/net/ |
D | BaseNetworkObserver.java | 20 import android.net.LinkAddress; 41 public void addressUpdated(String iface, LinkAddress address) { in addressUpdated() 46 public void addressRemoved(String iface, LinkAddress address) { in addressRemoved()
|
D | NetlinkTracker.java | 19 import android.net.LinkAddress; 93 private void maybeLog(String operation, String iface, LinkAddress address) { in maybeLog() 107 public void addressUpdated(String iface, LinkAddress address) { in addressUpdated() 121 public void addressRemoved(String iface, LinkAddress address) { in addressRemoved()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnConfig.java | 28 import android.net.LinkAddress; 91 public List<LinkAddress> addresses = new ArrayList<LinkAddress>(); 134 LinkAddress addr = new LinkAddress(address); in addLegacyAddresses() 176 in.readTypedList(config.addresses, LinkAddress.CREATOR);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementServiceTest.java | 20 import android.net.LinkAddress; 168 expectSoon(observer).addressUpdated("wlan0", new LinkAddress("fe80::1/64", 128, 253)); in testNetworkObservers() 172 expectSoon(observer).addressRemoved("wlan0", new LinkAddress("fe80::1/64", 128, 253)); in testNetworkObservers() 175 expectSoon(observer).addressRemoved("wlan0", new LinkAddress("2001:db8::1/64", 1, 0)); in testNetworkObservers()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Nat464Xlat.java | 27 import android.net.LinkAddress; 198 private LinkProperties makeLinkProperties(LinkAddress clatAddress) { in makeLinkProperties() 209 new LinkAddress(Inet4Address.ANY, 0), in makeLinkProperties() 216 private LinkAddress getLinkAddress(String iface) { in getLinkAddress() 245 LinkAddress clatAddress = getLinkAddress(iface); in interfaceLinkStateChanged()
|
D | Vpn.java | 45 import android.net.LinkAddress; 352 for (LinkAddress address : mConfig.addresses) { in makeLinkProperties() 520 for (LinkAddress address : config.addresses) { in establish()
|
D | Tethering.java | 33 import android.net.LinkAddress; 571 ifcg.setLinkAddress(new LinkAddress(addr, USB_PREFIX_LENGTH)); in configureUsbIface()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 22 import android.net.LinkAddress; 84 LinkAddress ipAddress = staticIpConfiguration.ipAddress; in writeConfig() 209 LinkAddress linkAddr = new LinkAddress( in readIpAndProxyConfigurations() 218 LinkAddress dest = null; in readIpAndProxyConfigurations() 230 dest = new LinkAddress( in readIpAndProxyConfigurations()
|
D | LockdownVpnTracker.java | 30 import android.net.LinkAddress; 83 private List<LinkAddress> mAcceptedSourceAddr; 181 final List<LinkAddress> sourceAddrs = vpnConfig.addresses; in handleStateChangedLocked() 197 for (LinkAddress addr : sourceAddrs) { in handleStateChangedLocked() 287 for (LinkAddress addr : mAcceptedSourceAddr) { in clearSourceRulesLocked() 302 LinkAddress address, boolean allow) throws RemoteException { in setFirewallEgressSourceRule()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataCallResponse.java | 20 import android.net.LinkAddress; 140 LinkAddress la; in setLinkProperties() 162 la = new LinkAddress(ia, addrPrefixLen); in setLinkProperties()
|
D | DcController.java | 19 import android.net.LinkAddress; 269 CompareResult<LinkAddress> car = in onDataStateChanged() 276 for (LinkAddress added : car.added) { in onDataStateChanged() 277 for (LinkAddress removed : car.removed) { in onDataStateChanged()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 46 import android.net.LinkAddress; 538 private void notifyAddressUpdated(String iface, LinkAddress address) { in notifyAddressUpdated() 556 private void notifyAddressRemoved(String iface, LinkAddress address) { in notifyAddressRemoved() 716 LinkAddress address; in onEvent() 720 address = new LinkAddress(cooked[3], flags, scope); in onEvent() 851 cfg.setLinkAddress(new LinkAddress(addr, prefixLength)); in getInterfaceConfig() 864 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() 1046 LinkAddress linkAddress = new LinkAddress(destAddr, prefixLength); in getRoutes() 1080 LinkAddress linkAddress = new LinkAddress(destAddr, prefixLength); in getRoutes() 2039 final LinkAddress la = routeInfo.getDestinationLinkAddress(); in addLegacyRouteForNetId()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 21 import android.net.LinkAddress; 245 staticIpConfig.ipAddress = new LinkAddress(ipAddress, prefixLength); in getWifiConfiguration()
|