Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc9696e4 authored by Hugo Benichi's avatar Hugo Benichi Committed by Android (Google) Code Review
Browse files

Merge "Expose the MacAddress class in the api"

parents c3e9e8ae 12981ff2
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -25988,6 +25988,23 @@ package android.net {
    enum_constant public static final android.net.LocalSocketAddress.Namespace RESERVED;
  }
  public final class MacAddress implements android.os.Parcelable {
    method public int addressType();
    method public int describeContents();
    method public static android.net.MacAddress fromBytes(byte[]);
    method public static android.net.MacAddress fromString(java.lang.String);
    method public boolean isLocallyAssigned();
    method public byte[] toByteArray();
    method public java.lang.String toSafeString();
    method public void writeToParcel(android.os.Parcel, int);
    field public static final android.net.MacAddress BROADCAST_ADDRESS;
    field public static final android.os.Parcelable.Creator<android.net.MacAddress> CREATOR;
    field public static final int TYPE_BROADCAST = 3; // 0x3
    field public static final int TYPE_MULTICAST = 2; // 0x2
    field public static final int TYPE_UNICAST = 1; // 0x1
    field public static final int TYPE_UNKNOWN = 0; // 0x0
  }
  public class MailTo {
    method public java.lang.String getBody();
    method public java.lang.String getCc();
+0 −2
Original line number Diff line number Diff line
@@ -33,8 +33,6 @@ import java.util.Random;
 *
 * This class only supports 48 bits long addresses and does not support 64 bits long addresses.
 * Instances of this class are immutable.
 *
 * @hide
 */
public final class MacAddress implements Parcelable {