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/Privacy.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/Privacy.h
|
329130b7e40d27f660aa275ef6905bd7ee91f64c |
|
10-Feb-2018 |
Yi Jin <jinyithu@google.com> |
Put metadata or stats into each dropbox incident report. Bug: 65451198 Test: atest incidentd_test Change-Id: Ib406b177ad7f1b4bda7fef2e606fc66a9836e060
/frameworks/base/cmds/incidentd/src/Privacy.h
|
3ec5cc792e932dc668bf9fb2cf5e6c6288a7f9b4 |
|
26-Jan-2018 |
Yi Jin <jinyithu@google.com> |
Modify SystemApi so it can be used by CTS to trigger incident report Bug: 72502621 Test: Cts/Gts tests covered, see the cls from the same topic Change-Id: Id0c1cc0fc0054e620de1349dab66513e554b1caa
/frameworks/base/cmds/incidentd/src/Privacy.h
|
bdf58942c86240070bacc25203177cf47f6a1577 |
|
15-Nov-2017 |
Yi Jin <jinyithu@google.com> |
1. Implement Privacy Policy Tag Inheritance 2. Expose Dest values in IIncidentReportArgs.h Please see bug for detail descriptions. Bug: 67869340 Test: unit tested and on-device test. Ran command: $ out/host/linux-x86/bin/incident-section-gen incidentd to test various of privacy taggings. Change-Id: I12af3d7da4c7c72bd63598893fe2c1f70b09baa4
/frameworks/base/cmds/incidentd/src/Privacy.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/Privacy.h
|
7e0b4e5880d389e6af1af602373aefa5b0b04d34 |
|
13-Sep-2017 |
Yi Jin <jinyithu@google.com> |
Fixes regarding to comments in ag/2839267 1. use struct {} to instantiate privacy fields for efficiency reason 2. use vector<uint8_t>* instead of vector<uint8_t>& to indicate the caller knows the value gets changed. 3. binary search privay policy for sections Bug: 65595927 Test: unit test covers Change-Id: Ic58c2f607465d1a7f10352b9a38c3d8b1a5cf352
/frameworks/base/cmds/incidentd/src/Privacy.h
|
0f0471623e91c202fb7381a050cc331572fb439f |
|
05-Sep-2017 |
Yi Jin <jinyithu@google.com> |
Implement Pii Stripper Part 3 The incident request args sets privacy spec. Strip action is optimized to run once for each type of spec and ready for flush multiple times. Incident command is updated to take -p option to specify privacy spec. Bug: 64687253 Test: unit tests written, manually run incident command to test as well Change-Id: I6753df117f76dc1a5f4d2152baa3fbbf56b490e4
/frameworks/base/cmds/incidentd/src/Privacy.h
|
99c248feb2d1f863b864bdfd1e3b37af17f18732 |
|
26-Aug-2017 |
Yi Jin <jinyithu@google.com> |
Implement PII Stripper, part 2 Implement EncodedBuffer that strip pii based on given privacy request. The reason to implement another buffer is the length-delimited field's size could change when its submessage gets stripped. It also intends to keep the orignal data around for other requests to consume it. In addition, the section implementation has adapted EncodedBuffer so write out to each request's fd could be request-specific. The next step is allow requests to set its privacy spec. Notice the current design set the privacy spec of dropbox to AUTOMATIC, this behavior might change in the future. Bug: 64687253 Test: unit tests are writtern, see README.md for how to run unit tests. Change-Id: I7ac236b8265ba9289dc6e17a8a5bf7f67ffb6bf5
/frameworks/base/cmds/incidentd/src/Privacy.h
|