Home
last modified time | relevance | path

Searched refs:NetworkInterface (Results 1 – 18 of 18) sorted by relevance

/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixNetworkInterfaceTest.java19 import java.net.NetworkInterface;
29 private Enumeration<NetworkInterface> netifs = null;
39 NetworkInterface netif = netifs.nextElement(); in test_isUp()
64 NetworkInterface netif = netifs.nextElement(); in test_supportsMulticast()
91 NetworkInterface netif = netifs.nextElement(); in test_getHardwareAddress()
122 NetworkInterface netif = netifs.nextElement(); in test_getMTU()
146 NetworkInterface netif = netifs.nextElement(); in test_getSubInterfaces()
147 Enumeration<NetworkInterface> subInterfaces1 = netif in test_getSubInterfaces()
149 Enumeration<NetworkInterface> subInterfaces2 = netif in test_getSubInterfaces()
153 NetworkInterface sub1 = subInterfaces1.nextElement(); in test_getSubInterfaces()
[all …]
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DSimpleServer.java26 import java.net.NetworkInterface;
144 Enumeration<NetworkInterface> nets = NetworkInterface.getNetworkInterfaces(); in getPrivateInetAddress()
145 for (NetworkInterface netint : Collections.list(nets)) { in getPrivateInetAddress()
172 Enumeration<NetworkInterface> nets = NetworkInterface.getNetworkInterfaces(); in getPublicInetAddress()
173 for (NetworkInterface netint : Collections.list(nets)) { in getPublicInetAddress()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_NetworkInterface.java20 import java.net.NetworkInterface;
29 public static boolean useInterface(NetworkInterface theInterface) { in useInterface()
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporterHandler.java40 import java.net.NetworkInterface;
78 Enumeration<NetworkInterface> nics = NetworkInterface.getNetworkInterfaces(); in produceLocalEndpoint()
83 NetworkInterface nic = nics.nextElement(); in produceLocalEndpoint()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java46 import java.net.NetworkInterface;
141 Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces(); in buildBenchmarkAddr()
143 NetworkInterface networkInterface = networkInterfaces.nextElement(); in buildBenchmarkAddr()
147 Enumeration<NetworkInterface> subInterfaces = networkInterface.getSubInterfaces(); in buildBenchmarkAddr()
149 NetworkInterface subLoopback = subInterfaces.nextElement(); in buildBenchmarkAddr()
/external/webrtc/media/base/
Dmedia_channel.h160 class NetworkInterface {
170 virtual ~NetworkInterface() {} in ~NetworkInterface()
180 virtual void SetInterface(NetworkInterface* iface)
240 int SetOption(NetworkInterface::SocketType type, in SetOption()
269 int SetOptionLocked(NetworkInterface::SocketType type, in SetOptionLocked()
305 SetOptionLocked(NetworkInterface::ST_RTP, rtc::Socket::OPT_DSCP, value); in UpdateDscp()
307 ret = SetOptionLocked(NetworkInterface::ST_RTCP, rtc::Socket::OPT_DSCP, in UpdateDscp()
330 NetworkInterface* network_interface_
Dmedia_channel.cc26 void MediaChannel::SetInterface(NetworkInterface* iface) { in SetInterface()
Dfake_network_interface.h30 class FakeNetworkInterface : public MediaChannel::NetworkInterface,
/external/scapy/scapy/arch/windows/
D__init__.py400 class NetworkInterface(object): class
637 interface = NetworkInterface(i)
711 if isinstance(scapy.consts.LOOPBACK_INTERFACE, NetworkInterface):
758 if isinstance(dev, NetworkInterface):
1050 adapter = NetworkInterface(data)
1067 if isinstance(conf.iface, NetworkInterface):
1070 if isinstance(conf.iface6, NetworkInterface):
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DConnectivityManagerFacade.java71 import java.net.NetworkInterface;
763 NetworkInterface iface = null; in getInetAddrsForInterface()
765 iface = NetworkInterface.getByName(ifaceName); in getInetAddrsForInterface()
987 public List<NetworkInterface> connectivityGetNetworkInterfaces() { in connectivityGetNetworkInterfaces()
988 List<NetworkInterface> interfaces = null; in connectivityGetNetworkInterfaces()
991 NetworkInterface.getNetworkInterfaces()); in connectivityGetNetworkInterfaces()
/external/webrtc/sdk/android/api/org/webrtc/
DNetworkMonitorAutoDetect.java34 import java.net.NetworkInterface;
588 NetworkInterface wifiP2pInterface; in onWifiP2pGroupChange()
590 wifiP2pInterface = NetworkInterface.getByName(wifiP2pGroup.getInterface()); in onWifiP2pGroupChange()
/external/webrtc/pc/
Dchannel.h74 public MediaChannel::NetworkInterface,
/external/scapy/test/
Dmock_windows.uts43 interface = NetworkInterface(i)
Dregression.uts70 dummy_int = NetworkInterface(data)
/external/webrtc/media/engine/
Dwebrtc_video_engine.h172 void SetInterface(NetworkInterface* iface) override;
Dwebrtc_video_engine.cc1752 void WebRtcVideoChannel::SetInterface(NetworkInterface* iface) { in SetInterface()
1770 MediaChannel::SetOption(NetworkInterface::ST_RTP, rtc::Socket::OPT_RCVBUF, in SetInterface()
1777 MediaChannel::SetOption(NetworkInterface::ST_RTP, rtc::Socket::OPT_SNDBUF, in SetInterface()
/external/okhttp/
DCHANGELOG.md799 * Fix: Properly handle exceptions from `NetworkInterface` when querying MTU.
/external/libabigail/tests/data/test-read-dwarf/
Dtest12-pr18844.so.abi4794 …l name='unique_ptr&lt;mongo::executor::NetworkInterface, std::default_delete&lt;mongo::executor::N…
4882 …-decl name='tuple&lt;mongo::executor::NetworkInterface *, std::default_delete&lt;mongo::executor::
4913 …ecl name='tuple&lt;mongo::executor::NetworkInterface *&amp;, std::default_delete&lt;mongo::executo…
4921 …e='_Tuple_impl&lt;0, mongo::executor::NetworkInterface *, std::default_delete&lt;mongo::executor::
4956 …me='_Tuple_impl&lt;mongo::executor::NetworkInterface *&amp;, std::default_delete&lt;mongo::executo…
4976 …<class-decl name='_Tuple_impl&lt;1, std::default_delete&lt;mongo::executor::NetworkInterface&gt; &…
5010 …n-decl name='_Tuple_impl&lt;std::default_delete&lt;mongo::executor::NetworkInterface&gt;, void&gt;…
5023 …<class-decl name='_Head_base&lt;1, std::default_delete&lt;mongo::executor::NetworkInterface&gt;, t…
5061 …on-decl name='_Head_base&lt;std::default_delete&lt;mongo::executor::NetworkInterface&gt; &gt;' man…
5074 …<class-decl name='default_delete&lt;mongo::executor::NetworkInterface&gt;' size-in-bits='8' is-str…
[all …]