Age | Commit message (Collapse) | Author |
|
As a larger example of how to use
ANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION.
Bug: 184190315
Test: boot (relevant tests in TEST_MAPPING)
Change-Id: I88283543e1f63fd1010f9cd3f63baefec84e6a84
|
|
This is all an implementation detail for TextOutput which we want to
delete anyway. Since I'm working on binder sockets (and I don't want to
expand the usage of alog), I might add some other functions here, which
I don't want to expose from libbinder.
Bug: 148676615
Bug: 167966510
Test: N/A
Change-Id: Id5677c9ac195dac046becc5d36b02bbdd1f7c339
|
|
Test: treehugger
Change-Id: I11114b8e591e7ec034bac6420b1a0adda88e8af2
|
|
Change-Id: I4f604cb104cc49b7e8f6612f1033a113faf51a48
|
|
For unsigned arithmetic, use:
(a + b < a) to detect whether a+b wraps
(a > c / b) to detect whether a*b > c
Bug: 120078455
Test: builds and boots
Change-Id: Ic4f4d44f7c0656caa115f90f4cfa130192914949
(cherry picked from commit da2f2fd0f4c4eeb498b4b0541719f4f34faf13e2)
|
|
Nothing uses this now, and the general feeling is that we should
deprecate TextOutput at some point in favor of liblog (potentially to
save a small amount of memory from static TextOutput objects). So,
hiding this header.
Bug: N/A
Test: builds
Change-Id: I4f1d8a1aa8a5db4e602da6499050881ab4aaeca2
|
|
Bug: N/A
Test: build w/o -Wno-c++98-compat-extra-semi
Merged-In: I632d6df9a03485e547a6e7f14df0f1c068066c1e
Change-Id: I632d6df9a03485e547a6e7f14df0f1c068066c1e
|
|
This was being exported by the build system, but it shouldn't be used
anywhere.
Bug: N/A
Test: N/A
Change-Id: Id10772ec3e0ebf39ddf83f0f7981552c3f2e528d
|
|
Also fix off by one error exposed by changing the test.
Test: Built and ran unit tests.
Change-Id: Id983b8301fe33c21bfe1db1e67ef00681f852557
|
|
Bug: N/A
Test: builds
Change-Id: Ia3a3719c7d66b6cbd2f3aaa18cff4ca11967f34b
|
|
Fixes -Wzero-as-null-pointer-constant warning.
clang-tidy -checks=modernize-use-nullptr -p compile_commands.json -fix
...
Test: m
Bug: 68236239
Change-Id: I3181bc5683796423a98b0f9b94daf30880c07bdc
Merged-In: I3181bc5683796423a98b0f9b94daf30880c07bdc
(cherry picked from commit 91635563b8a1bf7a31e4ceb439728dacb79abd76)
|
|
Test: builds
Change-Id: Idb7a51db4382e1012afe12df3c9fe807922b17fe
|
|
Bug: 28341362
Change-Id: I0ce850de85e0de6a5472dd142f738856142db9ec
|
|
Make sure that we don't go haywire if an exponential buffer growth
operation winds up wrapping integer range. Along the way, fix a
bookkeeping bug in BufferedTextOutput that would cause it to keep
spuriously realloc()ing on every append().
Bug 20674694
Change-Id: Ia845b7de36b90672a151a918ffc26c7da68e20a2
|
|
Change-Id: I6ff4cfc736751de2912c697f954e45e275f2d386
|