HomeSort by relevance Sort by last modified time
    Searched refs:NetworkUtils (Results 1 - 25 of 28) sorted by null

1 2

  /frameworks/base/core/java/android/net/
DhcpStateMachine.java 30 import android.net.NetworkUtils;
281 if (!NetworkUtils.stopDhcp(mInterfaceName)) {
322 if (!NetworkUtils.stopDhcp(mInterfaceName)) {
355 NetworkUtils.stopDhcp(mInterfaceName);
357 success = NetworkUtils.runDhcp(mInterfaceName, dhcpResults);
360 success = NetworkUtils.runDhcpRenew(mInterfaceName, dhcpResults);
390 NetworkUtils.getDhcpError());
391 NetworkUtils.stopDhcp(mInterfaceName);
EthernetDataTracker.java 135 NetworkUtils.stopDhcp(mIface);
169 if (!NetworkUtils.runDhcp(mIface, dhcpResults)) {
170 Log.e(TAG, "DHCP request error:" + NetworkUtils.getDhcpError());
234 NetworkUtils.stopDhcp(mIface);
257 NetworkUtils.stopDhcp(mIface);
DhcpResults.java 190 addr = NetworkUtils.numericToInetAddress(addrString);
206 linkProperties.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(addrString)));
217 linkProperties.addDns(NetworkUtils.numericToInetAddress(addrString));
228 serverAddress = NetworkUtils.numericToInetAddress(addrString);
RouteInfo.java 103 mDestination = new LinkAddress(NetworkUtils.getNetworkPart(destination.getAddress(),
287 InetAddress dstNet = NetworkUtils.getNetworkPart(destination,
306 if (NetworkUtils.addressTypeMatches(route.mDestination.getAddress(), dest)) {
DhcpInfo.java 68 buf.append(NetworkUtils.intToInetAddress(addr).getHostAddress());
NetworkUtils.java 33 public class NetworkUtils {
35 private static final String TAG = "NetworkUtils";
238 Log.e("NetworkUtils", "error in hexToInet6Address(" + addrHexString + "): " + e);
DnsPinger.java 305 return NetworkUtils.numericToInetAddress(dns);
Proxy.java 226 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) {
ConnectivityManager.java 783 InetAddress inetAddress = NetworkUtils.intToInetAddress(hostAddress);
    [all...]
  /frameworks/base/core/java/android/text/format/
Formatter.java 20 import android.net.NetworkUtils;
107 return NetworkUtils.intToInetAddress(ipv4Address).getHostAddress();
  /frameworks/base/core/tests/coretests/src/android/net/
LinkPropertiesTest.java 28 private static InetAddress ADDRV4 = NetworkUtils.numericToInetAddress("75.208.6.1");
29 private static InetAddress ADDRV6 = NetworkUtils.numericToInetAddress(
31 private static InetAddress DNS1 = NetworkUtils.numericToInetAddress("75.208.7.1");
32 private static InetAddress DNS2 = NetworkUtils.numericToInetAddress("69.78.7.1");
33 private static InetAddress GATEWAY1 = NetworkUtils.numericToInetAddress("75.208.8.1");
34 private static InetAddress GATEWAY2 = NetworkUtils.numericToInetAddress("69.78.8.1");
127 NetworkUtils.numericToInetAddress("75.208.6.2"), 32));
141 target.addDns(NetworkUtils.numericToInetAddress("75.208.7.2"));
155 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress("75.208.8.2")));
241 NetworkUtils.numericToInetAddress("2001:db8::"), 32)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DataCallResponse.java 22 import android.net.NetworkUtils;
142 ia = NetworkUtils.numericToInetAddress(addr);
167 ia = NetworkUtils.numericToInetAddress(addr);
184 ia = NetworkUtils.numericToInetAddress(dnsAddr);
210 ia = NetworkUtils.numericToInetAddress(addr);
DcController.java 20 import android.net.NetworkUtils;
261 if (NetworkUtils.addressTypeMatches(
  /frameworks/base/services/java/com/android/server/connectivity/
Nat464Xlat.java 29 import android.net.NetworkUtils;
188 NetworkUtils.resetConnections(
190 NetworkUtils.RESET_IPV4_ADDRESSES);
Tethering.java 37 import android.net.NetworkUtils;
564 InetAddress addr = NetworkUtils.numericToInetAddress(USB_NEAR_IFACE_ADDR);
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
TransactionSettings.java 23 import android.net.NetworkUtils;
98 mServiceCenter = NetworkUtils.trimV4AddrZeros(mmsc.trim());
99 mProxyAddress = NetworkUtils.trimV4AddrZeros(
  /frameworks/base/core/java/android/bluetooth/
BluetoothTetheringDataTracker.java 31 import android.net.NetworkUtils;
322 boolean success = NetworkUtils.runDhcp(linkProperties.getInterfaceName(),
330 Log.e(TAG, "DHCP request error:" + NetworkUtils.getDhcpError());
356 NetworkUtils.stopDhcp(mLinkProperties.getInterfaceName());
  /frameworks/base/wifi/java/android/net/wifi/
WifiInfo.java 22 import android.net.NetworkUtils;
237 result = NetworkUtils.inetAddressToInt((Inet4Address)mIpAddress);
WifiConfigStore.java 23 import android.net.NetworkUtils;
    [all...]
  /frameworks/base/services/java/com/android/server/
NetworkManagementService.java 43 import android.net.NetworkUtils;
588 addr = NetworkUtils.numericToInetAddress(st.nextToken());
788 NetworkUtils.intToInetAddress((int)Long.parseLong(dest, 16));
790 NetworkUtils.netmaskIntToPrefixLength(
796 NetworkUtils.intToInetAddress((int)Long.parseLong(gate, 16));
825 InetAddress destAddr = NetworkUtils.hexToInet6Address(dest);
828 InetAddress gateAddr = NetworkUtils.hexToInet6Address(gate);
    [all...]
ConnectivityService.java 70 import android.net.NetworkUtils;
471 mDefaultDns = NetworkUtils.numericToInetAddress(dns);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pan/
PanService.java 35 import android.net.NetworkUtils;
524 addr.equals(NetworkUtils.numericToInetAddress("0.0.0.0")) ||
525 addr.equals(NetworkUtils.numericToInetAddress("::0"))) {
526 addr = NetworkUtils.numericToInetAddress(address);
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiConfigController.java 26 import android.net.NetworkUtils;
480 inetAddr = NetworkUtils.numericToInetAddress(ipAddr);
502 InetAddress netPart = NetworkUtils.getNetworkPart(inetAddr, networkPrefixLength);
512 gatewayAddr = NetworkUtils.numericToInetAddress(gateway);
527 dnsAddr = NetworkUtils.numericToInetAddress(dns);
537 dnsAddr = NetworkUtils.numericToInetAddress(dns);
    [all...]
  /frameworks/base/services/java/com/android/server/wifi/
WifiService.java 31 import android.net.NetworkUtils;
    [all...]
  /development/apps/Development/src/com/android/development/
Connectivity.java 31 import android.net.NetworkUtils;
528 NetworkUtils.numericToInetAddress("8.8.8.8")));
537 NetworkUtils.numericToInetAddress("8.8.8.8")));

Completed in 587 milliseconds

1 2