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

Commit 12981ff2 authored by Hugo Benichi's avatar Hugo Benichi
Browse files

Expose the MacAddress class in the api

Test: built,  flashed, $ runtest frameworks-net
Bug: 69390696
Change-Id: Ica5efdf5ffe8ad2500a87f574508a2bcd074b33d
parent 36f46a87
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -25975,6 +25975,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 {