OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:networkInterface
(Results
1 - 16
of
16
) sorted by null
/external/jmdns/src/javax/jmdns/impl/
NameRegister.java
34
public void register(InetAddress
networkInterface
, String name, NameType type) {
44
public boolean checkName(InetAddress
networkInterface
, String name, NameType type) {
54
public String incrementHostName(InetAddress
networkInterface
, String name, NameType type) {
68
public void register(InetAddress
networkInterface
, String name, NameType type) {
78
public boolean checkName(InetAddress
networkInterface
, String name, NameType type) {
88
public String incrementHostName(InetAddress
networkInterface
, String name, NameType type) {
133
* @param
networkInterface
140
public abstract void register(InetAddress
networkInterface
, String name, NameType type);
145
* @param
networkInterface
153
public abstract boolean checkName(InetAddress
networkInterface
, String name, NameType type)
[
all
...]
NetworkTopologyDiscoveryImpl.java
8
import java.net.
NetworkInterface
;
37
isUp =
NetworkInterface
.class.getMethod("isUp", (Class<?>[]) null);
45
supportsMulticast =
NetworkInterface
.class.getMethod("supportsMulticast", (Class<?>[]) null);
62
for (Enumeration<
NetworkInterface
> nifs =
NetworkInterface
.getNetworkInterfaces(); nifs.hasMoreElements();) {
63
NetworkInterface
nif = nifs.nextElement();
67
logger.finest("Found
NetworkInterface
/InetAddress: " + nif + " -- " + interfaceAddress);
82
* @see javax.jmdns.JmmDNS.NetworkTopologyDiscovery#useInetAddress(java.net.
NetworkInterface
, java.net.InetAddress)
85
public boolean useInetAddress(
NetworkInterface
networkInterface
, InetAddress interfaceAddress)
[
all
...]
/libcore/luni/src/main/java/java/net/
MulticastSocket.java
86
NetworkInterface
theInterface = getNetworkInterface();
107
public
NetworkInterface
getNetworkInterface() throws SocketException {
111
return
NetworkInterface
.getByIndex(index);
113
return
NetworkInterface
.forUnboundMulticastSocket();
167
public void joinGroup(SocketAddress groupAddress,
NetworkInterface
netInterface) throws IOException {
200
public void leaveGroup(SocketAddress groupAddress,
NetworkInterface
netInterface) throws IOException {
205
private void checkJoinOrLeave(SocketAddress groupAddress,
NetworkInterface
netInterface) throws IOException {
274
NetworkInterface
networkInterface
=
NetworkInterface
.getByInetAddress(address)
[
all
...]
PlainDatagramSocketImpl.java
27
import java.net.
NetworkInterface
;
119
private static StructGroupReq makeGroupReq(InetAddress gr_group,
NetworkInterface
networkInterface
) {
120
int gr_interface = (
networkInterface
!= null) ?
networkInterface
.getIndex() : 0;
130
public void joinGroup(SocketAddress addr,
NetworkInterface
netInterface) throws IOException {
143
public void leaveGroup(SocketAddress addr,
NetworkInterface
netInterface) throws IOException {
NetworkInterface.java
40
public final class
NetworkInterface
extends Object {
48
private final List<
NetworkInterface
> children = new LinkedList<
NetworkInterface
>();
50
private
NetworkInterface
parent = null;
52
private
NetworkInterface
(String name, int interfaceIndex,
60
static
NetworkInterface
forUnboundMulticastSocket() {
63
return new
NetworkInterface
(null, -1,
98
* Returns the {@code
NetworkInterface
} corresponding to the named network interface, or null
104
public static
NetworkInterface
getByName(String interfaceName) throws SocketException {
119
private static
NetworkInterface
getByNameInternal(String interfaceName
[
all
...]
InetAddress.java
348
* <li>For other use cases, see {@link
NetworkInterface
}, which lets you
660
* @param
networkInterface
675
public boolean isReachable(
NetworkInterface
networkInterface
, final int ttl, final int timeout) throws IOException {
681
if (
networkInterface
== null) {
685
// Try each
NetworkInterface
in parallel.
687
List<InetAddress> sourceAddresses = Collections.list(
networkInterface
.getInetAddresses());
[
all
...]
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
Platform.java
23
import java.net.
NetworkInterface
;
42
* there's an error retrieving it via
NetworkInterface
.
117
NetworkInterface
networkInterface
=
NetworkInterface
.getByInetAddress(
119
if (
networkInterface
!= null) {
120
return
networkInterface
.getMTU();
/external/jmdns/src/javax/jmdns/
NetworkTopologyDiscovery.java
4
import java.net.
NetworkInterface
;
24
* public boolean useInetAddress(
NetworkInterface
networkInterface
, InetAddress interfaceAddress) {
144
* @param
networkInterface
148
public boolean useInetAddress(
NetworkInterface
networkInterface
, InetAddress interfaceAddress);
/development/apps/Development/src/com/android/development/
Connectivity.java
67
import java.net.
NetworkInterface
;
585
NetworkInterface
networkInterface
= null;
587
networkInterface
=
NetworkInterface
.getByName("rmnet0");
588
Log.d(TAG, "
networkInterface
is " +
networkInterface
);
593
if (
networkInterface
!= null) {
594
Enumeration inetAddressess =
networkInterface
.getInetAddresses();
601
if (
networkInterface
!= null)
[
all
...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
InetAddressTest.java
25
import java.net.
NetworkInterface
;
359
Enumeration<
NetworkInterface
> nif =
NetworkInterface
.getNetworkInterfaces();
360
NetworkInterface
netif;
389
NetworkInterface
loopbackInterface = null;
391
Enumeration<
NetworkInterface
> networkInterfaces =
NetworkInterface
394
NetworkInterface
networkInterface
= networkInterfaces.nextElement();
395
Enumeration<InetAddress> addresses =
networkInterface
[
all
...]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java
29
import java.net.
NetworkInterface
;
155
getMtu =
NetworkInterface
.class.getMethod("getMTU");
220
NetworkInterface
networkInterface
=
NetworkInterface
.getByInetAddress(
222
if (
networkInterface
== null) {
225
return (Integer) getMtu.invoke(
networkInterface
);
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/9/
android.jar
Completed in 105 milliseconds