HomeSort by relevance Sort by last modified time
    Searched refs:linkAddress (Results 1 - 5 of 5) sorted by null

  /frameworks/base/core/java/android/net/
LinkAddress.java 31 public class LinkAddress implements Parcelable {
42 public LinkAddress(InetAddress address, int prefixLength) {
46 throw new IllegalArgumentException("Bad LinkAddress params " + address +
53 public LinkAddress(InterfaceAddress interfaceAddress) {
64 * Compares this {@code LinkAddress} instance against the specified address
73 if (!(obj instanceof LinkAddress)) {
76 LinkAddress linkAddress = (LinkAddress) obj;
77 return this.address.equals(linkAddress.address) &
    [all...]
LinkProperties.java 55 private Collection<LinkAddress> mLinkAddresses = new ArrayList<LinkAddress>();
83 for (LinkAddress l : source.getLinkAddresses()) mLinkAddresses.add(l);
101 for (LinkAddress linkAddress : mLinkAddresses) {
102 addresses.add(linkAddress.getAddress());
107 public void addLinkAddress(LinkAddress address) {
111 public Collection<LinkAddress> getLinkAddresses() {
158 for (LinkAddress addr : mLinkAddresses) linkAddresses += addr.toString() + ",";
269 public CompareResult<LinkAddress> compareAddresses(LinkProperties target)
    [all...]
  /frameworks/base/services/java/com/android/server/
NetworkManagementService.java 34 import android.net.LinkAddress;
398 cfg.addr = new LinkAddress(addr, prefixLength);
411 LinkAddress linkAddr = cfg.addr;
413 throw new IllegalStateException("Null LinkAddress given");
532 LinkAddress la = route.getDestination();
614 LinkAddress linkAddress = new LinkAddress(destAddr, prefixLength);
620 RouteInfo route = new RouteInfo(linkAddress, gatewayAddr);
648 LinkAddress linkAddress = new LinkAddress(destAddr, prefixLength)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiConfigController.java 23 import android.net.LinkAddress;
448 linkProperties.addLinkAddress(new LinkAddress(inetAddr, networkPrefixLength));
620 Iterator<LinkAddress> iterator = linkProperties.getLinkAddresses().iterator();
622 LinkAddress linkAddress = iterator.next();
623 mIpAddressView.setText(linkAddress.getAddress().getHostAddress());
624 mNetworkPrefixLengthView.setText(Integer.toString(linkAddress
  /frameworks/base/wifi/java/android/net/wifi/
WifiConfigStore.java 22 import android.net.LinkAddress;
130 private static final String LINK_ADDRESS_KEY = "linkAddress";
472 Iterator<LinkAddress> iter = linkProperties.getLinkAddresses().iterator();
474 LinkAddress linkAddress = iter.next();
475 dhcpInfoInternal.ipAddress = linkAddress.getAddress().getHostAddress();
479 dhcpInfoInternal.prefixLength = linkAddress.getNetworkPrefixLength();
647 for (LinkAddress linkAddr : linkProperties.getLinkAddresses()) {
654 LinkAddress dest = route.getDestination();
767 LinkAddress linkAddr = new LinkAddress
    [all...]

Completed in 35 milliseconds