platform_system_security/keystore2
Shawn Willden 6a50983169 Enable write-ahead logging for keystore db.
Write-ahead logging wasn't previously enabled for the keystore2 sqlite
databases out of concern that it might make it impossible to open the
database when the file system is full.  Work to correct that problem,
to ensure that sqlite databases can always be opened in WAL mode even
when the WAL file cannot be created, is in progress, so this CL goes
ahead and puts the database in WAL mode.  The approach is a little
wasteful, since it re-sends the pragma on every connection, but that
ensures that it gets done and shouldn't impose any significant
overhead.

In the event that setting WAL mode fails, we log an error and continue
on.

Test: CtsKeystoreTestCases
Change-Id: I7d5618760019dce68576f72575321c54c3c24415
2021-05-11 11:07:51 -06:00
..
aaid Use the new more inclusive command-line options. 2021-04-19 09:02:41 -07:00
aidl Biometric support for UNLOCKED_DEVICE_REQUIRED 2021-04-27 12:11:25 -07:00
apc_compat Use the new more inclusive command-line options. 2021-04-19 09:02:41 -07:00
selinux Keystore 2.0: Allow apps to get keystore state. 2021-03-17 03:04:45 +00:00
src Enable write-ahead logging for keystore db. 2021-05-11 11:07:51 -06:00
system_property Merge changes from topic "keystore2-metrics" 2021-04-20 16:00:46 +00:00
test_utils Keystore 2.0: Move test utils to separate library. 2021-01-26 15:34:01 -08:00
vpnprofilestore Enable write-ahead logging for keystore db. 2021-05-11 11:07:51 -06:00
Android.bp Merge "keystore2: Statically link Rust libs to save RAM" 2021-05-06 20:20:26 +00:00
android.system.keystore2-service.xml Add VINTF manifest for android.system.keystore2 2021-03-22 11:46:49 -07:00
keystore2.rc Keystore 2.0: Start keystore2 unconditionally. 2021-03-17 08:17:12 -07:00
TEST_MAPPING keystore2: Also run CtsIdentityTestCases on presubmit. 2021-03-23 12:11:48 -04:00