diff options
| author | Lais Andrade <lsandrade@google.com> | 2020-06-11 10:33:19 +0000 |
|---|---|---|
| committer | Lais Andrade <lsandrade@google.com> | 2020-06-26 16:29:12 +0000 |
| commit | ea76d7e31c994c94abad6722a2f6e7e4afb6196b (patch) | |
| tree | 3e1b87961454f7865b01a615a758c57dbeac6c6a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 625770f7fdea3078724476f3e9259a200bfbc630 (diff) | |
Create ShutdownCheckPoints for shutdown call logging
This class has a singleton that can be triggered from different places
within the frameworks/base code to record information about calls to
shutdown and reboot methods. The stacktrace, binder caller pid and
intent are kept in memory and dumped in a file by the ShutdownThread.
Follow up work:
- Use the ShutdownCheckPoints record method in the framework.
- Add a rotating file logic to ShutdownThread to store previous
restarts, instead of rewriting the same file.
Based on this cl:
https://partner-android-review.googlesource.com/c/platform/frameworks/base/+/1197613
Bug: 113147108
Test: atest FrameworksServicesTests:ShutdownCheckPointsTest
Change-Id: I08b1d8c990ea7d727988a2f711c66bd0c7d7ddb6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
