/frameworks/base/core/java/android/net/ |
LinkAddress.aidl | 20 parcelable LinkAddress;
|
LinkAddress.java | 31 public class LinkAddress implements Parcelable { 46 throw new IllegalArgumentException("Bad LinkAddress params " + address + 53 public LinkAddress(InetAddress address, int prefixLength) { 57 public LinkAddress(InterfaceAddress interfaceAddress) { 63 * Constructs a new {@code LinkAddress} from a string such as "192.0.2.5/24" or 67 public LinkAddress(String address) { 81 throw new IllegalArgumentException("Bad LinkAddress params " + address); 93 * Compares this {@code LinkAddress} instance against the specified address 102 if (!(obj instanceof LinkAddress)) { 105 LinkAddress linkAddress = (LinkAddress) obj [all...] |
RouteInfo.java | 49 private final LinkAddress mDestination; 80 public RouteInfo(LinkAddress destination, InetAddress gateway, String iface) { 84 destination = new LinkAddress(Inet4Address.ANY, 0); 86 destination = new LinkAddress(Inet6Address.ANY, 0); 103 mDestination = new LinkAddress(NetworkUtils.getNetworkPart(destination.getAddress(), 111 public RouteInfo(LinkAddress destination, InetAddress gateway) { 119 public RouteInfo(LinkAddress host) { 131 return new RouteInfo(new LinkAddress(host, 32), gateway, iface); 133 return new RouteInfo(new LinkAddress(host, 128), gateway, iface); 157 public LinkAddress getDestination() [all...] |
LinkProperties.java | 64 private Collection<LinkAddress> mLinkAddresses = new ArrayList<LinkAddress>(); 99 for (LinkAddress l : source.getLinkAddresses()) mLinkAddresses.add(l); 139 for (LinkAddress linkAddress : mLinkAddresses) { 140 addresses.add(linkAddress.getAddress()); 150 for (LinkAddress linkAddress : mLinkAddresses) { 151 addresses.add(linkAddress.getAddress()); 161 * @param address The {@code LinkAddress} to add [all...] |
InterfaceConfiguration.java | 33 private LinkAddress mAddr; 83 public LinkAddress getLinkAddress() { 87 public void setLinkAddress(LinkAddress addr) {
|
VpnService.java | 258 private final List<LinkAddress> mAddresses = new ArrayList<LinkAddress>(); 333 mAddresses.add(new LinkAddress(address, prefixLength)); 367 mRoutes.add(new RouteInfo(new LinkAddress(address, prefixLength), null));
|
DhcpResults.java | 196 LinkAddress linkAddress = new LinkAddress(addr, prefixLength); 197 linkProperties.addLinkAddress(linkAddress); 199 RouteInfo routeInfo = new RouteInfo(linkAddress);
|
/frameworks/base/core/java/com/android/internal/net/ |
VpnConfig.java | 26 import android.net.LinkAddress; 66 public List<LinkAddress> addresses = new ArrayList<LinkAddress>(); 82 RouteInfo info = new RouteInfo(new LinkAddress 96 LinkAddress addr = new LinkAddress(InetAddress.parseNumericAddress(split[0]), 131 in.readTypedList(config.addresses, LinkAddress.CREATOR);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Nat464Xlat.java | 26 import android.net.LinkAddress; 161 LinkAddress clatAddress = config.getLinkAddress(); 164 RouteInfo ipv4Default = new RouteInfo(new LinkAddress(Inet4Address.ANY, 0),
|
/frameworks/base/core/java/android/os/ |
INetworkManagementService.aidl | 22 import android.net.LinkAddress; 398 void setHostExemption(in LinkAddress host); 403 void clearHostExemption(in LinkAddress host);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
RouteInfoTest.java | 22 import android.net.LinkAddress; 35 private LinkAddress Prefix(String prefix) { 37 return new LinkAddress(Address(parts[0]), Integer.parseInt(parts[1])); 75 public PatchedRouteInfo(LinkAddress destination, InetAddress gateway, String iface) {
|
LinkPropertiesTest.java | 38 private static LinkAddress LINKADDRV4 = new LinkAddress(ADDRV4, 32); 39 private static LinkAddress LINKADDRV6 = new LinkAddress(ADDRV6, 128); 126 target.addLinkAddress(new LinkAddress( 240 LinkAddress prefix = new LinkAddress(
|
/frameworks/base/services/java/com/android/server/net/ |
LockdownVpnTracker.java | 29 import android.net.LinkAddress; 79 private List<LinkAddress> mAcceptedSourceAddr; 168 final List<LinkAddress> sourceAddrs = vpnConfig.addresses; 184 for (LinkAddress addr : sourceAddrs) { 272 for (LinkAddress addr : mAcceptedSourceAddr) {
|
/frameworks/base/core/java/android/net/arp/ |
ArpPeer.java | 19 import android.net.LinkAddress; 140 for (LinkAddress la : linkProperties.getLinkAddresses()) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcController.java | 19 import android.net.LinkAddress; 252 CompareResult<LinkAddress> car = 259 for (LinkAddress added : car.added) { 260 for (LinkAddress removed : car.removed) {
|
DataCallResponse.java | 20 import android.net.LinkAddress; 130 LinkAddress la; 152 la = new LinkAddress(ia, addrPrefixLen);
|
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | 41 import android.net.LinkAddress; 599 cfg.setLinkAddress(new LinkAddress(addr, prefixLength)); 612 LinkAddress linkAddr = cfg.getLinkAddress(); 614 throw new IllegalStateException("Null LinkAddress given"); 718 final LinkAddress la = route.getDestination(); 792 LinkAddress linkAddress = new LinkAddress(destAddr, prefixLength); 798 RouteInfo route = new RouteInfo(linkAddress, gatewayAddr); 826 LinkAddress linkAddress = new LinkAddress(destAddr, prefixLength) [all...] |
ConnectivityService.java | 62 import android.net.LinkAddress; 400 private Collection<LinkAddress> mExemptAddresses = new ArrayList<LinkAddress>(); [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
AccessPointParserHelper.java | 32 import android.net.LinkAddress; 327 mLinkProperties.addLinkAddress(new LinkAddress(mInetAddr, nwPrefixLength));
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiConfigStore.java | 21 import android.net.LinkAddress; 148 private static final String LINK_ADDRESS_KEY = "linkAddress"; 822 for (LinkAddress linkAddr : linkProperties.getLinkAddresses()) { 829 LinkAddress dest = route.getDestination(); [all...] |
WifiStateMachine.java | 49 import android.net.LinkAddress; 253 mWifiStateMachine.sendMessage(CMD_IP_ADDRESS_UPDATED, new LinkAddress(address)); 264 mWifiStateMachine.sendMessage(CMD_IP_ADDRESS_REMOVED, new LinkAddress(address)); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
PanService.java | 32 import android.net.LinkAddress; 522 LinkAddress linkAddr = ifcg.getLinkAddress(); 529 ifcg.setLinkAddress(new LinkAddress(addr, BLUETOOTH_PREFIX_LENGTH));
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | 23 import android.net.LinkAddress; 498 linkProperties.addLinkAddress(new LinkAddress(inetAddr, networkPrefixLength)); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothTetheringDataTracker.java | 39 import android.net.LinkAddress;
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiService.java | 30 import android.net.LinkAddress; [all...] |