Home
last modified time | relevance | path

Searched refs:ifName (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/metrics/
DIpReachabilityEvent.java36 public final String ifName; field in IpReachabilityEvent
44 private IpReachabilityEvent(String ifName, int eventType) { in IpReachabilityEvent() argument
45 this.ifName = ifName; in IpReachabilityEvent()
50 this.ifName = in.readString(); in IpReachabilityEvent()
55 out.writeString(ifName); in writeToParcel()
74 public static void logProbeEvent(String ifName, int nlErrorCode) { in logProbeEvent() argument
75 logEvent(new IpReachabilityEvent(ifName, PROBE | (nlErrorCode & 0xFF))); in logProbeEvent()
78 public static void logNudFailed(String ifName) { in logNudFailed() argument
79 logEvent(new IpReachabilityEvent(ifName, NUD_FAILED)); in logNudFailed()
82 public static void logProvisioningLost(String ifName) { in logProvisioningLost() argument
[all …]
DDhcpClientEvent.java28 public final String ifName; field in DhcpClientEvent
31 private DhcpClientEvent(String ifName, String msg) { in DhcpClientEvent() argument
32 this.ifName = ifName; in DhcpClientEvent()
37 this.ifName = in.readString(); in DhcpClientEvent()
42 out.writeString(ifName); in writeToParcel()
52 return String.format("DhcpClientEvent(%s, %s)", ifName, msg); in toString()
66 public static void logStateEvent(String ifName, String state) { in logStateEvent() argument
67 logEvent(new DhcpClientEvent(ifName, state)); in logStateEvent()
DDhcpErrorEvent.java56 public final String ifName; field in DhcpErrorEvent
64 private DhcpErrorEvent(String ifName, int errorCode) { in DhcpErrorEvent() argument
65 this.ifName = ifName; in DhcpErrorEvent()
70 this.ifName = in.readString(); in DhcpErrorEvent()
75 out.writeString(ifName); in writeToParcel()
94 public static void logParseError(String ifName, int errorCode) { in logParseError() argument
95 logEvent(new DhcpErrorEvent(ifName, errorCode)); in logParseError()
98 public static void logReceiveError(String ifName) { in logReceiveError() argument
99 logEvent(new DhcpErrorEvent(ifName, RECEIVE_ERROR)); in logReceiveError()
112 return String.format("DhcpErrorEvent(%s, %s)", ifName, Decoder.constants.get(errorCode)); in toString()
DIpManagerEvent.java36 public final String ifName; field in IpManagerEvent
40 private IpManagerEvent(String ifName, int eventType, long duration) { in IpManagerEvent() argument
41 this.ifName = ifName; in IpManagerEvent()
47 this.ifName = in.readString(); in IpManagerEvent()
53 out.writeString(ifName); in writeToParcel()
73 public static void logEvent(int eventType, String ifName, long durationMs) { in logEvent() argument
74 logEvent(new IpManagerEvent(ifName, eventType, durationMs)); in logEvent()
80 ifName, Decoder.constants.get(eventType), durationMs); in toString()
/frameworks/native/cmds/service/
Dservice.cpp130 String16 ifName = get_interface_name(service); in main() local
132 if (service != NULL && ifName.size() > 0) { in main()
136 data.writeInterfaceToken(ifName); in main()
/frameworks/base/services/net/java/android/net/ip/
DIpReachabilityMonitor.java219 public IpReachabilityMonitor(Context context, String ifName, Callback callback) in IpReachabilityMonitor() argument
221 mInterfaceName = ifName; in IpReachabilityMonitor()
224 NetworkInterface netIf = NetworkInterface.getByName(ifName); in IpReachabilityMonitor()
227 throw new IllegalArgumentException("invalid interface '" + ifName + "': ", e); in IpReachabilityMonitor()
DIpManager.java413 public IpManager(Context context, String ifName, Callback callback) in IpManager() argument
415 this(context, ifName, callback, INetworkManagementService.Stub.asInterface( in IpManager()
422 public IpManager(Context context, String ifName, Callback callback, in IpManager() argument
424 super(IpManager.class.getSimpleName() + "." + ifName); in IpManager()
428 mInterfaceName = ifName; in IpManager()
429 mClatInterfaceName = CLAT_PREFIX + ifName; in IpManager()
/frameworks/base/api/
Dsystem-current.txt25936 field public final java.lang.String ifName;
25967 field public final java.lang.String ifName;
25991 field public final java.lang.String ifName;
26005 field public final java.lang.String ifName;