History log of /frameworks/base/core/java/android/util/proto/ProtoOutputStream.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
416723dccd72aad0d4218f70b3168e6de37eb10f 27-May-2017 Joe Onorato <joeo@google.com> Fix typos that cause infinite recursion and CTS test failure.

Bug: 37171450
Test: bit CtsProtoTestCases:*
Change-Id: Ib758756a64fa19eb976dc0a2b1bb1cd6e42fd6f2
/frameworks/base/core/java/android/util/proto/ProtoOutputStream.java
34531943605e4d511263c0720850d91bb501f0a2 17-Jan-2017 Makoto Onuki <omakoto@google.com> Deprecate all inconvenient methods

Test: builds fine
Change-Id: I52a26d160cff44b2fa0f3a807d23a6ed586d16ce
/frameworks/base/core/java/android/util/proto/ProtoOutputStream.java
fb9f736a3c6c2e1c91c69b1abc0456b54215e8ef 28-Oct-2016 Joe Onorato <joeo@google.com> ProtoOutputStream convenience methods.

- Add a set of write methods to ProtoOutputStream that figure out the type.
The other methods are doing all the type checking anyway, so this won't be
much slower, and it's way easier to use. The expected java type casts
that people would do anyway happen inside.
- Add writeObject and writeRepeatedObject methods that write a pre-encoded
object.
- Add a constructor that takes an OutputStream, and a flush() method. Right
now, all the data gets flushed at the end, but given this API it would be
possible to write smaller chunks at the object boundaries and do more
sophisticated buffering.

Test: CTS
Change-Id: Ieb852092d3d65812c81139558151de9e3f467dc8
/frameworks/base/core/java/android/util/proto/ProtoOutputStream.java
6c9547d8e1c35d7afa9bc9be11d5ff86ec60db14 08-Sep-2016 Joe Onorato <joeo@google.com> Add android.util.proto package as an @TestApi.

The classes there add a way for the platform to write out
protocol buffers that doesn't require lots of small objects,
generate code, and extra copying.

Includes the plugin for protoc to generate the constants.

Test: proto cts tests

Change-Id: I6385c198cecda9ac6fa533151609e3ace341af01
/frameworks/base/core/java/android/util/proto/ProtoOutputStream.java