diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2016-03-25 10:23:42 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2016-03-29 11:13:48 -0700 |
commit | ef73aaa3c33635ab8d5901e83e0471ecd6f03e9b (patch) | |
tree | 544771626f09097b123f8ff668198d7927ff9af0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 174b140dfe30f9a926eefaf118c6ccdb6a0b493e (diff) |
[FBE] Split accounts.db into two DE/CE databases
Previously the database lived in /data/system/user/X/accounts.db.
It is now split into two databases:
- DE database(/data/system_de/X/accounts_de.db) is opened when the user is
running in the locked state. It contains the following tables:
-- Grants, Shared_Accounts, Debug_Table, Meta.
-- Accounts table only contains name/type/_id
- CE database (/data/system_ce/X/accounts_ce.db) is opened when the user is
unlocked. It contains remaining tables:
-- Authtokens, Extras, Accounts
CE database is attached to the DE database by using ATTACH DATABASE command.
AccountManager code interacts through a single interface of DeDatabaseHelper,
which includes DE, and CE when the user is unlocked.
Bug: 26279712
Change-Id: I66555b46bdc16fa4a6093470d2500af09d1fbf25
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions