File: README.md

package info (click to toggle)
android-platform-frameworks-base 1%3A14~beta1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 326,096 kB
  • sloc: java: 2,032,373; xml: 343,016; cpp: 304,183; python: 3,683; ansic: 2,090; sh: 1,871; makefile: 120; sed: 19
file content (26 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# incident_helper

It is an executable used to help parsing text format data to protobuf.

## How to build, deploy, unit test

For the first time, build the test and create an empty directly on device:

```
root$ make -j incident_helper_test && adb shell mkdir /data/nativetest64/incident_helper_test
```

Run the test on a device

```
root$ mmm -j frameworks/base/cmds/incident_helper && \
adb push $OUT/data/nativetest64/incident_helper_test/* /data/nativetest64/incident_helper_test/ && \
adb shell /data/nativetest64/incident_helper_test/incident_helper_test 2>/dev/null
```
## How to adapt proto changes

If add a new proto file, add it in Android.bp under frameworks/base/ and make incident helper

```
root$ make -j48 incident_helper
```