diff options
author | 2024-01-19 10:11:00 -0800 | |
---|---|---|
committer | 2024-01-19 15:04:07 -0800 | |
commit | ac74a023f2807f6474a07cb63c8f4cdf83f871df (patch) | |
tree | 29734e22f853e921d33169f599ad455f3ea88b64 /libs/hwui/AutoBackendTextureRelease.cpp | |
parent | 2014926d3f0cc6633827afc88d22d16b2d1405c4 (diff) |
Report multiple in-process primary connections
This adds dumpsys and logcat reporting for multiple primary
connections to a single database file. Multiple primary connections
are not bad by themselves but misuse can lead to SQLITE_BUSY
failures. These changes are meant to simplify debugging the
SQLITE_BUSY failures.
If any database file is opened more than once (concurrently) then the
dumpsys output contains the following text:
Concurrently opened database files
<list of files>
If no database files were opened concurrently then the dumpsys output
does not contain the specified block.
This change only detects multiple primary connections in a single
process.
Test: atest
* FrameworksCoreTests:android.database
* CtsDatabaseTestCases
* SQLiteDatabasePerfTest
Bug: 309135899
Change-Id: I6550c4a0d6ff0785f67bd9d7d539c1ac52828b87
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions