Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
Android.bp | 22-Oct-2020 | 1K | |
AndroidTest.xml | 22-Oct-2020 | 1.3K | |
OWNERS | 22-Oct-2020 | 52 | |
README.md | 22-Oct-2020 | 745 | |
src/ | 22-Oct-2020 | ||
testdata/ | 22-Oct-2020 | ||
tests/ | 22-Oct-2020 |
1 # incident_helper 2 3 It is an executable used to help parsing text format data to protobuf. 4 5 ## How to build, deploy, unit test 6 7 For the first time, build the test and create an empty directly on device: 8 9 ``` 10 root$ make -j incident_helper_test && adb shell mkdir /data/nativetest64/incident_helper_test 11 ``` 12 13 Run the test on a device 14 15 ``` 16 root$ mmm -j frameworks/base/cmds/incident_helper && \ 17 adb push $OUT/data/nativetest64/incident_helper_test/* /data/nativetest64/incident_helper_test/ && \ 18 adb shell /data/nativetest64/incident_helper_test/incident_helper_test 2>/dev/null 19 ``` 20 ## How to adapt proto changes 21 22 If add a new proto file, add it in Android.bp under frameworks/base/ and make incident helper 23 24 ``` 25 root$ make -j48 incident_helper 26 ``` 27