| commit | 504d8845490b6f875a8864c79256c72be6572bbf | [log] [tgz] |
|---|---|---|
| author | Pranav Madapurmath <pmadapurmath@google.com> | Mon Jun 09 20:24:46 2025 -0700 |
| committer | Pranav Madapurmath <pmadapurmath@google.com> | Mon Jun 16 12:54:57 2025 -0700 |
| tree | cabec1421b19057fefdb0d68d49c0bbe58be33b8 | |
| parent | 0cc98470cb4cc907a46a6b40bac4c36d97ac6771 [diff] |
Update call log and contacts db with uuid Bug: 422554399 Flag: com.android.server.telecom.flags.integrated_call_logs Test: CallLogProviderTest Change-Id: I18f2f50f833ae3a4a96c1dc9235b32cd9bf550f0
Running ./logging.sh will enable all verbose logs for the queries in the provider. More details in the script itself.
There are 2 different ways to easily query the database, qc and contatcsproviderutils.sh.
qc queries the deivce directly. For usage, append the query in single quotes after the command:
e.g.
qc/qc 'select * from raw_contacts'
or to get all the tables
qc/qc '.tables'
QC support SQLite language, but it might have some limitations working with complex nested queries.
This script downlaods the database locally and logins into a local version. It is also possible to push any change back to the device.
source contactsproviderutils.sh
contacts2.db and query:sqlite3-pullThis will open a sql terminal with
rlwrap which can be easily used for queries.contacts2.db and query with a graphical interface:sqlitebrowser-pull
sqlite3-push