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

Commit 34531943 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Deprecate all inconvenient methods

Test: builds fine
Change-Id: I52a26d160cff44b2fa0f3a807d23a6ed586d16ce
parent 0a78adea
Loading
Loading
Loading
Loading
+52 −54
Original line number Diff line number Diff line
@@ -41972,8 +41972,8 @@ package android.util.proto {
    method public static int convertObjectIdToOrdinal(int);
    method public void dump(java.lang.String);
    method public void end(long);
    method public void endObject(long);
    method public void endRepeatedObject(long);
    method public deprecated void endObject(long);
    method public deprecated void endRepeatedObject(long);
    method public void flush();
    method public byte[] getBytes();
    method public static int getDepthFromToken(long);
@@ -41984,8 +41984,8 @@ package android.util.proto {
    method public static long makeFieldId(int, long);
    method public static long makeToken(int, boolean, int, int, int);
    method public long start(long);
    method public long startObject(long);
    method public long startRepeatedObject(long);
    method public deprecated long startObject(long);
    method public deprecated long startRepeatedObject(long);
    method public static java.lang.String token2String(long);
    method public void write(long, double);
    method public void write(long, float);
@@ -41994,57 +41994,55 @@ package android.util.proto {
    method public void write(long, boolean);
    method public void write(long, java.lang.String);
    method public void write(long, byte[]);
    method public void writeBool(long, boolean);
    method public void writeBytes(long, byte[]);
    method public void writeDouble(long, double);
    method public void writeEnum(long, int);
    method public void writeFixed32(long, int);
    method public void writeFixed64(long, long);
    method public void writeFloat(long, float);
    method public void writeInt32(long, int);
    method public void writeInt64(long, long);
    method public void writeObject(long, byte[]);
    method public void writeObjectImpl(int, byte[]);
    method public void writePackedBool(long, boolean[]);
    method public void writePackedDouble(long, double[]);
    method public void writePackedEnum(long, int[]);
    method public void writePackedFixed32(long, int[]);
    method public void writePackedFixed64(long, long[]);
    method public void writePackedFloat(long, float[]);
    method public void writePackedInt32(long, int[]);
    method public void writePackedInt64(long, long[]);
    method public void writePackedSFixed32(long, int[]);
    method public void writePackedSFixed64(long, long[]);
    method public void writePackedSInt32(long, int[]);
    method public void writePackedSInt64(long, long[]);
    method public void writePackedUInt32(long, int[]);
    method public void writePackedUInt64(long, long[]);
    method public void writeRepeatedBool(long, boolean);
    method public void writeRepeatedBytes(long, byte[]);
    method public void writeRepeatedDouble(long, double);
    method public void writeRepeatedEnum(long, int);
    method public void writeRepeatedFixed32(long, int);
    method public void writeRepeatedFixed64(long, long);
    method public void writeRepeatedFloat(long, float);
    method public void writeRepeatedInt32(long, int);
    method public void writeRepeatedInt64(long, long);
    method public void writeRepeatedObject(long, byte[]);
    method public void writeRepeatedObjectImpl(int, byte[]);
    method public void writeRepeatedSFixed32(long, int);
    method public void writeRepeatedSFixed64(long, long);
    method public void writeRepeatedSInt32(long, int);
    method public void writeRepeatedSInt64(long, long);
    method public void writeRepeatedString(long, java.lang.String);
    method public void writeRepeatedUInt32(long, int);
    method public void writeRepeatedUInt64(long, long);
    method public void writeSFixed32(long, int);
    method public void writeSFixed64(long, long);
    method public void writeSInt32(long, int);
    method public void writeSInt64(long, long);
    method public void writeString(long, java.lang.String);
    method public deprecated void writeBool(long, boolean);
    method public deprecated void writeBytes(long, byte[]);
    method public deprecated void writeDouble(long, double);
    method public deprecated void writeEnum(long, int);
    method public deprecated void writeFixed32(long, int);
    method public deprecated void writeFixed64(long, long);
    method public deprecated void writeFloat(long, float);
    method public deprecated void writeInt32(long, int);
    method public deprecated void writeInt64(long, long);
    method public deprecated void writeObject(long, byte[]);
    method public deprecated void writePackedBool(long, boolean[]);
    method public deprecated void writePackedDouble(long, double[]);
    method public deprecated void writePackedEnum(long, int[]);
    method public deprecated void writePackedFixed32(long, int[]);
    method public deprecated void writePackedFixed64(long, long[]);
    method public deprecated void writePackedFloat(long, float[]);
    method public deprecated void writePackedInt32(long, int[]);
    method public deprecated void writePackedInt64(long, long[]);
    method public deprecated void writePackedSFixed32(long, int[]);
    method public deprecated void writePackedSFixed64(long, long[]);
    method public deprecated void writePackedSInt32(long, int[]);
    method public deprecated void writePackedSInt64(long, long[]);
    method public deprecated void writePackedUInt32(long, int[]);
    method public deprecated void writePackedUInt64(long, long[]);
    method public deprecated void writeRepeatedBool(long, boolean);
    method public deprecated void writeRepeatedBytes(long, byte[]);
    method public deprecated void writeRepeatedDouble(long, double);
    method public deprecated void writeRepeatedEnum(long, int);
    method public deprecated void writeRepeatedFixed32(long, int);
    method public deprecated void writeRepeatedFixed64(long, long);
    method public deprecated void writeRepeatedFloat(long, float);
    method public deprecated void writeRepeatedInt32(long, int);
    method public deprecated void writeRepeatedInt64(long, long);
    method public deprecated void writeRepeatedObject(long, byte[]);
    method public deprecated void writeRepeatedSFixed32(long, int);
    method public deprecated void writeRepeatedSFixed64(long, long);
    method public deprecated void writeRepeatedSInt32(long, int);
    method public deprecated void writeRepeatedSInt64(long, long);
    method public deprecated void writeRepeatedString(long, java.lang.String);
    method public deprecated void writeRepeatedUInt32(long, int);
    method public deprecated void writeRepeatedUInt64(long, long);
    method public deprecated void writeSFixed32(long, int);
    method public deprecated void writeSFixed64(long, long);
    method public deprecated void writeSInt32(long, int);
    method public deprecated void writeSInt64(long, long);
    method public deprecated void writeString(long, java.lang.String);
    method public void writeTag(int, int);
    method public void writeUInt32(long, int);
    method public void writeUInt64(long, long);
    method public deprecated void writeUInt32(long, int);
    method public deprecated void writeUInt64(long, long);
    field public static final long FIELD_COUNT_MASK = 16492674416640L; // 0xf0000000000L
    field public static final long FIELD_COUNT_PACKED = 5497558138880L; // 0x50000000000L
    field public static final long FIELD_COUNT_REPEATED = 2199023255552L; // 0x20000000000L
+158 −2

File changed.

Preview size limit exceeded, changes collapsed.