commit | ea025e3fe94c4cf0b89259e2e359c51e6fbcec40 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Tue Jun 16 18:36:30 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Mon Jun 29 14:52:47 2020 +0000 |
tree | 8f29615be09970cc5c13bbda8bda4457a62fd27c | |
parent | ea76d7e31c994c94abad6722a2f6e7e4afb6196b [diff] |
Create thread to dump shutdown check points to file Create new method ShutdownCheckPoints#createDumpThread that creates a thread that calls ShutdownCheckPoints#dump on a local file and also limits the total number of files created by deleting the oldest ones. Bug: 113147108 Test: atest FrameworksServicesTests:ShutdownCheckPointsTest Change-Id: I62c8eedba2ff4c10ad66636c57de07fd1370c116