• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..25-May-2024-

src/H25-May-2024-6,9364,538

testdata/H25-May-2024-4948

tests/H25-May-2024-1,531839

.clang-formatH A D25-May-2024424 1817

Android.bpH A D25-May-20243.8 KiB163138

AndroidTest.xmlH A D25-May-20241.3 KiB2813

OWNERSH A D25-May-202475 54

README.mdH A D25-May-2024576 2718

incidentd.rcH A D25-May-2024851 2421

README.md

1# incidentd
2
3## How to build, deploy, unit test
4
5For the first time, build the test and create an empty directly on device:
6
7```
8root$ make -j incidentd_test && adb shell mkdir /data/nativetest/incidentd_test
9```
10
11Run the test on a device manually
12
13```
14root$ mmm -j frameworks/base/cmds/incidentd && \
15adb push $OUT/data/nativetest/incidentd_test/* /data/nativetest/ && \
16adb shell /data/nativetest/incidentd_test 2>/dev/null
17```
18
19Run the test via AndroidTest.xml
20
21```
22root$ atest incidentd_test
23```
24
25Use clang-format to style the file
26
27clang-format -style=file -i <file list>