HomeSort by relevance Sort by last modified time
    Searched defs:NetworkUtils (Results 1 - 20 of 20) sorted by null

  /packages/apps/TV/src/com/android/tv/util/
NetworkUtils.java 29 public class NetworkUtils {
60 private NetworkUtils() {}
  /frameworks/base/core/java/android/net/
DhcpResults.java 19 import android.net.NetworkUtils;
132 NetworkUtils.parcelInetAddress(dest, serverAddress, flags);
140 dhcpResults.serverAddress = (Inet4Address) NetworkUtils.unparcelInetAddress(in);
148 Inet4Address addr = (Inet4Address) NetworkUtils.numericToInetAddress(addrString);
159 gateway = NetworkUtils.numericToInetAddress(addrString);
170 dnsServers.add(NetworkUtils.numericToInetAddress(addrString));
181 serverAddress = (Inet4Address) NetworkUtils.numericToInetAddress(addrString);
IpPrefix.java 58 NetworkUtils.maskRawAddress(address, prefixLength);
108 Pair<InetAddress, Integer> ipAndMask = NetworkUtils.parseIpAndMask(prefix);
186 NetworkUtils.maskRawAddress(addrBytes, prefixLength);
200 NetworkUtils.maskRawAddress(otherAddress, prefixLength);
StaticIpConfiguration.java 185 NetworkUtils.parcelInetAddress(dest, gateway, flags);
188 NetworkUtils.parcelInetAddress(dest, dnsServer, flags);
195 s.gateway = NetworkUtils.unparcelInetAddress(in);
199 s.dnsServers.add(NetworkUtils.unparcelInetAddress(in));
NetworkUtils.java 39 public class NetworkUtils {
41 private static final String TAG = "NetworkUtils";
343 Log.e("NetworkUtils", "error in hexToInet6Address(" + addrHexString + "): " + e);
  /frameworks/base/tests/net/java/android/net/
NetworkUtilsTest.java 19 import android.net.NetworkUtils;
41 assertEquals(8, NetworkUtils.getImplicitNetmask(IPv4Address("4.2.2.2")));
42 assertEquals(8, NetworkUtils.getImplicitNetmask(IPv4Address("10.5.6.7")));
43 assertEquals(16, NetworkUtils.getImplicitNetmask(IPv4Address("173.194.72.105")));
44 assertEquals(16, NetworkUtils.getImplicitNetmask(IPv4Address("172.23.68.145")));
45 assertEquals(24, NetworkUtils.getImplicitNetmask(IPv4Address("192.0.2.1")));
46 assertEquals(24, NetworkUtils.getImplicitNetmask(IPv4Address("192.168.5.1")));
47 assertEquals(32, NetworkUtils.getImplicitNetmask(IPv4Address("224.0.0.1")));
48 assertEquals(32, NetworkUtils.getImplicitNetmask(IPv4Address("255.6.7.8")));
53 NetworkUtils.netmaskToPrefixLength(addr)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
AdvancedOptionsFlowUtil.java 22 import android.net.NetworkUtils;
112 inetAddr = (Inet4Address) NetworkUtils.numericToInetAddress(ipAddr);
132 NetworkUtils.numericToInetAddress(gateway);
142 NetworkUtils.numericToInetAddress(dns1));
152 NetworkUtils.numericToInetAddress(dns2));
  /frameworks/base/services/net/java/android/net/ip/
ConnectivityPacketTracker.java 21 import android.net.NetworkUtils;
105 NetworkUtils.attachControlPacketFilter(s, ARPHRD_ETHER);
RouterAdvertisementDaemon.java 26 import android.net.NetworkUtils;
581 NetworkUtils.protectFromVpn(mSocket);
582 NetworkUtils.setupRaSocket(mSocket, mInterface.index);
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
IpConfigStoreTest.java 27 import android.net.NetworkUtils;
81 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_1));
82 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_2));
  /frameworks/base/services/core/java/com/android/server/net/
IpConfigStore.java 23 import android.net.NetworkUtils;
287 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt());
299 gateway = NetworkUtils.numericToInetAddress(in.readUTF());
308 NetworkUtils.numericToInetAddress(in.readUTF()),
312 gateway = NetworkUtils.numericToInetAddress(in.readUTF());
324 NetworkUtils.numericToInetAddress(in.readUTF()));
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiConfigurationTestUtil.java 23 import android.net.NetworkUtils;
179 NetworkUtils.numericToInetAddress(linkAddress), linkPrefixLength);
185 NetworkUtils.numericToInetAddress(gatewayAddress);
192 NetworkUtils.numericToInetAddress(dnsServerAddress));
    [all...]
  /frameworks/base/services/net/java/android/net/apf/
ApfFilter.java 34 import android.net.NetworkUtils;
447 NetworkUtils.attachRaFilter(socket, mApfCapabilities.apfPacketFormat);
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
WifiP2pServiceImpl.java 35 import android.net.NetworkUtils;
    [all...]
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-runner/1.2.20/
kotlin-compiler-runner-1.2.20.jar 
  /external/kotlinc/lib/
kotlin-daemon-client.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-daemon-client/1.2.20/
kotlin-daemon-client-1.2.20.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-runner/1.2.0/
kotlin-compiler-runner-1.2.0.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-daemon-client/1.2.0/
kotlin-daemon-client-1.2.0.jar 
  /prebuilts/tools/common/m2/repository/org/seleniumhq/selenium/selenium-remote-driver/2.42.2/
selenium-remote-driver-2.42.2.jar 

Completed in 822 milliseconds