6cacbcbf436be744a34f7ea0d4f838ff97757446 |
|
30-Mar-2018 |
Yi Jin <jinyithu@google.com> |
Use modern c++ code style for incidentd. This cl does not contain code logic changes. Bug: 77333635 Test: manual and incidentd_test Change-Id: Iea0a402b1051defd45159ca267e6dd705f9ffa49
/frameworks/base/cmds/incidentd/src/PrivacyBuffer.h
|
86dce413f808ca9ef160e8762f74deaafd7c23ae |
|
07-Mar-2018 |
Yi Jin <jinyithu@google.com> |
Optimize incidentd memory usage 1. Remove dependency of libprotobuf-cpp-lite, saves .so mmap ~200KB 2. Don't use auto except iterator for readability. Bug: 74254200 Test: adb shell dumpsys meminfo `pid incidentd` Change-Id: If6198521c3b80929d6ea3f7ed466b5195991ccfd
/frameworks/base/cmds/incidentd/src/PrivacyBuffer.h
|
b592e3bc3169e39bd6b0bfce9f788631d5d22acd |
|
02-Feb-2018 |
Yi Jin <jinyithu@google.com> |
This cl formats incidentd and makes it easier for debugging. Bug: 72755317 Test: clang-format -type=file -i <files> Change-Id: Ide91227f26c6b1db6d2e5fe8117ca5cc4cf77fd3
/frameworks/base/cmds/incidentd/src/PrivacyBuffer.h
|
42711a0b4fffd0dc670ec7bc38cc7f954c60e530 |
|
12-Oct-2017 |
Yi Jin <jinyithu@google.com> |
Use ProtoOutputStream to strip Pii sensetive fields in incidentd The in-place algorithm in ProtoOutputStream will have at most 2 copies of possible nested message values incidentd is getting which makes it more ram-efficient, and minimize allocations. Bug: 65641021 Test: the units pass Change-Id: Ic3fe99b7e27895bd613a129ba0f12ccfca4af317
/frameworks/base/cmds/incidentd/src/PrivacyBuffer.h
|
c23fad2f9079f678eae15338f5e57e2a6bf7e391 |
|
16-Sep-2017 |
Yi Jin <jinyithu@google.com> |
Implement c++ native lib for streaming proto, part 1 Extract protobuf class out and creates EncodedBuffer class which holds protobuf data. Next step is to create a ProtoOutputStream and let incident helper adapt the change as well. please see frameworks/base/core/java/android/util/proto Bug: 65641021 Test: unit tested Change-Id: I0dd343b2e62d60f091c8f857fae3452ec8da6b96
/frameworks/base/cmds/incidentd/src/PrivacyBuffer.h
|