Jayant Chowdhary 8a289a650c s/get_interesting_hal_pids/get_interesting_pids.
Since pids can belong to non hal processes as well, in theory.

Bug: 233130219

Test: build

Merged-In: I8ef6b2aaa871f6a8f992887a394d81c544e9cba4
Change-Id: I8ef6b2aaa871f6a8f992887a394d81c544e9cba4
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit d1ce457da1f7c467c11d74f6550f6918806744a9)
2022-06-16 18:15:48 +00:00
..

incidentd

How to build, deploy, unit test

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

root$ make -j incidentd_test && adb shell mkdir /data/nativetest/incidentd_test

Run the test on a device manually

root$ mmm -j frameworks/base/cmds/incidentd && \
adb push $OUT/data/nativetest/incidentd_test/* /data/nativetest/ && \
adb shell /data/nativetest/incidentd_test 2>/dev/null

Run the test via AndroidTest.xml

root$ atest incidentd_test

Use clang-format to style the file

clang-format -style=file -i