diff options
author | Hugo Benichi <hugobenichi@google.com> | 2016-10-13 09:26:01 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2016-10-13 10:16:31 +0900 |
commit | 995dd94673005b43d32456e2de5fda0090b23576 (patch) | |
tree | 02f455348dd1ff33330a830a4117ba347ae58117 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | daeeda35d951e9b6925a98cd0d909a59a94bd59f (diff) |
ApfFilter: systematically use u8, u16, u32 getters
This patch adds a getUint8 getter for ByteBuffers and changes ApfFilter
to make uses of getUint8/16/32 everywhere.
The return types of getUint16 is also changed from long to int, which
will expand gracefully to long as an unsigned int as it is guaranteed to
be positive after getUint16.
Test: ApfTest passes
Change-Id: Id3c2817b949e9817e2bb60e0ec8fe2d6fd8d787c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions