Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
java/com/android/commands/incident/ | 06-Sep-2024 | - | 484 | 320 | ||
src/ | 06-Sep-2024 | - | 2,280 | 1,418 | ||
testdata/ | 06-Sep-2024 | - | 91 | 74 | ||
tests/ | 06-Sep-2024 | - | 1,438 | 1,087 | ||
Android.bp | D | 06-Sep-2024 | 2.1 KiB | 99 | 83 | |
AndroidTest.xml | D | 06-Sep-2024 | 1.3 KiB | 28 | 13 | |
OWNERS | D | 06-Sep-2024 | 34 | 3 | 2 | |
README.md | D | 06-Sep-2024 | 745 | 27 | 18 | |
incident_helper_cmd | D | 06-Sep-2024 | 220 | 7 | 3 |
README.md
1# incident_helper 2 3It is an executable used to help parsing text format data to protobuf. 4 5## How to build, deploy, unit test 6 7For the first time, build the test and create an empty directly on device: 8 9``` 10root$ make -j incident_helper_test && adb shell mkdir /data/nativetest64/incident_helper_test 11``` 12 13Run the test on a device 14 15``` 16root$ mmm -j frameworks/base/cmds/incident_helper && \ 17adb push $OUT/data/nativetest64/incident_helper_test/* /data/nativetest64/incident_helper_test/ && \ 18adb shell /data/nativetest64/incident_helper_test/incident_helper_test 2>/dev/null 19``` 20## How to adapt proto changes 21 22If add a new proto file, add it in Android.bp under frameworks/base/ and make incident helper 23 24``` 25root$ make -j48 incident_helper 26``` 27