Add a function to Dumpstate service to trigger a bugreport
Add startBugreport() to Dumpstate interface. This is part of
proper binderization of Dumpstate.
The function is not implemented yet.
BUG: 111441001
Test: m -j dumpstate
Test: adb shell /data/nativetest64/dumpstate_test/dumpstate_test
Change-Id: I484215067e5653d2e2f4e34bd9a9b569d426f411
diff --git a/cmds/dumpstate/Android.bp b/cmds/dumpstate/Android.bp
index 5acc09d..e185cbe 100644
--- a/cmds/dumpstate/Android.bp
+++ b/cmds/dumpstate/Android.bp
@@ -57,10 +57,21 @@
export_aidl_headers: true,
},
srcs: [
- "binder/android/os/IDumpstate.aidl",
+ "binder/android/os/DumpstateOptions.cpp",
+ ":dumpstate_aidl",
+ ],
+ export_include_dirs: ["binder"],
+}
+
+filegroup {
+ name: "dumpstate_aidl",
+ srcs: [
"binder/android/os/IDumpstateListener.aidl",
"binder/android/os/IDumpstateToken.aidl",
+ //"binder/android/os/DumpstateOptions.aidl",
+ "binder/android/os/IDumpstate.aidl",
],
+ path: "binder",
}
cc_defaults {