summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNandana Dutt <nandana@google.com>2018-12-12 17:26:57 +0000
committerNandana Dutt <nandana@google.com>2019-01-11 13:29:09 +0000
commit3386fb717243b9644900311c6da6caddf686b339 (patch)
treec76cfde48d17abc61d0ee84694d46cfd34979274 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3627deac8817788b571d614d9119308937b3f0c2 (diff)
Add a privileged API for capturing and consuming bugreports
The API is mostly implemented; except for hooking up the listener and handling an already running bugreport. BugreportManager is the handle to the new API exposed to apps. Generating bugreports requires root privileges. To limit the footprint of the root access, the actual bugreport generation in Dumpstate binary, is accessed as a oneshot service and dies after it finishes running. System server accesses Dumpstate via a binder interface since it does not have root privileges. Starting a oneshot service is done via setting a system property, which needs to be done from system server. BugreportManagerService is the new system server service that does this. BugreportManager calls into BugreportManagerService via a binder interface, since the former is in the app's process. Both app to system server as well as system server to native service calls are via implementations of IDumpstate binder interface. Bug: 111441001 Test: builds. Flashed & verified it boots. Test: wrote a test client (not included) and verified invoking startBugreport works. Change-Id: I4abeb753388c055c36ae0dd916af1ec8d40b7bf0 Merged-In: I4abeb753388c055c36ae0dd916af1ec8d40b7bf0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions