Files
frameworks_base/services/usage/java/com/android/server/usage
Varun Shah 55ae881649 Better error handling in UsageStats.
Ensure all types of exceptions are caught and logged/handled within
UsageStats.

Also update how read failures for pending events files are handled -
since the entire System DE directory is deleted on a successful user
unlock, read all the pending events that you can and skip over
potentially corrupted files.

Bug: 145574371
Test: atest UsageStatsDatabaseTest
Test: atest android.app.usage.cts.UsageStatsTest
Change-Id: I2e22fb01f9b97961b2160aeebaf7791d6673f8b9
2019-12-06 16:08:04 -08:00
..
2019-10-29 09:34:19 -07:00