History log of /frameworks/base/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5ee0787024cc446a21008ff5710dec19c6afc834 06-Mar-2018 Yi Jin <jinyithu@google.com> Use uint64_t instead of long long as API type for consistent reason.

Bug: 74118023
Test: manual
Change-Id: Icd5f506c76d3a008a79cb6c9d2061962ca7fdd40
/frameworks/base/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
6bd2f25f19c6710e7652155f273cfcf330f6e98c 20-Feb-2018 Yi Jin <jinyithu@google.com> Add HighAtomic to pagetypeinfo, and don't fail if a header can't be
found in proto definition.

Bug: 73656242
Test: atest incident_helper
Change-Id: Ib89b1a9189445a0598ec5da0c32046f75de3b0c5
/frameworks/base/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
51d4c54eba8dd613dd0550c6633a747b53e0ce0a 25-Jan-2018 Yi Jin <jinyithu@google.com> Make the platform proto naming consistent, Part 1
Change proto names in incident_helper

Bug: 72474563
Test: atest incident_helper_test
Change-Id: Ia416ef9726a19d247e62d7de1028874408ec53f1
/frameworks/base/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
e2f7f79d023f0b3ba2fee374492dde61f525ece6 02-Nov-2017 Yi Jin <jinyithu@google.com> Implement Cpu Info Section

Support carriage return in Read class, and add a new way to parse lines
which is not able to split purly by delimiters

Bug: 65642861
Test: unit test and on device test
Change-Id: Ib82dd4e458bb7d2fa33462b23fbe11b828325916
/frameworks/base/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
04625ad4886a478bf74bbfc13937c10fa63eb272 18-Oct-2017 Yi Jin <jinyithu@google.com> Refactor incident_helper to use protoutil and cppstream plugin.

1. Split the parsers to its own file to prevent all the parsers in one
gaint file.

2. Completely get rid of protobuf-cpp-full in incident_helper, use
ProtoOutputStream and cppstream instead, the incident_helper binary is
reduced from ~500K to ~113K.

3. Write data to protobuf even its values are zero/default, the reason
is for example we have a repeated int32 orders = 1; and people
explicitly append 0 so the total repeated field has 10 values, if zero
is not written to serialized data, this repeated field will only have 9
values which is not what we want at first place. This also aligns with
the default protobuf serialization behavior in incident_helper_test.

4. Use Android.bp for protoutil lib since it is not able to depend on
libs compiled by .mk file, it works the other way.

5. Add a new custom message option for streaming_proto, if specified,
the cppstream will create extra metadata to get field ids by field name.
A Table class is created in incident_helper to use it.

Bug: 67860303
Test: unit tested as well as on device test
Change-Id: I8e136fd15f343a4a623d20910ec64b622b478a3e
/frameworks/base/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp