Home
last modified time | relevance | path

Searched refs:DhcpErrorEvent (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/metrics/
DDhcpErrorEvent.java30 public final class DhcpErrorEvent extends IpConnectivityEvent implements Parcelable { class
64 private DhcpErrorEvent(String ifName, int errorCode) { in DhcpErrorEvent() method in DhcpErrorEvent
69 private DhcpErrorEvent(Parcel in) { in DhcpErrorEvent() method in DhcpErrorEvent
83 public static final Parcelable.Creator<DhcpErrorEvent> CREATOR
84 = new Parcelable.Creator<DhcpErrorEvent>() {
85 public DhcpErrorEvent createFromParcel(Parcel in) {
86 return new DhcpErrorEvent(in);
89 public DhcpErrorEvent[] newArray(int size) {
90 return new DhcpErrorEvent[size];
95 logEvent(new DhcpErrorEvent(ifName, errorCode)); in logParseError()
[all …]
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java6 import android.net.metrics.DhcpErrorEvent;
771 throw new ParseException(DhcpErrorEvent.L2_TOO_SHORT, in decodeFullPacket()
784 throw new ParseException(DhcpErrorEvent.L2_WRONG_ETH_TYPE, in decodeFullPacket()
791 throw new ParseException(DhcpErrorEvent.L3_TOO_SHORT, in decodeFullPacket()
799 DhcpErrorEvent.L3_NOT_IPV4, "Invalid IP version %d", ipVersion); in decodeFullPacket()
817 DhcpErrorEvent.L4_NOT_UDP, "Protocol not UDP: %d", ipProto); in decodeFullPacket()
843 throw new ParseException(DhcpErrorEvent.L4_WRONG_PORT, in decodeFullPacket()
850 throw new ParseException(DhcpErrorEvent.BOOTP_TOO_SHORT, in decodeFullPacket()
875 throw new ParseException(DhcpErrorEvent.L3_INVALID_IP, in decodeFullPacket()
900 throw new ParseException(DhcpErrorEvent.DHCP_BAD_MAGIC_COOKIE, in decodeFullPacket()
[all …]
DDhcpClient.java34 import android.net.metrics.DhcpErrorEvent;
359 DhcpErrorEvent.logReceiveError(mIfaceName); in run()
366 DhcpErrorEvent.logParseError(mIfaceName, e.errorCode); in run()
/frameworks/base/api/
Dsystem-current.txt25940 public final class DhcpErrorEvent implements android.os.Parcelable {
25948 …field public static final android.os.Parcelable.Creator<android.net.metrics.DhcpErrorEvent> CREATO…